summaryrefslogtreecommitdiff
path: root/doc/source/command-objects
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2015-07-20 22:28:10 +0000
committerGerrit Code Review <review@openstack.org>2015-07-20 22:28:10 +0000
commit26ea98b30e2c9573eb96378e3689f577d11940a8 (patch)
tree6c48281190d24660ea6726e5a0db186efd7ed287 /doc/source/command-objects
parent7442c018d2b52cc88372ecc966436a88fe7c96ac (diff)
parent659abf492825b71b99e6f4be58447d6f393e33ef (diff)
downloadpython-openstackclient-26ea98b30e2c9573eb96378e3689f577d11940a8.tar.gz
Merge "Add create and list for volume type v2"
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