Bechtoldt's Network Saltstack Formula
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

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