2016-02-25 15:28:53 +08:00
|
|
|
====
|
|
|
|
host
|
|
|
|
====
|
|
|
|
|
|
|
|
Compute v2
|
|
|
|
|
|
|
|
The physical computer running a hypervisor.
|
|
|
|
|
|
|
|
host list
|
|
|
|
---------
|
|
|
|
|
2016-06-27 15:27:34 +08:00
|
|
|
List hosts
|
2016-02-25 15:28:53 +08:00
|
|
|
|
|
|
|
.. program:: host list
|
|
|
|
.. code:: bash
|
|
|
|
|
|
|
|
os host list
|
|
|
|
[--zone <availability-zone>]
|
|
|
|
|
|
|
|
.. option:: --zone <availability-zone>
|
|
|
|
|
|
|
|
Only return hosts in the availability zone
|
|
|
|
|
2016-02-19 22:52:38 +08:00
|
|
|
host set
|
|
|
|
--------
|
|
|
|
|
2016-06-27 15:27:34 +08:00
|
|
|
Set host properties
|
2016-02-19 22:52:38 +08:00
|
|
|
|
|
|
|
.. program:: host set
|
|
|
|
.. code:: bash
|
|
|
|
|
|
|
|
os host set
|
|
|
|
[--enable | --disable]
|
|
|
|
[--enable-maintenance | --disable-maintenance]
|
|
|
|
<host>
|
|
|
|
|
|
|
|
.. _host-set:
|
|
|
|
.. option:: --enable
|
|
|
|
|
|
|
|
Enable the host
|
|
|
|
|
|
|
|
.. option:: --disable
|
|
|
|
|
|
|
|
Disable the host
|
|
|
|
|
|
|
|
.. _maintenance-set:
|
|
|
|
.. option:: --enable-maintenance
|
|
|
|
|
|
|
|
Enable maintenance mode for the host
|
|
|
|
|
|
|
|
.. option:: --disable-maintenance
|
|
|
|
|
|
|
|
Disable maintenance mode for the host
|
|
|
|
|
|
|
|
.. describe:: <host>
|
|
|
|
|
2016-06-20 19:40:26 +08:00
|
|
|
Host to modify (name only)
|
2016-02-19 22:52:38 +08:00
|
|
|
|
2016-02-25 15:28:53 +08:00
|
|
|
host show
|
|
|
|
---------
|
|
|
|
|
|
|
|
Display host details
|
|
|
|
|
|
|
|
.. program:: host show
|
|
|
|
.. code:: bash
|
|
|
|
|
|
|
|
os host show
|
|
|
|
<host>
|
|
|
|
|
|
|
|
.. describe:: <host>
|
|
|
|
|
|
|
|
Name of host
|