diff options
| author | heha <zhanghanqun@unitedstack.com> | 2015-07-24 10:03:06 +0800 |
|---|---|---|
| committer | Steve Martinelli <stevemar@ca.ibm.com> | 2015-08-06 19:35:01 -0700 |
| commit | 429ceef0c6c9deff521905c149e7600ffa5334ba (patch) | |
| tree | 3e1cc1b7eaecf6ee01fe3657a248ed5577cbb47e /doc/source/command-objects | |
| parent | e54a15aabbfa8df04de53dcc53466e683e5f633b (diff) | |
| download | python-openstackclient-429ceef0c6c9deff521905c149e7600ffa5334ba.tar.gz | |
Add set feature to volume type v2
"volume type set" and "volume type unset" is not in the v2.
Co-Authored-By: Lin Hua Cheng <os.lcheng@gmail.com>
implements bp: volume-v2
Change-Id: Ia804787d76d2029726c030b43c61eac3b411f66a
Diffstat (limited to 'doc/source/command-objects')
| -rw-r--r-- | doc/source/command-objects/volume-type.rst | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/doc/source/command-objects/volume-type.rst b/doc/source/command-objects/volume-type.rst index 4d5651ac..0edd742a 100644 --- a/doc/source/command-objects/volume-type.rst +++ b/doc/source/command-objects/volume-type.rst @@ -77,17 +77,29 @@ List volume types volume type set --------------- -*Only supported for Volume API v1* - Set volume type properties .. program:: volume type set .. code:: bash os volume type set + [--name <name>] + [--description <description>] [--property <key=value> [...] ] <volume-type> +.. option:: --name <name> + + Set volume type name + + .. versionadded:: 2 + +.. option:: --description <description> + + Set volume type description + + .. versionadded:: 2 + .. option:: --property <key=value> Property to add or modify for this volume type (repeat option to set multiple properties) @@ -99,8 +111,6 @@ Set volume type properties volume type unset ----------------- -*Only supported for Volume API v1* - Unset volume type properties .. program:: volume type unset |
