summaryrefslogtreecommitdiff
path: root/doc/source/command-objects
diff options
context:
space:
mode:
authorHuanxuan Ao <huanxuan.ao@easystack.cn>2016-11-10 21:26:19 +0800
committerHuanxuan Ao <huanxuan.ao@easystack.cn>2016-11-17 22:07:04 +0800
commit98b9bc10d1ab6c205dee7ca3813034ccd1de1005 (patch)
tree27caf83e2841ad369625f532ad5b769dbb1041fa /doc/source/command-objects
parent0ef8535036c3739d798fd5627ae142d121f20d42 (diff)
downloadpython-openstackclient-98b9bc10d1ab6c205dee7ca3813034ccd1de1005.tar.gz
Add "consistency group create" command
Add "consistency group create" command in volume v2 (v2 only). Change-Id: I2e9affe390b1012aa18459e64d04afcdfc15e27d Implements: bp cinder-command-support Partial-Bug: #1613964
Diffstat (limited to 'doc/source/command-objects')
-rw-r--r--doc/source/command-objects/consistency-group.rst36
1 files changed, 36 insertions, 0 deletions
diff --git a/doc/source/command-objects/consistency-group.rst b/doc/source/command-objects/consistency-group.rst
index f24df0d1..c8c4577c 100644
--- a/doc/source/command-objects/consistency-group.rst
+++ b/doc/source/command-objects/consistency-group.rst
@@ -4,6 +4,42 @@ consistency group
Block Storage v2
+consistency group create
+------------------------
+
+Create new consistency group.
+
+.. program:: consistency group create
+.. code:: bash
+
+ os consistency group create
+ --volume-type <volume-type> | --consistency-group-source <consistency-group>
+ [--description <description>]
+ [--availability-zone <availability-zone>]
+ [<name>]
+
+.. option:: --volume-type <volume-type>
+
+ Volume type of this consistency group (name or ID)
+
+.. option:: --consistency-group-source <consistency-group>
+
+ Existing consistency group (name or ID)
+
+.. option:: --description <description>
+
+ Description of this consistency group
+
+.. option:: --availability-zone <availability-zone>
+
+ Availability zone for this consistency group
+ (not available if creating consistency group from source)
+
+.. _consistency_group_create-name:
+.. option:: <name>
+
+ Name of new consistency group (default to None)
+
consistency group list
----------------------