summaryrefslogtreecommitdiff
path: root/doc/source/command-objects
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2016-03-17 03:06:12 +0000
committerGerrit Code Review <review@openstack.org>2016-03-17 03:06:12 +0000
commitbc5b0846f8105c464311395307f4f163479d1fa4 (patch)
tree58813e0d2e40295268f3fdd30db67bd5d042b9ae /doc/source/command-objects
parentf70d9b876882d7c571f4fd16615afcec4259fb4d (diff)
parentff3a1d3780486d98bd3205c8329576b396e8161f (diff)
downloadpython-openstackclient-bc5b0846f8105c464311395307f4f163479d1fa4.tar.gz
Merge "[compute] Add set host command"
Diffstat (limited to 'doc/source/command-objects')
-rw-r--r--doc/source/command-objects/host.rst35
1 files changed, 35 insertions, 0 deletions
diff --git a/doc/source/command-objects/host.rst b/doc/source/command-objects/host.rst
index 680efcc2..ede62c56 100644
--- a/doc/source/command-objects/host.rst
+++ b/doc/source/command-objects/host.rst
@@ -21,6 +21,41 @@ List all hosts
Only return hosts in the availability zone
+host set
+--------
+
+Set host command
+
+.. 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>
+
+ The host (name or ID)
+
host show
---------