ethernet_vars.yml 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  1. # Copyright 2021 Dell Inc. or its subsidiaries. All Rights Reserved.
  2. #
  3. # Licensed under the Apache License, Version 2.0 (the "License");
  4. # you may not use this file except in compliance with the License.
  5. # You may obtain a copy of the License at
  6. #
  7. # http://www.apache.org/licenses/LICENSE-2.0
  8. #
  9. # Unless required by applicable law or agreed to in writing, software
  10. # distributed under the License is distributed on an "AS IS" BASIS,
  11. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  12. # See the License for the specific language governing permissions and
  13. # limitations under the License.
  14. # ---Default configurations written for Dell PowerSwitch S5232F-ON---
  15. # ---Change the configurations as per the switch model to avoid failures---
  16. # ---Use this configuration file for all switches other than S3* and S4* switches---
  17. # Global configuration for switch
  18. os10_config:
  19. - "interface vlan1"
  20. - "exit"
  21. # By default, all ports are set up in 10g-4x breakout mode
  22. # Possible values of breakout/fanout mode: 10g-4x, 25g-4x, 40g-1x, 50g-2x, 100g-1x
  23. breakout_value: 10g-4x
  24. # Interface configuration for switch
  25. # By default, all ports are brought up in admin UP state
  26. os10_interface:
  27. ethernet 1/1/1:
  28. admin: up
  29. fanout: "{{ breakout_value }}"
  30. ethernet 1/1/2:
  31. admin: up
  32. fanout: "{{ breakout_value }}"
  33. ethernet 1/1/3:
  34. admin: up
  35. fanout: "{{ breakout_value }}"
  36. ethernet 1/1/4:
  37. admin: up
  38. fanout: "{{ breakout_value }}"
  39. ethernet 1/1/5:
  40. admin: up
  41. fanout: "{{ breakout_value }}"
  42. ethernet 1/1/6:
  43. admin: up
  44. fanout: "{{ breakout_value }}"
  45. ethernet 1/1/7:
  46. admin: up
  47. fanout: "{{ breakout_value }}"
  48. ethernet 1/1/8:
  49. admin: up
  50. fanout: "{{ breakout_value }}"
  51. ethernet 1/1/9:
  52. admin: up
  53. fanout: "{{ breakout_value }}"
  54. ethernet 1/1/10:
  55. admin: up
  56. fanout: "{{ breakout_value }}"
  57. ethernet 1/1/11:
  58. admin: up
  59. fanout: "{{ breakout_value }}"
  60. ethernet 1/1/12:
  61. admin: up
  62. fanout: "{{ breakout_value }}"
  63. ethernet 1/1/13:
  64. admin: up
  65. fanout: "{{ breakout_value }}"
  66. ethernet 1/1/14:
  67. admin: up
  68. fanout: "{{ breakout_value }}"
  69. ethernet 1/1/15:
  70. admin: up
  71. fanout: "{{ breakout_value }}"
  72. ethernet 1/1/16:
  73. admin: up
  74. fanout: "{{ breakout_value }}"
  75. ethernet 1/1/17:
  76. admin: up
  77. fanout: "{{ breakout_value }}"
  78. ethernet 1/1/18:
  79. admin: up
  80. fanout: "{{ breakout_value }}"
  81. ethernet 1/1/19:
  82. admin: up
  83. fanout: "{{ breakout_value }}"
  84. ethernet 1/1/20:
  85. admin: up
  86. fanout: "{{ breakout_value }}"
  87. ethernet 1/1/21:
  88. admin: up
  89. fanout: "{{ breakout_value }}"
  90. ethernet 1/1/22:
  91. admin: up
  92. fanout: "{{ breakout_value }}"
  93. ethernet 1/1/23:
  94. admin: up
  95. fanout: "{{ breakout_value }}"
  96. ethernet 1/1/24:
  97. admin: up
  98. fanout: "{{ breakout_value }}"
  99. ethernet 1/1/25:
  100. admin: up
  101. fanout: "{{ breakout_value }}"
  102. ethernet 1/1/26:
  103. admin: up
  104. fanout: "{{ breakout_value }}"
  105. ethernet 1/1/27:
  106. admin: up
  107. fanout: "{{ breakout_value }}"
  108. ethernet 1/1/28:
  109. admin: up
  110. fanout: "{{ breakout_value }}"
  111. ethernet 1/1/29:
  112. admin: up
  113. fanout: "{{ breakout_value }}"
  114. ethernet 1/1/30:
  115. admin: up
  116. fanout: "{{ breakout_value }}"
  117. ethernet 1/1/31:
  118. admin: up
  119. fanout: "{{ breakout_value }}"
  120. ethernet 1/1/32:
  121. desc: "Port 32"
  122. admin: up
  123. ethernet 1/1/33:
  124. desc: "Port 33"
  125. admin: up
  126. ethernet 1/1/34:
  127. desc: "Port 34"
  128. admin: up
  129. vlan 1:
  130. admin: up
  131. # save_changes_to_startup is a boolean flag. By default, this option is set to false.
  132. # When set to true, it will save the switch's running configuration to the startup configuration file
  133. # after the role applies its configuration. This will allow the configuration to persist after a
  134. # restart or power failure.
  135. save_changes_to_startup: false