Bechtoldt's Network Saltstack Formula
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

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