Bechtoldt's Network Saltstack Formula
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

134 lines
2.5KB

  1. {% load_yaml as rawmap %}
  2. Debian:
  3. interfaces:
  4. pkgs: []
  5. default_values:
  6. enabled: True
  7. type: eth
  8. params_supported:
  9. - proto
  10. - ipaddr
  11. - gateway
  12. - netmask
  13. - bridge
  14. - ports
  15. - delay
  16. - stp
  17. - maxwait
  18. - fd
  19. - pre_up_cmds
  20. - pre_down_cmds
  21. - post_up_cmds
  22. - post_down_cmds
  23. - noifupdown
  24. {#- bonding #}
  25. - master
  26. - mode
  27. - slaves
  28. #TODO - broadcast
  29. # IPV6
  30. - enable_ipv6
  31. - ipv6proto
  32. - ipv6ipaddr
  33. - ipv6netmask
  34. - ipv6gateway
  35. def_entries:
  36. - name: lo
  37. proto: loopback
  38. type: eth
  39. resolver: {}
  40. hosts:
  41. def_entries:
  42. - name: localhost
  43. ip: 127.0.0.1
  44. - name: localhost.localdomain
  45. ip: 127.0.0.1
  46. - name: localhost
  47. ip: ::1
  48. - name: ip6-localhost
  49. ip: ::1
  50. - name: ip6-loopback
  51. ip: ::1
  52. - name: ip6-localnet
  53. ip: fe00::0
  54. - name: ip6-mcastprefix
  55. ip: ff00::0
  56. - name: ip6-allnodes
  57. ip: ff02::1
  58. - name: ip6-allrouters
  59. ip: ff02::2
  60. - name: ip6-allhosts
  61. ip: ff02::3
  62. routes: {}
  63. RedHat:
  64. interfaces:
  65. pkgs: []
  66. vlan_pkg: False
  67. default_values:
  68. enabled: True
  69. type: eth
  70. params_supported:
  71. - proto
  72. - ipaddr
  73. - gateway
  74. - netmask
  75. - bridge
  76. - ports
  77. - delay
  78. - stp
  79. - maxwait
  80. - fd
  81. - pre_up_cmds
  82. - pre_down_cmds
  83. - post_up_cmds
  84. - post_down_cmds
  85. - noifupdown
  86. {#- bonding #}
  87. - master
  88. - mode
  89. - slaves
  90. #TODO - broadcast
  91. # IPV6
  92. - enable_ipv6
  93. - ipv6proto
  94. - ipv6ipaddr
  95. - ipv6netmask
  96. - ipv6gateway
  97. def_entries: []
  98. # - name: lo
  99. # proto: none
  100. # type: eth
  101. # netmask: 255.0.0.0
  102. # network: 127.0.0.0
  103. resolver: {}
  104. hosts:
  105. def_entries:
  106. - name: localhost
  107. ip: 127.0.0.1
  108. - name: localhost.localdomain
  109. ip: 127.0.0.1
  110. - name: localhost
  111. ip: ::1
  112. - name: ip6-localhost
  113. ip: ::1
  114. - name: ip6-loopback
  115. ip: ::1
  116. - name: ip6-localnet
  117. ip: fe00::0
  118. - name: ip6-mcastprefix
  119. ip: ff00::0
  120. - name: ip6-allnodes
  121. ip: ff02::1
  122. - name: ip6-allrouters
  123. ip: ff02::2
  124. - name: ip6-allhosts
  125. ip: ff02::3
  126. routes: {}
  127. FreeBSD:
  128. interfaces:
  129. resolver:
  130. group: wheel
  131. hosts: {}
  132. routes: {}
  133. {% endload %}