test_corosync.aug 1.7 KB

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