summaryrefslogtreecommitdiff
path: root/doc/source/command-objects
diff options
context:
space:
mode:
authorchengkunye <chengkun@unitedstack.com>2015-07-17 17:05:23 +0800
committerSteve Martinelli <stevemar@ca.ibm.com>2015-07-20 12:59:57 -0700
commit659abf492825b71b99e6f4be58447d6f393e33ef (patch)
treefd85de22134c562489db66ae666c971e25b3c04a /doc/source/command-objects
parent11c9695e5ef127d0c99e2af610e462f5b1af4933 (diff)
downloadpython-openstackclient-659abf492825b71b99e6f4be58447d6f393e33ef.tar.gz
Add create and list for volume type v2
Volume API v2 is missing create and list features. implements bp: volume-v2 Change-Id: I34a1ae440e9620b1c65546f4f43b369c8661250d
Diffstat (limited to 'doc/source/command-objects')
-rw-r--r--doc/source/command-objects/volume-type.rst26
1 files changed, 25 insertions, 1 deletions
diff --git a/doc/source/command-objects/volume-type.rst b/doc/source/command-objects/volume-type.rst
index 0898df52..4d5651ac 100644
--- a/doc/source/command-objects/volume-type.rst
+++ b/doc/source/command-objects/volume-type.rst
@@ -2,7 +2,7 @@
volume type
===========
-Volume v1
+Volume v1, v2
volume type create
------------------
@@ -13,9 +13,29 @@ Create new volume type
.. code:: bash
os volume type create
+ [--description <description>]
+ [--public | --private]
[--property <key=value> [...] ]
<name>
+.. option:: --description <description>
+
+ New volume type description
+
+ .. versionadded:: 2
+
+.. option:: --public
+
+ Volume type is accessible to the public
+
+ .. versionadded:: 2
+
+.. option:: --private
+
+ Volume type is not accessible to the public
+
+ .. versionadded:: 2
+
.. option:: --property <key=value>
Set a property on this volume type (repeat option to set multiple properties)
@@ -57,6 +77,8 @@ List volume types
volume type set
---------------
+*Only supported for Volume API v1*
+
Set volume type properties
.. program:: volume type set
@@ -77,6 +99,8 @@ Set volume type properties
volume type unset
-----------------
+*Only supported for Volume API v1*
+
Unset volume type properties
.. program:: volume type unset