Compute v2
The physical computer running a hypervisor.
List hosts
openstack host list
[--sort-column SORT_COLUMN]
[--sort-ascending | --sort-descending]
[--zone <zone>]
--sort-column
SORT_COLUMN
¶specify the column(s) to sort the data (columns specified first have a priority, non-existing columns are ignored), can be repeated
--sort-ascending
¶sort the column(s) in ascending order
--sort-descending
¶sort the column(s) in descending order
--zone
<zone>
¶Only return hosts in the availability zone
Set host properties
openstack host set
[--enable | --disable]
[--enable-maintenance | --disable-maintenance]
<host>
--enable
¶Enable the host
--disable
¶Disable the host
--enable-maintenance
¶Enable maintenance mode for the host
--disable-maintenance
¶Disable maintenance mode for the host
host
¶Host to modify (name only)
Display host details
openstack host show
[--sort-column SORT_COLUMN]
[--sort-ascending | --sort-descending]
<host>
--sort-column
SORT_COLUMN
¶specify the column(s) to sort the data (columns specified first have a priority, non-existing columns are ignored), can be repeated
--sort-ascending
¶sort the column(s) in ascending order
--sort-descending
¶sort the column(s) in descending order
host
¶Name of host
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.