ib_vars_edr.yml 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200
  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 :
  15. # ----Switch-IB(TM) 2 based EDR InfiniBand 1U Switch, 36 QSFP28 ports----
  16. # Change the configurations as per the switch model to avoid failures
  17. # Subnet Manager: centralized resource used by infiniband
  18. # to handle the management of the fabric.
  19. # Cache and Log directories of subnet manager
  20. # container are mounted to below mentioned path on host.
  21. # cache_directory: opensm stores certain data to the disk such that
  22. # subsequent runs are consistent. The default directory used is /var/cache/opensm.
  23. # The following files are included in it: guid2lid, guid2mkey, neighbors
  24. # log_directory: controls the directory in which the temporary files
  25. # generated by opensm are created. These files are: opensm-subnet.lst,
  26. # opensm.fdbs, and opensm.log. By default, this directory is /var/log.
  27. subnet_manager:
  28. cache_directory: /var/cache/opensm
  29. log_directory: /var/log
  30. # mellanox_switch_config: list of configuration lines to apply to the switch.
  31. # Example:
  32. # mellanox_switch_config:
  33. # - Command 1
  34. # - Command 2
  35. # By default, the list is empty.
  36. mellanox_switch_config:
  37. # mellanox_switch_interface_config: contains interface configuration.
  38. # It is a dict mapping switch interface names to configuration dicts.
  39. # Each dict may contain the following items:
  40. # description - a description to apply to the interface.
  41. # config - a list of per-interface configuration.
  42. mellanox_switch_interface_config:
  43. ib 1/1:
  44. description: port 1
  45. config:
  46. - "no shutdown"
  47. ib 1/2:
  48. description: port 2
  49. config:
  50. - "no shutdown"
  51. ib 1/3:
  52. description: port 3
  53. config:
  54. - "no shutdown"
  55. ib 1/4:
  56. description: port 4
  57. config:
  58. - "no shutdown"
  59. ib 1/5:
  60. description: port 5
  61. config:
  62. - "no shutdown"
  63. ib 1/6:
  64. description: port 6
  65. config:
  66. - "no shutdown"
  67. ib 1/7:
  68. description: port 7
  69. config:
  70. - "no shutdown"
  71. ib 1/8:
  72. description: port 8
  73. config:
  74. - "no shutdown"
  75. ib 1/9:
  76. description: port 9
  77. config:
  78. - "no shutdown"
  79. ib 1/10:
  80. description: port 10
  81. config:
  82. - "no shutdown"
  83. ib 1/11:
  84. description: port 11
  85. config:
  86. - "no shutdown"
  87. ib 1/12:
  88. description: port 12
  89. config:
  90. - "no shutdown"
  91. ib 1/13:
  92. description: port 13
  93. config:
  94. - "no shutdown"
  95. ib 1/14:
  96. description: port 14
  97. config:
  98. - "no shutdown"
  99. ib 1/15:
  100. description: port 15
  101. config:
  102. - "no shutdown"
  103. ib 1/16:
  104. description: port 16
  105. config:
  106. - "no shutdown"
  107. ib 1/17:
  108. description: port 17
  109. config:
  110. - "no shutdown"
  111. ib 1/18:
  112. description: port 18
  113. config:
  114. - "no shutdown"
  115. ib 1/19:
  116. description: port 19
  117. config:
  118. - "no shutdown"
  119. ib 1/20:
  120. description: port 20
  121. config:
  122. - "no shutdown"
  123. ib 1/21:
  124. description: port 21
  125. config:
  126. - "no shutdown"
  127. ib 1/22:
  128. description: port 22
  129. config:
  130. - "no shutdown"
  131. ib 1/23:
  132. description: port 23
  133. config:
  134. - "no shutdown"
  135. ib 1/24:
  136. description: port 24
  137. config:
  138. - "no shutdown"
  139. ib 1/25:
  140. description: port 25
  141. config:
  142. - "no shutdown"
  143. ib 1/26:
  144. description: port 26
  145. config:
  146. - "no shutdown"
  147. ib 1/27:
  148. description: port 27
  149. config:
  150. - "no shutdown"
  151. ib 1/28:
  152. description: port 28
  153. config:
  154. - "no shutdown"
  155. ib 1/29:
  156. description: port 29
  157. config:
  158. - "no shutdown"
  159. ib 1/30:
  160. description: port 30
  161. config:
  162. - "no shutdown"
  163. ib 1/31:
  164. description: port 31
  165. config:
  166. - "no shutdown"
  167. ib 1/32:
  168. description: port 32
  169. config:
  170. - "no shutdown"
  171. ib 1/33:
  172. description: port 33
  173. config:
  174. - "no shutdown"
  175. ib 1/34:
  176. description: port 34
  177. config:
  178. - "no shutdown"
  179. ib 1/35:
  180. description: port 35
  181. config:
  182. - "no shutdown"
  183. ib 1/36:
  184. description: port 36
  185. config:
  186. - "no shutdown"
  187. # save_changes_to_startup: is a boolean flag. By default, this option is set to false.
  188. # When set to true, it will save the switch's running configuration to the startup configuration file
  189. # after the role applies its configuration. This will allow the configuration to persist after a
  190. # restart or power failure.
  191. save_changes_to_startup: false