From daffce3a6a31ac59ee10e3cc8fe421320da1704a Mon Sep 17 00:00:00 2001 From: Huanxuan Ao Date: Wed, 28 Sep 2016 09:27:32 +0800 Subject: 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 --- doc/source/command-objects/volume.rst | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'doc/source/command-objects') 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 [...] ] [--state ] [--bootable | --non-bootable] + [--read-only | --read-write] .. option:: --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 Set an image property on this volume -- cgit v1.2.1