From 429ceef0c6c9deff521905c149e7600ffa5334ba Mon Sep 17 00:00:00 2001 From: heha Date: Fri, 24 Jul 2015 10:03:06 +0800 Subject: 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 implements bp: volume-v2 Change-Id: Ia804787d76d2029726c030b43c61eac3b411f66a --- doc/source/command-objects/volume-type.rst | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) (limited to 'doc/source/command-objects') 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 ] + [--description ] [--property [...] ] +.. option:: --name + + Set volume type name + + .. versionadded:: 2 + +.. option:: --description + + Set volume type description + + .. versionadded:: 2 + .. option:: --property 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 -- cgit v1.2.1