Use the following steps to create a switch and update configurations.
- Gather the IP address and credentials that have administrative access from the management interface of the switch.
- Gather information about the mode of the switch by connecting to the switch.
- Meet the hardware and software requirements. For more information, see Validated hardware components.
- Decide on your configuration requirements. For more information, see Managing switch configurations.
To create a switch or update configurations:
- Establish a CLI session on the Bare Metal Orchestrator VM and log in. For high availability configurations, establish a CLI session using the virtual IP (VIP) of the Load Balancers for the Bare Metal Orchestrator cluster.
- Change the directory to ~/samples/switch-profiles.
- Create a switch YAML file by copying the sample file. If the switch is in ONIE mode, use mw_dell_switch_onie_mode.yaml. If the switch is in NOS mode, use mw_dell_switch_nos_mode.yaml.
cp <sample-switch-file>.yaml <new-switch-id>.yaml
- Edit the <new-switch-id>.yaml file in Vim or a similar editor.
For example:
vim dell_switch_new.yaml
- Customize the <new-switch-id>.yaml file:
- Update the metadata. For more information, see Metadata.
- Update the fields mentioned in the Switch connectivity field definitions.
- Update the attribute values based on the configurations you want to perform. For more information about the switch configurations, see Managing switch configurations. If you are only onboarding a switch and do not want to make any configuration changes, omit this step.
Note: For a switch created in the ONIE mode, the ONIE password is optional. Set the attribute to None.
- Save the file and quit the editor.
- Create the switch instance.
bmo create switch -f <new-switch-id>.yaml
For example:
bmo create switch -f dell_switch_new.yaml