Retrieves information about the switch objects in Bare Metal Orchestrator.
Retrieves information about the given switch object.
bmo get switch -f <switch-id>.yaml
Retrieves information about the switch object using the name from the .yaml file.
Argument Definitions
- switch-name
- The name of the switch given in the .yaml file. For example: switch-dell.
- switch-id.yaml
- The name of the switch .yaml file. For example: dell-switch.yaml.
Example Output
The following is an example output for bmo get switch switch-dell
NAME SWITCH MODE PROVISIONING COMMAND EXECUTING SITE LOCATION AGE
switch-dell onie Ready gc 8s
Attribute Definitions
- Name
- The name of the switch object.
- Switch Mode
- The mode in which the switch object is created. It can be ONIE or NOS mode for Dell switches and NSO mode for Cisco switches.
- Provisioning Status
- The status of the switch object. The statuses, Ready, Busy, and Failed are supported. For more information about the status, see Server provisioning status.
- Command Executing
- The commands that run while the switch object is being provisioned in Bare Metal Orchestrator. For more information, see Switch command executing status.
- Site Location
- The location of the switch object. It can be the global controller or a remote site.
- Age
- The length of time since the switch object was created.