Ce contenu n'est pas disponible dans la langue sélectionnée.
Chapter 19. consistency
This chapter describes the commands under the consistency command.
19.1. consistency group add volume Copier lienLien copié sur presse-papiers!
Add volume(s) to consistency group
Usage:
openstack consistency group add volume [-h]
<consistency-group> <volume>
[<volume> ...]
openstack consistency group add volume [-h]
<consistency-group> <volume>
[<volume> ...]
| Value | Summary |
|---|---|
| <consistency-group> | 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) |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
19.2. consistency group create Copier lienLien copié sur presse-papiers!
Create new consistency group.
Usage:
| Value | Summary |
|---|---|
| <name> | Name of new consistency group (default to none) |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --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) |
| Value | Summary |
|---|---|
| -f {json,shell,table,value,yaml}, --format {json,shell,table,value,yaml} | The output format, defaults to table |
| -c COLUMN, --column COLUMN | Specify the column(s) to include, can be repeated |
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
| Value | Summary |
|---|---|
| --prefix PREFIX | Add a prefix to all variable names |
| Value | Summary |
|---|---|
| --max-width <integer> | Maximum display width, <1 to disable. you can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence. |
| --fit-width | Fit the table to the display width. implied if --max- width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable |
| --print-empty | Print empty table if there is no data to show. |
19.3. consistency group delete Copier lienLien copié sur presse-papiers!
Delete consistency group(s).
Usage:
openstack consistency group delete [-h] [--force]
<consistency-group>
[<consistency-group> ...]
openstack consistency group delete [-h] [--force]
<consistency-group>
[<consistency-group> ...]
| Value | Summary |
|---|---|
| <consistency-group> | Consistency group(s) to delete (name or id) |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --force | Allow delete in state other than error or available |
19.4. consistency group list Copier lienLien copié sur presse-papiers!
List consistency groups.
Usage:
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --all-projects | Show details for all projects. admin only. (defaults to False) |
| --long | List additional fields in output |
| Value | Summary |
|---|---|
| -f {csv,json,table,value,yaml}, --format {csv,json,table,value,yaml} | The output format, defaults to table |
| -c COLUMN, --column COLUMN | Specify the column(s) to include, can be repeated |
| --sort-column SORT_COLUMN | Specify the column(s) to sort the data (columns specified first have a priority, non-existing columns are ignored), can be repeated |
| Value | Summary |
|---|---|
| --quote {all,minimal,none,nonnumeric} | When to include quotes, defaults to nonnumeric |
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
| Value | Summary |
|---|---|
| --max-width <integer> | Maximum display width, <1 to disable. you can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence. |
| --fit-width | Fit the table to the display width. implied if --max- width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable |
| --print-empty | Print empty table if there is no data to show. |
19.5. consistency group remove volume Copier lienLien copié sur presse-papiers!
Remove volume(s) from consistency group
Usage:
openstack consistency group remove volume [-h]
<consistency-group> <volume>
[<volume> ...]
openstack consistency group remove volume [-h]
<consistency-group> <volume>
[<volume> ...]
| Value | Summary |
|---|---|
| <consistency-group> | Consistency group containing <volume> (name or id) |
| <volume> | Volume(s) to remove from <consistency-group> (name or ID) (repeat option to remove multiple volumes) |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
19.6. consistency group set Copier lienLien copié sur presse-papiers!
Set consistency group properties
Usage:
openstack consistency group set [-h] [--name <name>]
[--description <description>]
<consistency-group>
openstack consistency group set [-h] [--name <name>]
[--description <description>]
<consistency-group>
| Value | Summary |
|---|---|
| <consistency-group> | Consistency group to modify (name or id) |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --name <name> | New consistency group name |
| --description <description> | New consistency group description |
19.7. consistency group show Copier lienLien copié sur presse-papiers!
Display consistency group details.
Usage:
| Value | Summary |
|---|---|
| <consistency-group> | Consistency group to display (name or id) |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| Value | Summary |
|---|---|
| -f {json,shell,table,value,yaml}, --format {json,shell,table,value,yaml} | The output format, defaults to table |
| -c COLUMN, --column COLUMN | Specify the column(s) to include, can be repeated |
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
| Value | Summary |
|---|---|
| --prefix PREFIX | Add a prefix to all variable names |
| Value | Summary |
|---|---|
| --max-width <integer> | Maximum display width, <1 to disable. you can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence. |
| --fit-width | Fit the table to the display width. implied if --max- width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable |
| --print-empty | Print empty table if there is no data to show. |
19.8. consistency group snapshot create Copier lienLien copié sur presse-papiers!
Create new consistency group snapshot.
Usage:
| Value | Summary |
|---|---|
| <snapshot-name> | Name of new consistency group snapshot (default to None) |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --consistency-group <consistency-group> | Consistency group to snapshot (name or id) (default to be the same as <snapshot-name>) |
| --description <description> | Description of this consistency group snapshot |
| Value | Summary |
|---|---|
| -f {json,shell,table,value,yaml}, --format {json,shell,table,value,yaml} | The output format, defaults to table |
| -c COLUMN, --column COLUMN | Specify the column(s) to include, can be repeated |
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
| Value | Summary |
|---|---|
| --prefix PREFIX | Add a prefix to all variable names |
| Value | Summary |
|---|---|
| --max-width <integer> | Maximum display width, <1 to disable. you can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence. |
| --fit-width | Fit the table to the display width. implied if --max- width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable |
| --print-empty | Print empty table if there is no data to show. |
19.9. consistency group snapshot delete Copier lienLien copié sur presse-papiers!
Delete consistency group snapshot(s).
Usage:
openstack consistency group snapshot delete [-h]
<consistency-group-snapshot>
[<consistency-group-snapshot> ...]
openstack consistency group snapshot delete [-h]
<consistency-group-snapshot>
[<consistency-group-snapshot> ...]
| Value | Summary |
|---|---|
| <consistency-group-snapshot> | Consistency group snapshot(s) to delete (name or id) |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
19.10. consistency group snapshot list Copier lienLien copié sur presse-papiers!
List consistency group snapshots.
Usage:
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --all-projects | Show detail for all projects (admin only) (defaults to False) |
| --long | List additional fields in output |
| --status <status> | Filters results by a status ("available", "error", "creating", "deleting" or "error_deleting") |
| --consistency-group <consistency-group> | Filters results by a consistency group (name or id) |
| Value | Summary |
|---|---|
| -f {csv,json,table,value,yaml}, --format {csv,json,table,value,yaml} | The output format, defaults to table |
| -c COLUMN, --column COLUMN | Specify the column(s) to include, can be repeated |
| --sort-column SORT_COLUMN | Specify the column(s) to sort the data (columns specified first have a priority, non-existing columns are ignored), can be repeated |
| Value | Summary |
|---|---|
| --quote {all,minimal,none,nonnumeric} | When to include quotes, defaults to nonnumeric |
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
| Value | Summary |
|---|---|
| --max-width <integer> | Maximum display width, <1 to disable. you can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence. |
| --fit-width | Fit the table to the display width. implied if --max- width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable |
| --print-empty | Print empty table if there is no data to show. |
19.11. consistency group snapshot show Copier lienLien copié sur presse-papiers!
Display consistency group snapshot details
Usage:
| Value | Summary |
|---|---|
| <consistency-group-snapshot> | Consistency group snapshot to display (name or id) |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| Value | Summary |
|---|---|
| -f {json,shell,table,value,yaml}, --format {json,shell,table,value,yaml} | The output format, defaults to table |
| -c COLUMN, --column COLUMN | Specify the column(s) to include, can be repeated |
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
| Value | Summary |
|---|---|
| --prefix PREFIX | Add a prefix to all variable names |
| Value | Summary |
|---|---|
| --max-width <integer> | Maximum display width, <1 to disable. you can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence. |
| --fit-width | Fit the table to the display width. implied if --max- width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable |
| --print-empty | Print empty table if there is no data to show. |