To view detailed inventory information about the 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.
- View switch inventory.
- If the switch is associated with a tenant, run the following command:
bmo describe switch <switch-name> -n <tenantname>
- If the switch is not associated with a tenant, run the following command:
bmo describe switch <switch-name>
The metadata, spec, and status fields are displayed. For more information about the fields, see YAML objects and common fields and Switch field definitions. - If the switch is associated with a tenant, run the following command: