test_corosync.aug 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. module Test_corosync =
  2. let conf = "# Please read the corosync.conf.5 manual page
  3. compatibility: whitetank
  4. totem {
  5. version: 2
  6. secauth: off
  7. threads: 0
  8. clear_node_high_bit: no
  9. rrp_mode: none
  10. transport: udp
  11. token: 1000
  12. interface {
  13. ringnumber: 0
  14. bindnetaddr: 192.168.122.1
  15. mcastaddr: 226.94.1.1
  16. mcastport: 5405
  17. }
  18. }
  19. logging {
  20. fileline: off
  21. function_name: on
  22. to_stderr: yes
  23. to_logfile: yes
  24. to_syslog: yes
  25. logfile: /tmp/corosync.log
  26. debug: off
  27. timestamp: on
  28. logger_subsys {
  29. to_syslog: no
  30. subsys: CPG
  31. debug: on
  32. }
  33. logger_subsys {
  34. to_stderr: no
  35. logfile: /tmp/corosync-msg.log
  36. subsys: MSG
  37. debug: on
  38. }
  39. }
  40. amf {
  41. mode: disabled
  42. }\n"
  43. test Corosync.lns get conf =
  44. { "#comment" = "Please read the corosync.conf.5 manual page" }
  45. { "compatibility" = "whitetank" }
  46. { }
  47. { "totem"
  48. { "version" = "2" }
  49. { "secauth" = "off" }
  50. { "threads" = "0" }
  51. { "clear_node_high_bit" = "no" }
  52. { "rrp_mode" = "none" }
  53. { "transport" = "udp" }
  54. { "token" = "1000" }
  55. { "interface"
  56. { "ringnumber" = "0" }
  57. { "bindnetaddr" = "192.168.122.1" }
  58. { "mcastaddr" = "226.94.1.1" }
  59. { "mcastport" = "5405" } } }
  60. { }
  61. { "logging"
  62. { "fileline" = "off" }
  63. { "function_name" = "on" }
  64. { "to_stderr" = "yes" }
  65. { "to_logfile" = "yes" }
  66. { "to_syslog" = "yes" }
  67. { "logfile" = "/tmp/corosync.log" }
  68. { "debug" = "off" }
  69. { "timestamp" = "on" }
  70. { "logger_subsys"
  71. { "to_syslog" = "no" }
  72. { "subsys" = "CPG" }
  73. { "debug" = "on" } }
  74. { "logger_subsys"
  75. { "to_stderr" = "no" }
  76. { "logfile" = "/tmp/corosync-msg.log" }
  77. { "subsys" = "MSG" }
  78. { "debug" = "on" } } }
  79. { }
  80. { "amf"
  81. { "mode" = "disabled" } }