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

3.8 KiB

consistency group

Block Storage v2

consistency group add volume

Add volume(s) to consistency group.

consistency group add volume

openstack consistency group add volume
    <consistency-group>
    <volume> [<volume> ...]




Consistency group to contain <volume> (name or ID)

<volume>

Volume(s) to add to <consistency-group> (name or ID) (repeat option to add multiple volumes)

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 remove volume

Remove volume(s) from consistency group.

consistency group remove volume

openstack consistency group remove volume
    <consistency-group>
    <volume> [<volume> ...]




Consistency group containing <volume> (name or ID)

<volume>

Volume(s) to remove from <consistency-group> (name or ID) (repeat option to remove multiple volumes)

consistency group set

Set consistency group properties.

consistency group set

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)