summaryrefslogtreecommitdiff
path: root/doc/source
diff options
context:
space:
mode:
authorjiahui.qiang <jiahui.qiang@easystack.cn>2016-11-21 05:47:48 +0800
committerjiahui.qiang <jiahui.qiang@easystack.cn>2016-11-25 05:21:00 +0800
commit71e6d444767a29664821ab190e0736088d8ccfba (patch)
tree4f977fff4e0dd3e04c249fbbb71606524cea5126 /doc/source
parente05c8d7bb04f477797e46e5728e93a35c104809a (diff)
downloadpython-openstackclient-71e6d444767a29664821ab190e0736088d8ccfba.tar.gz
Add "volume host set" command
Add "volume host set" command in volume v2 to support freeze(disable) and thaw(enable) the specified cinder-volume host Change-Id: Iee1604d72f9eccd9e327b0ef8d345909a733a647 Implements: bp cinder-command-support
Diffstat (limited to 'doc/source')
-rw-r--r--doc/source/command-objects/volume-host.rst30
-rw-r--r--doc/source/commands.rst1
2 files changed, 31 insertions, 0 deletions
diff --git a/doc/source/command-objects/volume-host.rst b/doc/source/command-objects/volume-host.rst
new file mode 100644
index 00000000..956fce52
--- /dev/null
+++ b/doc/source/command-objects/volume-host.rst
@@ -0,0 +1,30 @@
+===========
+volume host
+===========
+
+Volume v2
+
+volume host set
+---------------
+
+Set volume host properties
+
+.. program:: volume host set
+.. code:: bash
+
+ os volume host set
+ [--enable | --disable]
+ <host-name>
+
+.. option:: --enable
+
+ Thaw and enable the specified volume host
+
+.. option:: --disable
+
+ Freeze and disable the specified volume host
+
+.. _volume-host-set:
+.. describe:: <host-name>
+
+ Name of volume host
diff --git a/doc/source/commands.rst b/doc/source/commands.rst
index f7ef3eaa..795dfd53 100644
--- a/doc/source/commands.rst
+++ b/doc/source/commands.rst
@@ -144,6 +144,7 @@ referring to both Compute and Volume quotas.
* ``user role``: (**Identity**) roles assigned to a user
* ``volume``: (**Volume**) block volumes
* ``volume backup``: (**Volume**) backup for volumes
+* ``volume host``: (**Volume**) the physical computer for volumes
* ``volume qos``: (**Volume**) quality-of-service (QoS) specification for volumes
* ``volume snapshot``: (**Volume**) a point-in-time copy of a volume
* ``volume type``: (**Volume**) deployment-specific types of volumes available