# Copyright 2021 Dell Inc. or its subsidiaries. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ---Default configurations written for Dell PowerSwitch S5232F-ON--- # ---Change the configurations as per the switch model to avoid failures--- # ---Use this configuration file for all switches other than S3* and S4* switches--- # Global configuration for switch os10_config: - "interface vlan1" - "exit" # By default, all ports are set up in 10g-4x breakout mode # Possible values of breakout/fanout mode: 10g-4x, 25g-4x, 40g-1x, 50g-2x, 100g-1x breakout_value: 10g-4x # Interface configuration for switch # By default, all ports are brought up in admin UP state os10_interface: ethernet 1/1/1: admin: up fanout: "{{ breakout_value }}" ethernet 1/1/2: admin: up fanout: "{{ breakout_value }}" ethernet 1/1/3: admin: up fanout: "{{ breakout_value }}" ethernet 1/1/4: admin: up fanout: "{{ breakout_value }}" ethernet 1/1/5: admin: up fanout: "{{ breakout_value }}" ethernet 1/1/6: admin: up fanout: "{{ breakout_value }}" ethernet 1/1/7: admin: up fanout: "{{ breakout_value }}" ethernet 1/1/8: admin: up fanout: "{{ breakout_value }}" ethernet 1/1/9: admin: up fanout: "{{ breakout_value }}" ethernet 1/1/10: admin: up fanout: "{{ breakout_value }}" ethernet 1/1/11: admin: up fanout: "{{ breakout_value }}" ethernet 1/1/12: admin: up fanout: "{{ breakout_value }}" ethernet 1/1/13: admin: up fanout: "{{ breakout_value }}" ethernet 1/1/14: admin: up fanout: "{{ breakout_value }}" ethernet 1/1/15: admin: up fanout: "{{ breakout_value }}" ethernet 1/1/16: admin: up fanout: "{{ breakout_value }}" ethernet 1/1/17: admin: up fanout: "{{ breakout_value }}" ethernet 1/1/18: admin: up fanout: "{{ breakout_value }}" ethernet 1/1/19: admin: up fanout: "{{ breakout_value }}" ethernet 1/1/20: admin: up fanout: "{{ breakout_value }}" ethernet 1/1/21: admin: up fanout: "{{ breakout_value }}" ethernet 1/1/22: admin: up fanout: "{{ breakout_value }}" ethernet 1/1/23: admin: up fanout: "{{ breakout_value }}" ethernet 1/1/24: admin: up fanout: "{{ breakout_value }}" ethernet 1/1/25: admin: up fanout: "{{ breakout_value }}" ethernet 1/1/26: admin: up fanout: "{{ breakout_value }}" ethernet 1/1/27: admin: up fanout: "{{ breakout_value }}" ethernet 1/1/28: admin: up fanout: "{{ breakout_value }}" ethernet 1/1/29: admin: up fanout: "{{ breakout_value }}" ethernet 1/1/30: admin: up fanout: "{{ breakout_value }}" ethernet 1/1/31: admin: up fanout: "{{ breakout_value }}" ethernet 1/1/32: desc: "Port 32" admin: up ethernet 1/1/33: desc: "Port 33" admin: up ethernet 1/1/34: desc: "Port 34" admin: up vlan 1: admin: up # save_changes_to_startup is a boolean flag. By default, this option is set to false. # When set to true, it will save the switch's running configuration to the startup configuration file # after the role applies its configuration. This will allow the configuration to persist after a # restart or power failure. save_changes_to_startup: false