Retrieves information about the tenant objects in Bare Metal Orchestrator.
Retrieves information about the given tenant object.
bmo get tenant -f <tenant-id>.yaml
Retrieves information about the tenant object using the name from the .yaml file.
Argument Definitions
- tenantname
- The name of the tenant given in the .yaml file. For example: tenant1.
- tenant-id.yaml
- The name of the tenant .yaml file. For example: tenant.yaml.
Example Output
The following is an example output for bmo get tenant
NAME STATE SERVER SWITCH OPERATION AGE
tenant1 Ready 0 0 45s
tenant2 Ready 0 0 20s
Attribute Definitions
- Name
- The name of the tenant.
- State
- The status of the tenant. The following states are supported:
Ready—After a successful operation, the tenant goes into the Ready state.
Busy—When operations are in progress, the tenant goes into the Busy state.
Failed—When operations fail, even after multiple retries, the tenant goes into the Failed state.
- Server
- The number of servers associated with the tenant.
- Switch
- The number of switches associated with the tenant.
- Operation
- The operations that run while a tenant is being created in Bare Metal Orchestrator. For more information, see Tenants operation status.
- Age
- The length of time since the object was created.