Huanxuan Ao 3e9109bc7c Add "consistency-group-snapshot" option to consistency group create
Add "consistency-group-snapshot" option to
"consistency group create" command to support
for creating consistency group from existing
consistency group snapshot

Implements: bp cinder-command-support
Partial-Bug: #1613964
Change-Id: I54c265d38299f4973945ba99e30042bcf47859c0
2016-12-07 12:41:17 +08:00

2.2 KiB

consistency group

Block Storage v2

consistency group create

Create new consistency group.

consistency group create

os consistency group create
    --volume-type <volume-type> | --consistency-group-source <consistency-group> | --consistency-group-snapshot <consistency-group-snapshot>
    [--description <description>]
    [--availability-zone <availability-zone>]
    [<name>]

--volume-type <volume-type>

Volume type of this consistency group (name or ID)

--consistency-group-source <consistency-group>

Existing consistency group (name or ID)

--consistency-group-snapshot <consistency-group-snapshot>

Existing consistency group snapshot (name or ID)

--description <description>

Description of this consistency group

--availability-zone <availability-zone>

Availability zone for this consistency group (not available if creating consistency group from source)

Name of new consistency group (default to None)

consistency group delete

Delete consistency group(s).

consistency group delete

os consistency group delete
    [--force]
    <consistency-group> [<consistency-group> ...]

--force

Allow delete in state other than error or available

Consistency group(s) to delete (name or ID)

consistency group list

List consistency groups.

consistency group list

os consistency group list
    [--all-projects]
    [--long]

--all-projects

Show detail for all projects. Admin only. (defaults to False)

--long

List additional fields in output

consistency group show

Display consistency group details.

consistency group show

os consistency group show
    <consistency-group>




Consistency group to display (name or ID)