Compute v2
The physical computer running a hypervisor.
List hosts
openstack host list
[--format-config-file FORMAT_CONFIG]
[--sort-column SORT_COLUMN]
[--zone <zone>]
--format-config-file
<FORMAT_CONFIG>
¶Config file for the dict-to-csv formatter
--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
--zone
<zone>
¶Only return hosts in the availability zone
This command is provided by the python-openstackclient plugin.
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)
This command is provided by the python-openstackclient plugin.
Display host details
openstack host show
[--format-config-file FORMAT_CONFIG]
[--sort-column SORT_COLUMN]
<host>
--format-config-file
<FORMAT_CONFIG>
¶Config file for the dict-to-csv formatter
--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
host
¶Name of host
This command is provided by the python-openstackclient plugin.
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.