summaryrefslogtreecommitdiff
path: root/doc/source/command-objects/host.rst
diff options
context:
space:
mode:
Diffstat (limited to 'doc/source/command-objects/host.rst')
-rw-r--r--doc/source/command-objects/host.rst37
1 files changed, 37 insertions, 0 deletions
diff --git a/doc/source/command-objects/host.rst b/doc/source/command-objects/host.rst
new file mode 100644
index 00000000..680efcc2
--- /dev/null
+++ b/doc/source/command-objects/host.rst
@@ -0,0 +1,37 @@
+====
+host
+====
+
+Compute v2
+
+The physical computer running a hypervisor.
+
+host list
+---------
+
+List all hosts
+
+.. program:: host list
+.. code:: bash
+
+ os host list
+ [--zone <availability-zone>]
+
+.. option:: --zone <availability-zone>
+
+ Only return hosts in the availability zone
+
+host show
+---------
+
+Display host details
+
+.. program:: host show
+.. code:: bash
+
+ os host show
+ <host>
+
+.. describe:: <host>
+
+ Name of host