python-openstackclient/doc/source/command-objects/consistency-group.rst

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

Set consistency group properties.

consistency group set .. code:: bash

os 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

os consistency group show
    <consistency-group>




Consistency group to display (name or ID)