network.conf 1009 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. #
  2. # FFHO Check Commands for network related stuff (Salt Managed)
  3. #
  4. object CheckCommand "ifupdown2" {
  5. import "plugin-check-command"
  6. command = [ "/usr/bin/sudo", FFHOPluginDir + "/check_ifupdown2" ]
  7. arguments = {
  8. "--ok_string" = "$ok_string$"
  9. }
  10. }
  11. object CheckCommand "bird_ospf" {
  12. import "plugin-check-command"
  13. command = [ "/usr/bin/sudo", FFHOPluginDir + "/check_bird_ospf" ]
  14. arguments = {
  15. "-6" = {
  16. set_if = "$ipv6$"
  17. }
  18. }
  19. vars.ipv6 = false
  20. }
  21. object CheckCommand "bird_bgp" {
  22. import "plugin-check-command"
  23. command = [ "/usr/bin/sudo", FFHOPluginDir + "/check_bird_bgp" ]
  24. arguments = {
  25. "--proto" = "$proto$"
  26. "--asn" = "$asn$"
  27. "--ibgp" = {
  28. set_if = "$ibgp$"
  29. }
  30. "--ibgp_w" = "$ibgp_w$"
  31. "--ibgp_c" = "$ibgp_c$"
  32. "--ebgp" = {
  33. set_if = "$ebgp$"
  34. }
  35. "--ebgp_w" = "$ebgp_w$"
  36. "--ebgp_c" = "$ebgp_c$"
  37. "--disabled_ok" = {
  38. set_if = "$disabled_ok$"
  39. }
  40. }
  41. vars.proto = "4"
  42. vars.ibgp_w = "1:1"
  43. vars.ibgp_c = "2:"
  44. vars.ebgp_w = "1:1"
  45. vars.ebgp_c = "2:"
  46. }