Ce contenu n'est pas disponible dans la langue sélectionnée.
Chapter 26. datastore
This chapter describes the commands under the datastore command.
26.1. datastore delete Copier lienLien copié sur presse-papiers!
Deletes a datastore
Usage:
openstack datastore delete [-h] <datastore>
openstack datastore delete [-h] <datastore>
| Value | Summary |
|---|---|
| <datastore> | Id or name of the datastore |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
26.2. datastore list Copier lienLien copié sur presse-papiers!
List available datastores
Usage:
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| 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 to show multiple columns |
| --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 |
| --sort-ascending | Sort the column(s) in ascending order |
| --sort-descending | Sort the column(s) in descending order |
| 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. |
26.3. datastore show Copier lienLien copié sur presse-papiers!
Shows details of a datastore
Usage:
openstack datastore show [-h] [-f {json,shell,table,value,yaml}]
[-c COLUMN] [--noindent] [--prefix PREFIX]
[--max-width <integer>] [--fit-width]
[--print-empty]
<datastore>
openstack datastore show [-h] [-f {json,shell,table,value,yaml}]
[-c COLUMN] [--noindent] [--prefix PREFIX]
[--max-width <integer>] [--fit-width]
[--print-empty]
<datastore>
| Value | Summary |
|---|---|
| <datastore> | Id of the datastore |
| 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 to show multiple columns |
| 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. |
26.4. datastore version create Copier lienLien copié sur presse-papiers!
Creates a datastore version.
Usage:
| Value | Summary |
|---|---|
| version_name | Datastore version name. |
| datastore_name | Datastore name. the datastore is created automatically if does not exist. |
| datastore_manager | Datastore manager, e.g. mysql |
| image_id | Id of the datastore image in glance. this can be empty string if --image-tags is specified. |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --active | Enable the datastore version. |
| --image-tags IMAGE_TAGS | List of image tags separated by comma, e.g. trove,mysql |
| --default | If set the datastore version as default. |
| --version-number VERSION_NUMBER | The version number for the database. if not specified, use the version name as the default value. |
26.5. datastore version delete Copier lienLien copié sur presse-papiers!
Deletes a datastore version.
Usage:
openstack datastore version delete [-h] <datastore_version>
openstack datastore version delete [-h] <datastore_version>
| Value | Summary |
|---|---|
| <datastore_version> | Id of the datastore version. |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
26.6. datastore version list Copier lienLien copié sur presse-papiers!
Lists available versions for a datastore
Usage:
| Value | Summary |
|---|---|
| <datastore> | Id or name of the datastore |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| 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 to show multiple columns |
| --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 |
| --sort-ascending | Sort the column(s) in ascending order |
| --sort-descending | Sort the column(s) in descending order |
| 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. |
26.7. datastore version set Copier lienLien copié sur presse-papiers!
Updates a datastore version.
Usage:
| Value | Summary |
|---|---|
| datastore_version_id | Datastore version id. |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --datastore-manager DATASTORE_MANAGER | Datastore manager name. |
| --image IMAGE | Id of the datastore image in glance. |
| --image-tags IMAGE_TAGS | List of image tags separated by comma, e.g. trove,mysql |
| --version-name VERSION_NAME | New datastore version name. |
| --enable—disable—default—non-default | None |
26.8. datastore version show Copier lienLien copié sur presse-papiers!
Shows details of a datastore version.
Usage:
| Value | Summary |
|---|---|
| <datastore_version> | Id or name of the datastore version. |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --datastore <datastore> | Id or name of the datastore. optional if the id ofthe datastore_version is provided. |
| 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 to show multiple columns |
| 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. |