summaryrefslogtreecommitdiff
path: root/doc/source/cli
diff options
context:
space:
mode:
authorZuul <zuul@review.openstack.org>2019-03-06 00:58:17 +0000
committerGerrit Code Review <review@openstack.org>2019-03-06 00:58:17 +0000
commit303cb4735d99fdc93e88a599b76016e75264d09a (patch)
treeef6b21ecd85751392d74f017a1cfd6fa004c93b1 /doc/source/cli
parent3599ebe9333e618028c5ae2946e42a10fdb3621f (diff)
parente776a4f0260af1d2ae66439e647794395d470578 (diff)
downloadpython-openstackclient-303cb4735d99fdc93e88a599b76016e75264d09a.tar.gz
Merge "Add --attached / --detached parameter to volume set"
Diffstat (limited to 'doc/source/cli')
-rw-r--r--doc/source/cli/command-objects/volume.rst17
1 files changed, 17 insertions, 0 deletions
diff --git a/doc/source/cli/command-objects/volume.rst b/doc/source/cli/command-objects/volume.rst
index 5c86d10d..fc6188c0 100644
--- a/doc/source/cli/command-objects/volume.rst
+++ b/doc/source/cli/command-objects/volume.rst
@@ -262,6 +262,7 @@ Set volume properties
[--property <key=value> [...] ]
[--image-property <key=value> [...] ]
[--state <state>]
+ [--attached | --detached ]
[--type <volume-type>]
[--retype-policy <retype-policy>]
[--bootable | --non-bootable]
@@ -341,6 +342,22 @@ Set volume properties
*Volume version 2 only*
+.. option:: --attached
+
+ Set volume attachment status to "attached" (admin only)
+ (This option simply changes the state of the volume in the database with
+ no regard to actual status, exercise caution when using)
+
+ *Volume version 2 only*
+
+.. option:: --deattach
+
+ Set volume attachment status to "detached" (admin only)
+ (This option simply changes the state of the volume in the database with
+ no regard to actual status, exercise caution when using)
+
+ *Volume version 2 only*
+
.. _volume_set-volume:
.. describe:: <volume>