summaryrefslogtreecommitdiff
path: root/doc/source/command-objects/volume.rst
diff options
context:
space:
mode:
authorHuanxuan Ao <huanxuan.ao@easystack.cn>2016-09-28 09:27:32 +0800
committerHuanxuan Ao <huanxuan.ao@easystack.cn>2016-10-18 14:34:05 +0800
commitdaffce3a6a31ac59ee10e3cc8fe421320da1704a (patch)
tree7c58f76614d5fda6ea154b41623cdef7e8f19b34 /doc/source/command-objects/volume.rst
parent5e3ec1b42faf7dc49722b58829b6c2cf5c15da79 (diff)
downloadpython-openstackclient-daffce3a6a31ac59ee10e3cc8fe421320da1704a.tar.gz
Add "--read-only" and "--read-write" options in "volume set"
Add "--read-only" and "--read-write" options in "volume set" command to set volume access mode. Implements: bp cinder-command-support Change-Id: I76ba85c7d3ff0eb026a9cbd794368d8b2b0d17fe
Diffstat (limited to 'doc/source/command-objects/volume.rst')
-rw-r--r--doc/source/command-objects/volume.rst9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/source/command-objects/volume.rst b/doc/source/command-objects/volume.rst
index 8f123361..cc530c5b 100644
--- a/doc/source/command-objects/volume.rst
+++ b/doc/source/command-objects/volume.rst
@@ -213,6 +213,7 @@ Set volume properties
[--image-property <key=value> [...] ]
[--state <state>]
[--bootable | --non-bootable]
+ [--read-only | --read-write]
<volume>
.. option:: --name <name>
@@ -239,6 +240,14 @@ Set volume properties
Mark volume as non-bootable
+.. option:: --read-only
+
+ Set volume to read-only access mode
+
+.. option:: --read-write
+
+ Set volume to read-write access mode
+
.. option:: --image-property <key=value>
Set an image property on this volume