![jichenjc](/assets/img/avatar_default.png)
set host command is missing, add it as SetHost class. Change-Id: I7acb94150718b7150598632cbebc3d85018a0d59
965 B
965 B
host
Compute v2
The physical computer running a hypervisor.
host list
List all hosts
host list
os host list
[--zone <availability-zone>]
--zone <availability-zone>
Only return hosts in the availability zone
host set
Set host command
host set
os 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>
The host (name or ID)
host show
Display host details
host show
os host show
<host>
<host>
Name of host