summaryrefslogtreecommitdiff
path: root/doc/source/command-objects
diff options
context:
space:
mode:
authorHuanxuan Ao <huanxuan.ao@easystack.cn>2016-08-16 18:46:55 +0800
committerHuanxuan Ao <huanxuan.ao@easystack.cn>2016-08-17 10:42:28 +0800
commit81431d24a9f94f56c4c39cb12bf846871f6230d8 (patch)
tree214803522991d527a7f0ccf5c37c2e640fb2a4d2 /doc/source/command-objects
parentfc7a69e410f217a436f7dae97b35314019a48b1b (diff)
downloadpython-openstackclient-81431d24a9f94f56c4c39cb12bf846871f6230d8.tar.gz
Add "volume service set" command
Add "volume service set" command in volume v1 and v2 (v1 is the same as v2) to disable or enable volume service. Change-Id: Ibb2db7e93b24cb2e0d2a7c28b6fd8bcc851b8d2f Closes-Bug: #1613597
Diffstat (limited to 'doc/source/command-objects')
-rw-r--r--doc/source/command-objects/volume-service.rst34
1 files changed, 34 insertions, 0 deletions
diff --git a/doc/source/command-objects/volume-service.rst b/doc/source/command-objects/volume-service.rst
index aa9fa6d2..d7495968 100644
--- a/doc/source/command-objects/volume-service.rst
+++ b/doc/source/command-objects/volume-service.rst
@@ -29,3 +29,37 @@ List volume service
.. option:: --long
List additional fields in output
+
+volume service set
+------------------
+
+Set volume service properties
+
+.. program:: volume service set
+.. code:: bash
+
+ os volume service set
+ [--enable | --disable]
+ [--disable-reason <reason>]
+ <host> <service>
+
+.. option:: --enable
+
+ Enable volume service
+
+.. option:: --disable
+
+ Disable volume service
+
+.. option:: --disable-reason <reason>
+
+ Reason for disabling the service (should be used with --disable option)
+
+.. _volume-service-set:
+.. describe:: <host>
+
+ Name of host
+
+.. describe:: <service>
+
+ Name of service (Binary name)