diff options
| author | David Rabel <rabel@b1-systems.de> | 2019-02-22 15:21:17 +0100 |
|---|---|---|
| committer | Dean Troyer <dtroyer@gmail.com> | 2019-02-28 15:48:34 +0000 |
| commit | e776a4f0260af1d2ae66439e647794395d470578 (patch) | |
| tree | 8a3cff53849fcec9ee9e517f9bd29fd92e4004d5 /doc/source/cli/command-objects | |
| parent | 55cbbbe4692002e58120b0c129eb2add4f0bc18a (diff) | |
| download | python-openstackclient-e776a4f0260af1d2ae66439e647794395d470578.tar.gz | |
Add --attached / --detached parameter to volume set
As to reflect cinder reset-state --attach-status functionality,
this patch adds --attached / --detached parameter to OSC's volume set
command.
Change-Id: Ic8ee928c9ab0e579512cfb7608f63bfcc2993c7b
Closes-Bug: #1745699
Diffstat (limited to 'doc/source/cli/command-objects')
| -rw-r--r-- | doc/source/cli/command-objects/volume.rst | 17 |
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> |
