host¶
Compute v2
The physical computer running a hypervisor.
host list¶
List hosts
os host list
[--zone <availability-zone>]
-
--zone
<availability-zone>
¶ Only return hosts in the availability zone
host set¶
Set host properties
os 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)