To delete a switch:
- 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.
- Delete a switch.
- If the switch is associated with a tenant, run the following command:
bmo delete switch <switch-name> -n <tenantname>
- If the switch is not associated with a tenant, run the following command:
bmo delete switch <switch-name>
- If the switch is associated with a tenant, run the following command: