python-openstackclient/doc/source/command-objects/consistency-group.rst
Kevin_Zheng 9663424c74 change os in command example to openstack
In the current doc, the command examples are like
"os server create" but the acutal command should
be started with "openstack" instead of "os", it
is misleading to first time users.

Change-Id: Ic7686257725e1aa8e4e0d65a712eff1c079927a8
2016-12-20 09:03:29 +08:00

2.8 KiB

consistency group

Block Storage v2

consistency group create

Create new consistency group.

consistency group create

openstack 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

openstack 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

openstack 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 set

Set consistency group properties.

consistency group set .. code:: bash

openstack consistency group set

[--name <name>] [--description <description>] <consistency-group>

--name <name>

New consistency group name

--description <description>

New consistency group description

Consistency group to modify (name or ID)

consistency group show

Display consistency group details.

consistency group show

openstack consistency group show
    <consistency-group>




Consistency group to display (name or ID)