python-openstackclient/doc/source/command-objects/host.rst
Kevin_Zheng 847da51dea change os in command example to openstack(2)
In the current doc, the command examples are like
"os server create" but the acutal command should
be started with "openstack" instead of "os", it
is misleading to first time users.

Change-Id: I80c96f0938cec382f2f714a500138bd5a2c81aa0
2016-12-20 09:18:55 +08:00

990 B

host

Compute v2

The physical computer running a hypervisor.

host list

List hosts

host list

openstack host list
    [--zone <availability-zone>]

--zone <availability-zone>

Only return hosts in the availability zone

host set

Set host properties

host set

openstack host set
    [--enable | --disable]
    [--enable-maintenance | --disable-maintenance]
    <host>




Enable the host

--disable

Disable the host

Enable maintenance mode for the host

--disable-maintenance

Disable maintenance mode for the host

<host>

Host to modify (name only)

host show

Display host details

host show

openstack host show
    <host>

<host>

Name of host