diff options
| author | Xi Yang <yang.xi@99cloud.net> | 2016-01-18 15:47:23 +0800 |
|---|---|---|
| committer | Huanxuan Ao <huanxuan.ao@easystack.cn> | 2016-08-03 12:19:16 +0800 |
| commit | 20ae54045cef136a8d0665aab0d45698e12ed21c (patch) | |
| tree | d50a920f55d5dd93c3b78db41345f1908e36c556 /doc/source/command-objects | |
| parent | eaee74bba253bf04471055bbe51db6aad2975a7a (diff) | |
| download | python-openstackclient-20ae54045cef136a8d0665aab0d45698e12ed21c.tar.gz | |
Add support of setting volume's state
OSC does not support to set volume's state, this
patch is going to add this functionality.
Closes-Bug:#1535213
Change-Id: I5bc1c7e81b8ba61c37f4bfd209fc86c5857fb050
Co-Authored-By: Huanxuan Ao <huanxuan.ao@easystack.cn>
Diffstat (limited to 'doc/source/command-objects')
| -rw-r--r-- | doc/source/command-objects/volume.rst | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/source/command-objects/volume.rst b/doc/source/command-objects/volume.rst index 021518be..8efa8a66 100644 --- a/doc/source/command-objects/volume.rst +++ b/doc/source/command-objects/volume.rst @@ -180,6 +180,7 @@ Set volume properties [--description <description>] [--property <key=value> [...] ] [--image-property <key=value> [...] ] + [--state <state>] <volume> .. option:: --name <name> @@ -209,6 +210,14 @@ Set volume properties *Volume version 2 only* +.. option:: --state <state> + + New volume state + ("available", "error", "creating", "deleting", "in-use", + "attaching", "detaching", "error_deleting" or "maintenance") + + *Volume version 2 only* + .. _volume_set-volume: .. describe:: <volume> |
