summaryrefslogtreecommitdiff
path: root/doc/source/cli/command-objects/host.rst
diff options
context:
space:
mode:
Diffstat (limited to 'doc/source/cli/command-objects/host.rst')
-rw-r--r--doc/source/cli/command-objects/host.rst72
1 files changed, 72 insertions, 0 deletions
diff --git a/doc/source/cli/command-objects/host.rst b/doc/source/cli/command-objects/host.rst
new file mode 100644
index 00000000..cbf34398
--- /dev/null
+++ b/doc/source/cli/command-objects/host.rst
@@ -0,0 +1,72 @@
+====
+host
+====
+
+Compute v2
+
+The physical computer running a hypervisor.
+
+host list
+---------
+
+List hosts
+
+.. program:: host list
+.. code:: bash
+
+ openstack host list
+ [--zone <availability-zone>]
+
+.. option:: --zone <availability-zone>
+
+ Only return hosts in the availability zone
+
+host set
+--------
+
+Set host properties
+
+.. program:: host set
+.. code:: bash
+
+ openstack 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>
+
+ Host to modify (name only)
+
+host show
+---------
+
+Display host details
+
+.. program:: host show
+.. code:: bash
+
+ openstack host show
+ <host>
+
+.. describe:: <host>
+
+ Name of host