Bechtoldt's Network Saltstack Formula
No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.

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