Bechtoldt's Network Saltstack Formula
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

140 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. - rx
  25. - tx
  26. {#- bonding #}
  27. - master
  28. - mode
  29. - slaves
  30. #TODO - broadcast
  31. # IPV6
  32. - enable_ipv6
  33. - ipv6proto
  34. - ipv6ipaddr
  35. - ipv6netmask
  36. - ipv6gateway
  37. - mtu
  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. - pre_up_cmds
  85. - pre_down_cmds
  86. - post_up_cmds
  87. - post_down_cmds
  88. - noifupdown
  89. - rx
  90. - tx
  91. {#- bonding #}
  92. - master
  93. - mode
  94. - slaves
  95. #TODO - broadcast
  96. # IPV6
  97. - enable_ipv6
  98. - ipv6proto
  99. - ipv6ipaddr
  100. - ipv6netmask
  101. - ipv6gateway
  102. - mtu
  103. def_entries: []
  104. # - name: lo
  105. # proto: none
  106. # type: eth
  107. # netmask: 255.0.0.0
  108. # network: 127.0.0.0
  109. resolver: {}
  110. hosts:
  111. def_entries:
  112. - name: localhost
  113. ip: 127.0.0.1
  114. - name: localhost.localdomain
  115. ip: 127.0.0.1
  116. - name: localhost
  117. ip: ::1
  118. - name: ip6-localhost
  119. ip: ::1
  120. - name: ip6-loopback
  121. ip: ::1
  122. - name: ip6-localnet
  123. ip: fe00::0
  124. - name: ip6-mcastprefix
  125. ip: ff00::0
  126. - name: ip6-allnodes
  127. ip: ff02::1
  128. - name: ip6-allrouters
  129. ip: ff02::2
  130. - name: ip6-allhosts
  131. ip: ff02::3
  132. routes: {}
  133. FreeBSD:
  134. interfaces:
  135. resolver:
  136. group: wheel
  137. hosts: {}
  138. routes: {}
  139. {% endload %}