python-openstackclient/doc/source/cli/command-objects/host.rst

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