Chapter 75. share
This chapter describes the commands under the share command.
75.1. share abandon Copy linkLink copied to clipboard!
Abandon a share
Usage:
openstack share abandon [-h] [--wait] <share> [<share> ...]
openstack share abandon [-h] [--wait] <share> [<share> ...]
| Value | Summary |
|---|---|
| <share> | Name or id of the share(s) |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --wait | Wait until share is abandoned |
75.2. share access create Copy linkLink copied to clipboard!
Create new share access rule
Usage:
openstack share access create [-h] [-f {json,shell,table,value,yaml}]
[-c COLUMN] [--noindent]
[--prefix PREFIX] [--max-width <integer>]
[--fit-width] [--print-empty]
[--properties [<key=value> ...]]
[--access-level <access_level>]
<share> <access_type> <access_to>
openstack share access create [-h] [-f {json,shell,table,value,yaml}]
[-c COLUMN] [--noindent]
[--prefix PREFIX] [--max-width <integer>]
[--fit-width] [--print-empty]
[--properties [<key=value> ...]]
[--access-level <access_level>]
<share> <access_type> <access_to>
| Value | Summary |
|---|---|
| <share> | Name or id of the nas share to modify. |
| <access_type> | Access rule type (only "ip", "user" (user or group), "cert" or "cephx" are supported). |
| <access_to> | Value that defines access. |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --properties [<key=value> …] | Space separated list of key=value pairs of properties. OPTIONAL: Default=None. Available only for API microversion >= 2.45. |
| --access-level <access_level> | Share access level ("rw" and "ro" access levels are supported). Defaults to rw. |
| 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. |
75.3. share access delete Copy linkLink copied to clipboard!
Delete a share access rule
Usage:
openstack share access delete [-h] <share> <id>
openstack share access delete [-h] <share> <id>
| Value | Summary |
|---|---|
| <share> | Name or id of the nas share to modify. |
| <id> | Id of the access rule to be deleted. |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
75.4. share access list Copy linkLink copied to clipboard!
List share access rule
Usage:
openstack share access list [-h] [-f {csv,json,table,value,yaml}]
[-c COLUMN]
[--quote {all,minimal,none,nonnumeric}]
[--noindent] [--max-width <integer>]
[--fit-width] [--print-empty]
[--sort-column SORT_COLUMN]
[--sort-ascending | --sort-descending]
[--properties [<key=value> ...]]
<share>
openstack share access list [-h] [-f {csv,json,table,value,yaml}]
[-c COLUMN]
[--quote {all,minimal,none,nonnumeric}]
[--noindent] [--max-width <integer>]
[--fit-width] [--print-empty]
[--sort-column SORT_COLUMN]
[--sort-ascending | --sort-descending]
[--properties [<key=value> ...]]
<share>
| Value | Summary |
|---|---|
| <share> | Name or id of the share. |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --properties [<key=value> …] | Filters results by properties (key=value). optional: Default=None. Available only for API microversion >= 2.45 |
| 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. |
75.5. share access set Copy linkLink copied to clipboard!
Set properties to share access rule. Available for API microversion 2.45 and higher
Usage:
openstack share access set [-h] [--property <key=value>] <access_id>
openstack share access set [-h] [--property <key=value>] <access_id>
| Value | Summary |
|---|---|
| <access_id> | Id of the nas share access rule. |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --property <key=value> | Set a property to this share access rule. (repeat option to set multiple properties) Available only for API microversion >= 2.45. |
75.6. share access show Copy linkLink copied to clipboard!
Display a share access rule. Available for API microversion 2.45 and higher
Usage:
openstack share access show [-h] [-f {json,shell,table,value,yaml}]
[-c COLUMN] [--noindent] [--prefix PREFIX]
[--max-width <integer>] [--fit-width]
[--print-empty]
<access_id>
openstack share access show [-h] [-f {json,shell,table,value,yaml}]
[-c COLUMN] [--noindent] [--prefix PREFIX]
[--max-width <integer>] [--fit-width]
[--print-empty]
<access_id>
| Value | Summary |
|---|---|
| <access_id> | Id of the nas share access rule. |
| 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. |
75.7. share access unset Copy linkLink copied to clipboard!
Unset properties of share access rule. Available for API microversion 2.45 and higher
Usage:
openstack share access unset [-h] [--property <key>] <access_id>
openstack share access unset [-h] [--property <key>] <access_id>
| Value | Summary |
|---|---|
| <access_id> | Id of the nas share access rule. |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --property <key> | Remove property from share access rule. (repeat option to remove multiple properties) Available only for API microversion >= 2.45. |
75.8. share adopt Copy linkLink copied to clipboard!
Adopt a share
Usage:
openstack share adopt [-h] [-f {json,shell,table,value,yaml}]
[-c COLUMN] [--noindent] [--prefix PREFIX]
[--max-width <integer>] [--fit-width]
[--print-empty] [--name <name>]
[--description <description>]
[--share-type <share-type>]
[--driver-options [<key=value> ...]] [--public]
[--share-server-id <share-server-id>] [--wait]
<service-host> <protocol> <export-path>
openstack share adopt [-h] [-f {json,shell,table,value,yaml}]
[-c COLUMN] [--noindent] [--prefix PREFIX]
[--max-width <integer>] [--fit-width]
[--print-empty] [--name <name>]
[--description <description>]
[--share-type <share-type>]
[--driver-options [<key=value> ...]] [--public]
[--share-server-id <share-server-id>] [--wait]
<service-host> <protocol> <export-path>
| Value | Summary |
|---|---|
| <service-host> | Service host: some.host@driver#pool. |
| <protocol> | Protocol of the share to manage, such as nfs or cifs. |
| <export-path> | Share export path, nfs share such as: 10.0.0.1:/example_path, CIFS share such as: \\10.0.0.1\example_cifs_share. |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --name <name> | Optional share name. (default=none) |
| --description <description> | Optional share description. (default=none) |
| --share-type <share-type> | Optional share type assigned to share. (default=none) |
| --driver-options [<key=value> …] | Optional driver options as key=value pairs (Default=None). |
| --public | Level of visibility for share. defines whether other projects are able to see it or not. Available only for microversion >= 2.8. (Default=False) |
| --share-server-id <share-server-id> | Share server associated with share when using a share type with "driver_handles_share_servers" extra_spec set to True. Available only for microversion >= 2.49. (Default=None) |
| --wait | Wait until share is adopted |
| 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. |
75.9. share create Copy linkLink copied to clipboard!
Create new share
Usage:
openstack share create [-h] [-f {json,shell,table,value,yaml}]
[-c COLUMN] [--noindent] [--prefix PREFIX]
[--max-width <integer>] [--fit-width]
[--print-empty] [--name <name>]
[--snapshot-id <snapshot-id>]
[--property <key=value>]
[--share-network <network-info>]
[--description <description>]
[--public <public>] [--share-type <share-type>]
[--availability-zone <availability-zone>]
[--share-group <share-group>] [--wait]
<share_protocol> <size>
openstack share create [-h] [-f {json,shell,table,value,yaml}]
[-c COLUMN] [--noindent] [--prefix PREFIX]
[--max-width <integer>] [--fit-width]
[--print-empty] [--name <name>]
[--snapshot-id <snapshot-id>]
[--property <key=value>]
[--share-network <network-info>]
[--description <description>]
[--public <public>] [--share-type <share-type>]
[--availability-zone <availability-zone>]
[--share-group <share-group>] [--wait]
<share_protocol> <size>
| Value | Summary |
|---|---|
| <share_protocol> | Share protocol (nfs, cifs, cephfs, glusterfs or hdfs) |
| <size> | Share size in gib. |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --name <name> | Optional share name. (default=none) |
| --snapshot-id <snapshot-id> | Optional snapshot id to create the share from. (Default=None) |
| --property <key=value> | Set a property to this share (repeat option to set multiple properties) |
| --share-network <network-info> | Optional network info id or name. |
| --description <description> | Optional share description. (default=none) |
| --public <public> | Level of visibility for share. defines whether other tenants are able to see it or not. (Default = False) |
| --share-type <share-type> | Optional share type. use of optional shares type is deprecated. (Default=Default) |
| --availability-zone <availability-zone> | Availability zone in which share should be created. |
| --share-group <share-group> | Optional share group name or id in which to create the share. (Default=None). |
| --wait | Wait for share creation |
| 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. |
75.10. share delete Copy linkLink copied to clipboard!
Delete a share
Usage:
openstack share delete [-h] [--share-group <share-group>] [--force]
[--wait]
<share> [<share> ...]
openstack share delete [-h] [--share-group <share-group>] [--force]
[--wait]
<share> [<share> ...]
| Value | Summary |
|---|---|
| <share> | Share(s) to delete (name or id) |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --share-group <share-group> | Optional share group (name or id)which contains the share |
| --force | Attempt forced removal of share(s), regardless of state (defaults to False) |
| --wait | Wait for share deletion |
75.11. share export location list Copy linkLink copied to clipboard!
List export location of a share
Usage:
openstack share export location list [-h]
[-f {csv,json,table,value,yaml}]
[-c COLUMN]
[--quote {all,minimal,none,nonnumeric}]
[--noindent]
[--max-width <integer>]
[--fit-width] [--print-empty]
[--sort-column SORT_COLUMN]
[--sort-ascending | --sort-descending]
<share>
openstack share export location list [-h]
[-f {csv,json,table,value,yaml}]
[-c COLUMN]
[--quote {all,minimal,none,nonnumeric}]
[--noindent]
[--max-width <integer>]
[--fit-width] [--print-empty]
[--sort-column SORT_COLUMN]
[--sort-ascending | --sort-descending]
<share>
| Value | Summary |
|---|---|
| <share> | Name or id of share |
| 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. |
75.12. share export location show Copy linkLink copied to clipboard!
Show export location of a share
Usage:
openstack share export location show [-h]
[-f {json,shell,table,value,yaml}]
[-c COLUMN] [--noindent]
[--prefix PREFIX]
[--max-width <integer>]
[--fit-width] [--print-empty]
<share> <export-location>
openstack share export location show [-h]
[-f {json,shell,table,value,yaml}]
[-c COLUMN] [--noindent]
[--prefix PREFIX]
[--max-width <integer>]
[--fit-width] [--print-empty]
<share> <export-location>
| Value | Summary |
|---|---|
| <share> | Name or id of share |
| <export-location> | Id of the share export location |
| 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. |
75.13. share list Copy linkLink copied to clipboard!
List shares
Usage:
openstack share list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN]
[--quote {all,minimal,none,nonnumeric}]
[--noindent] [--max-width <integer>] [--fit-width]
[--print-empty] [--sort-column SORT_COLUMN]
[--sort-ascending | --sort-descending]
[--name <share-name>] [--status <share-status>]
[--snapshot <share-network-id>] [--public]
[--share-network <share-network-name-or-id>]
[--share-type <share-type-name-or-id>]
[--share-group <share-group-name-or-id>]
[--host <share-host>]
[--share-server <share-server-id>]
[--project <project>]
[--project-domain <project-domain>]
[--user <user>] [--user-domain <user-domain>]
[--all-projects] [--property <key=value>]
[--extra-spec <key=value>] [--long]
[--sort <key>[:<direction>]]
[--limit <num-shares>] [--marker <share>]
openstack share list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN]
[--quote {all,minimal,none,nonnumeric}]
[--noindent] [--max-width <integer>] [--fit-width]
[--print-empty] [--sort-column SORT_COLUMN]
[--sort-ascending | --sort-descending]
[--name <share-name>] [--status <share-status>]
[--snapshot <share-network-id>] [--public]
[--share-network <share-network-name-or-id>]
[--share-type <share-type-name-or-id>]
[--share-group <share-group-name-or-id>]
[--host <share-host>]
[--share-server <share-server-id>]
[--project <project>]
[--project-domain <project-domain>]
[--user <user>] [--user-domain <user-domain>]
[--all-projects] [--property <key=value>]
[--extra-spec <key=value>] [--long]
[--sort <key>[:<direction>]]
[--limit <num-shares>] [--marker <share>]
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --name <share-name> | Filter shares by share name |
| --status <share-status> | Filter shares by status |
| --snapshot <share-network-id> | Filter shares by snapshot name or id. |
| --public | Include public shares |
| --share-network <share-network-name-or-id> | Filter shares exported on a given share network |
| --share-type <share-type-name-or-id> | Filter shares of a given share type |
| --share-group <share-group-name-or-id> | Filter shares belonging to a given share group |
| --host <share-host> | Filter shares belonging to a given host (admin only) |
| --share-server <share-server-id> | Filter shares exported via a given share server (admin only) |
| --project <project> | Filter shares by project (name or id) (admin only) |
| --project-domain <project-domain> | Domain the project belongs to (name or id). this can be used in case collisions between project names exist. |
| --user <user> | Filter results by user (name or id) (admin only) |
| --user-domain <user-domain> | Domain the user belongs to (name or id). this can be used in case collisions between user names exist. |
| --all-projects | Include all projects (admin only) |
| --property <key=value> | Filter shares having a given metadata key=value property (repeat option to filter by multiple properties) |
| --extra-spec <key=value> | Filter shares with extra specs (key=value) of the share type that they belong to. (repeat option to filter by multiple extra specs) |
| --long | List additional fields in output |
| --sort <key>[:<direction>] | Sort output by selected keys and directions(asc or desc) (default: name:asc), multiple keys and directions can be specified separated by comma |
| --limit <num-shares> | Maximum number of shares to display |
| --marker <share> | The last share id of the previous page |
| 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. |
75.14. share message delete Copy linkLink copied to clipboard!
Remove one or more messages
Usage:
openstack share message delete [-h] <message> [<message> ...]
openstack share message delete [-h] <message> [<message> ...]
| Value | Summary |
|---|---|
| <message> | Id of the message(s). |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
75.15. share message list Copy linkLink copied to clipboard!
Lists all messages
Usage:
openstack share message list [-h] [-f {csv,json,table,value,yaml}]
[-c COLUMN]
[--quote {all,minimal,none,nonnumeric}]
[--noindent] [--max-width <integer>]
[--fit-width] [--print-empty]
[--sort-column SORT_COLUMN]
[--sort-ascending | --sort-descending]
[--resource-id <resource-id>]
[--resource-type <resource-type>]
[--action-id <action-id>]
[--detail-id <detail-id>]
[--request-id <request-id>]
[--message-level <message-level>]
[--limit <limit>] [--since <since>]
[--before <before>]
openstack share message list [-h] [-f {csv,json,table,value,yaml}]
[-c COLUMN]
[--quote {all,minimal,none,nonnumeric}]
[--noindent] [--max-width <integer>]
[--fit-width] [--print-empty]
[--sort-column SORT_COLUMN]
[--sort-ascending | --sort-descending]
[--resource-id <resource-id>]
[--resource-type <resource-type>]
[--action-id <action-id>]
[--detail-id <detail-id>]
[--request-id <request-id>]
[--message-level <message-level>]
[--limit <limit>] [--since <since>]
[--before <before>]
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --resource-id <resource-id> | Filters results by a resource uuid. default=none. |
| --resource-type <resource-type> | Filters results by a resource type. default=none. Example: "openstack message list --resource-type share" |
| --action-id <action-id> | Filters results by action id. default=none. |
| --detail-id <detail-id> | Filters results by detail id. default=none. |
| --request-id <request-id> | Filters results by request id. default=none. |
| --message-level <message-level> | Filters results by the message level. default=none. Example: "openstack message list --message-level ERROR". |
| --limit <limit> | Maximum number of messages to return. (default=none) |
| --since <since> | Return only user messages created since given date. The date format must be conforming to ISO8601. Available only for microversion >= 2.52. |
| --before <before> | Return only user messages created before given date. The date format must be conforming to ISO8601. Available only for microversion >= 2.52. |
| 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. |
75.16. share message show Copy linkLink copied to clipboard!
Show details about a message
Usage:
openstack share message show [-h] [-f {json,shell,table,value,yaml}]
[-c COLUMN] [--noindent] [--prefix PREFIX]
[--max-width <integer>] [--fit-width]
[--print-empty]
<message>
openstack share message show [-h] [-f {json,shell,table,value,yaml}]
[-c COLUMN] [--noindent] [--prefix PREFIX]
[--max-width <integer>] [--fit-width]
[--print-empty]
<message>
| Value | Summary |
|---|---|
| <message> | Id of the message. |
| 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. |
75.17. share properties show Copy linkLink copied to clipboard!
Show share properties
Usage:
openstack share properties show [-h] [-f {json,shell,table,value,yaml}]
[-c COLUMN] [--noindent]
[--prefix PREFIX]
[--max-width <integer>] [--fit-width]
[--print-empty]
<share>
openstack share properties show [-h] [-f {json,shell,table,value,yaml}]
[-c COLUMN] [--noindent]
[--prefix PREFIX]
[--max-width <integer>] [--fit-width]
[--print-empty]
<share>
| Value | Summary |
|---|---|
| <share> | Name or id of share |
| 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. |
75.18. share quota delete Copy linkLink copied to clipboard!
Delete Quota
Usage:
openstack share quota delete [-h] [--project <project>] [--user <user>]
[--share-type <share-type>]
openstack share quota delete [-h] [--project <project>] [--user <user>]
[--share-type <share-type>]
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --project <project> | Name or id of the project to delete quotas for. |
| --user <user> | Name or id of user to delete the quotas for. optional. Mutually exclusive with --share-type. |
| --share-type <share-type> | Name or id of a share type to delete the quotas for. Optional. Mutually exclusive with --user. Available only for microversion >= 2.39 |
75.19. share quota set Copy linkLink copied to clipboard!
Set Quota
Usage:
openstack share quota set [-h] [--project <project>] [--user <user>]
[--shares <shares>] [--snapshots <snapshots>]
[--gigabytes <gigabytes>]
[--snapshot-gigabytes <snapshot-gigabytes>]
[--share-networks <share-networks>]
[--share-groups <share-groups>]
[--share-group-snapshots <share-group-snapshots>]
[--share-replicas <share-replicas>]
[--replica-gigabytes <replica-gigabytes>]
[--share-type <share-type>] [--force]
openstack share quota set [-h] [--project <project>] [--user <user>]
[--shares <shares>] [--snapshots <snapshots>]
[--gigabytes <gigabytes>]
[--snapshot-gigabytes <snapshot-gigabytes>]
[--share-networks <share-networks>]
[--share-groups <share-groups>]
[--share-group-snapshots <share-group-snapshots>]
[--share-replicas <share-replicas>]
[--replica-gigabytes <replica-gigabytes>]
[--share-type <share-type>] [--force]
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --project <project> | Name or id of the project to set the quotas for. |
| --user <user> | Name or id of a user to set the quotas for. optional. Mutually exclusive with --share-type. |
| --shares <shares> | New value for the "shares" quota. |
| --snapshots <snapshots> | New value for the "snapshots" quota. |
| --gigabytes <gigabytes> | New value for the "gigabytes" quota. |
| --snapshot-gigabytes <snapshot-gigabytes> | New value for the "snapshot-gigabytes" quota. |
| --share-networks <share-networks> | New value for the "share-networks" quota. |
| --share-groups <share-groups> | New value for the "share-groups" quota.available only for microversion >= 2.40 |
| --share-group-snapshots <share-group-snapshots> | New value for the "share-group-snapshots" quota. |
| --share-replicas <share-replicas> | Number of share replicas. available only for microversion >= 2.53 |
| --replica-gigabytes <replica-gigabytes> | Capacity of share replicas in total. available only for microversion >= 2.53 |
| --share-type <share-type> | Name or id of a share type to set the quotas for. Optional. Mutually exclusive with --user. Available only for microversion >= 2.39 |
| --force | Force update the quota. |
75.20. share quota show Copy linkLink copied to clipboard!
Show Quota
Usage:
openstack share quota show [-h] [-f {json,shell,table,value,yaml}]
[-c COLUMN] [--noindent] [--prefix PREFIX]
[--max-width <integer>] [--fit-width]
[--print-empty] [--project <project>]
[--user <user>] [--share-type <share-type>]
[--detail] [--defaults]
openstack share quota show [-h] [-f {json,shell,table,value,yaml}]
[-c COLUMN] [--noindent] [--prefix PREFIX]
[--max-width <integer>] [--fit-width]
[--print-empty] [--project <project>]
[--user <user>] [--share-type <share-type>]
[--detail] [--defaults]
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --project <project> | Name or id of the project to list quotas for. |
| --user <user> | Name or id of user to list the quotas for. optional. Mutually exclusive with --share-type. |
| --share-type <share-type> | Uuid or name of a share type to list the quotas for. Optional. Mutually exclusive with --user. Available only for microversion >= 2.39 |
| --detail | Optional flag to indicate whether to show quota in detail. Default false, available only for microversion >= 2.25. |
| --defaults | Show the default quotas for the project. |
| 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. |
75.21. share resize Copy linkLink copied to clipboard!
Resize a share
Usage:
openstack share resize [-h] [--wait] <share> <new-size>
openstack share resize [-h] [--wait] <share> <new-size>
| Value | Summary |
|---|---|
| <share> | Name or id of share to resize |
| <new-size> | New size of share, in gibs |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --wait | Wait for share resize |
75.22. share revert Copy linkLink copied to clipboard!
Revert a share to the specified snapshot.
Usage:
openstack share revert [-h] <snapshot>
openstack share revert [-h] <snapshot>
| Value | Summary |
|---|---|
| <snapshot> | Name or id of the snapshot to restore. the snapshot must be the most recent one known to manila. |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
75.23. share set Copy linkLink copied to clipboard!
Set share properties
Usage:
openstack share set [-h] [--property <key=value>] [--name <name>]
[--description <description>] [--public <public>]
[--status <status>]
<share>
openstack share set [-h] [--property <key=value>] [--name <name>]
[--description <description>] [--public <public>]
[--status <status>]
<share>
| Value | Summary |
|---|---|
| <share> | Share to modify (name or id) |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --property <key=value> | Set a property to this share (repeat option to set multiple properties) |
| --name <name> | New share name. (default=none) |
| --description <description> | New share description. (default=none) |
| --public <public> | Level of visibility for share. defines whether other tenants are able to see it or not. |
| --status <status> | Explicitly update the status of a share (admin only). Examples include: available, error, creating, deleting, error_deleting. |
75.24. share show Copy linkLink copied to clipboard!
Display share details
Usage:
openstack share show [-h] [-f {json,shell,table,value,yaml}]
[-c COLUMN] [--noindent] [--prefix PREFIX]
[--max-width <integer>] [--fit-width]
[--print-empty]
<share>
openstack share show [-h] [-f {json,shell,table,value,yaml}]
[-c COLUMN] [--noindent] [--prefix PREFIX]
[--max-width <integer>] [--fit-width]
[--print-empty]
<share>
| Value | Summary |
|---|---|
| <share> | Share 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 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. |
75.25. share snapshot abandon Copy linkLink copied to clipboard!
Abandon share snapshot(s)
Usage:
openstack share snapshot abandon [-h] <snapshot> [<snapshot> ...]
openstack share snapshot abandon [-h] <snapshot> [<snapshot> ...]
| Value | Summary |
|---|---|
| <snapshot> | Name or id of the snapshot(s) to be abandoned. |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
75.26. share snapshot access create Copy linkLink copied to clipboard!
Allow access to a snapshot
Usage:
openstack share snapshot access create [-h]
[-f {json,shell,table,value,yaml}]
[-c COLUMN] [--noindent]
[--prefix PREFIX]
[--max-width <integer>]
[--fit-width] [--print-empty]
<snapshot> <access_type>
<access_to>
openstack share snapshot access create [-h]
[-f {json,shell,table,value,yaml}]
[-c COLUMN] [--noindent]
[--prefix PREFIX]
[--max-width <integer>]
[--fit-width] [--print-empty]
<snapshot> <access_type>
<access_to>
| Value | Summary |
|---|---|
| <snapshot> | Name or id of the snapshot |
| <access_type> | Access rule type (only "ip", "user" (user or group), "cert" or "cephx" are supported). |
| <access_to> | Value that defines access. |
| 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. |
75.27. share snapshot access delete Copy linkLink copied to clipboard!
Delete access to a snapshot
Usage:
openstack share snapshot access delete [-h] <snapshot> <id> [<id> ...]
openstack share snapshot access delete [-h] <snapshot> <id> [<id> ...]
| Value | Summary |
|---|---|
| <snapshot> | Name or id of the share snapshot to deny access to. |
| <id> | Id(s) of the access rule(s) to be deleted. |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
75.28. share snapshot access list Copy linkLink copied to clipboard!
Show access list for a snapshot
Usage:
openstack share snapshot access list [-h]
[-f {csv,json,table,value,yaml}]
[-c COLUMN]
[--quote {all,minimal,none,nonnumeric}]
[--noindent]
[--max-width <integer>]
[--fit-width] [--print-empty]
[--sort-column SORT_COLUMN]
[--sort-ascending | --sort-descending]
<snapshot>
openstack share snapshot access list [-h]
[-f {csv,json,table,value,yaml}]
[-c COLUMN]
[--quote {all,minimal,none,nonnumeric}]
[--noindent]
[--max-width <integer>]
[--fit-width] [--print-empty]
[--sort-column SORT_COLUMN]
[--sort-ascending | --sort-descending]
<snapshot>
| Value | Summary |
|---|---|
| <snapshot> | Name or id of the share snapshot to show access list for. |
| 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. |
75.29. share snapshot adopt Copy linkLink copied to clipboard!
Adopt a share snapshot
Usage:
openstack share snapshot adopt [-h] [-f {json,shell,table,value,yaml}]
[-c COLUMN] [--noindent]
[--prefix PREFIX]
[--max-width <integer>] [--fit-width]
[--print-empty] [--name <name>]
[--description <description>]
[--driver-option <key=value>]
<share> <provider-location>
openstack share snapshot adopt [-h] [-f {json,shell,table,value,yaml}]
[-c COLUMN] [--noindent]
[--prefix PREFIX]
[--max-width <integer>] [--fit-width]
[--print-empty] [--name <name>]
[--description <description>]
[--driver-option <key=value>]
<share> <provider-location>
| Value | Summary |
|---|---|
| <share> | Name or id of the share that owns the snapshot to be adopted. |
| <provider-location> | Provider location of the snapshot on the backend. |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --name <name> | Optional snapshot name (default=none). |
| --description <description> | Optional snapshot description (default=none). |
| --driver-option <key=value> | Set driver options as key=value pairs.(repeat option to set multiple key=value pairs) |
| 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. |
75.30. share snapshot create Copy linkLink copied to clipboard!
Create a snapshot of the given share
Usage:
openstack share snapshot create [-h] [-f {json,shell,table,value,yaml}]
[-c COLUMN] [--noindent]
[--prefix PREFIX]
[--max-width <integer>] [--fit-width]
[--print-empty] [--force]
[--name <name>]
[--description <description>]
<share>
openstack share snapshot create [-h] [-f {json,shell,table,value,yaml}]
[-c COLUMN] [--noindent]
[--prefix PREFIX]
[--max-width <integer>] [--fit-width]
[--print-empty] [--force]
[--name <name>]
[--description <description>]
<share>
| Value | Summary |
|---|---|
| <share> | Name or id of the share to create snapshot of |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --force | Optional flag to indicate whether to snapshot a share even if it’s busy. (Default=False) |
| --name <name> | Add a name to the snapshot (optional). |
| --description <description> | Add a description to the snapshot (optional). |
| 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. |
75.31. share snapshot delete Copy linkLink copied to clipboard!
Delete one or more share snapshots
Usage:
openstack share snapshot delete [-h] [--force]
<snapshot> [<snapshot> ...]
openstack share snapshot delete [-h] [--force]
<snapshot> [<snapshot> ...]
| Value | Summary |
|---|---|
| <snapshot> | Name or id of the snapshot(s) to delete |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --force | Delete the snapshot(s) ignoring the current state. |
75.32. share snapshot export location list Copy linkLink copied to clipboard!
List export locations of a given snapshot
Usage:
openstack share snapshot export location list [-h]
[-f {csv,json,table,value,yaml}]
[-c COLUMN]
[--quote {all,minimal,none,nonnumeric}]
[--noindent]
[--max-width <integer>]
[--fit-width]
[--print-empty]
[--sort-column SORT_COLUMN]
[--sort-ascending | --sort-descending]
<snapshot>
openstack share snapshot export location list [-h]
[-f {csv,json,table,value,yaml}]
[-c COLUMN]
[--quote {all,minimal,none,nonnumeric}]
[--noindent]
[--max-width <integer>]
[--fit-width]
[--print-empty]
[--sort-column SORT_COLUMN]
[--sort-ascending | --sort-descending]
<snapshot>
| Value | Summary |
|---|---|
| <snapshot> | Name or id of the share snapshot. |
| 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. |
75.33. share snapshot export location show Copy linkLink copied to clipboard!
Show export location of the share snapshot
Usage:
openstack share snapshot export location show [-h]
[-f {json,shell,table,value,yaml}]
[-c COLUMN] [--noindent]
[--prefix PREFIX]
[--max-width <integer>]
[--fit-width]
[--print-empty]
<snapshot>
<export-location>
openstack share snapshot export location show [-h]
[-f {json,shell,table,value,yaml}]
[-c COLUMN] [--noindent]
[--prefix PREFIX]
[--max-width <integer>]
[--fit-width]
[--print-empty]
<snapshot>
<export-location>
| Value | Summary |
|---|---|
| <snapshot> | Name or id of the share snapshot. |
| <export-location> | Id of the share snapshot export location. |
| 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. |
75.34. share snapshot list Copy linkLink copied to clipboard!
List snapshots
Usage:
openstack share snapshot list [-h] [-f {csv,json,table,value,yaml}]
[-c COLUMN]
[--quote {all,minimal,none,nonnumeric}]
[--noindent] [--max-width <integer>]
[--fit-width] [--print-empty]
[--sort-column SORT_COLUMN]
[--sort-ascending | --sort-descending]
[--all-projects] [--name <name>]
[--description <description>]
[--status <status>] [--share <share>]
[--usage <usage>]
[--limit <num-snapshots>]
[--marker <snapshot>]
[--sort <key>[:<direction>]]
[--name~ <name~>]
[--description~ <description~>]
[--detail]
openstack share snapshot list [-h] [-f {csv,json,table,value,yaml}]
[-c COLUMN]
[--quote {all,minimal,none,nonnumeric}]
[--noindent] [--max-width <integer>]
[--fit-width] [--print-empty]
[--sort-column SORT_COLUMN]
[--sort-ascending | --sort-descending]
[--all-projects] [--name <name>]
[--description <description>]
[--status <status>] [--share <share>]
[--usage <usage>]
[--limit <num-snapshots>]
[--marker <snapshot>]
[--sort <key>[:<direction>]]
[--name~ <name~>]
[--description~ <description~>]
[--detail]
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --all-projects | Display snapshots from all projects (admin only). |
| --name <name> | Filter results by name. |
| --description <description> | Filter results by description. available only for microversion >= 2.36. |
| --status <status> | Filter results by status |
| --share <share> | Name or id of a share to filter results by. |
| --usage <usage> | Option to filter snapshots by usage. |
| --limit <num-snapshots> | Limit the number of snapshots returned |
| --marker <snapshot> | The last share id of the previous page |
| --sort <key>[:<direction>] | Sort output by selected keys and directions(asc or desc) (default: name:asc), multiple keys and directions can be specified separated by comma |
| --name~ <name~> | Filter results matching a share snapshot name pattern. Available only for microversion >= 2.36. |
| --description~ <description~> | Filter results matching a share snapshot description pattern. Available only for microversion >= 2.36. |
| --detail | List share snapshots with details |
| 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. |
75.35. share snapshot set Copy linkLink copied to clipboard!
Set share snapshot properties
Usage:
openstack share snapshot set [-h] [--name <name>]
[--description <description>]
[--status <status>]
<snapshot>
openstack share snapshot set [-h] [--name <name>]
[--description <description>]
[--status <status>]
<snapshot>
| Value | Summary |
|---|---|
| <snapshot> | Name or id of the snapshot to set a property for |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --name <name> | Set a name to the snapshot. |
| --description <description> | Set a description to the snapshot. |
| --status <status> | Assign a status to the snapshot (admin only). options include : available, error, creating, deleting, manage_starting, manage_error, unmanage_starting, unmanage_error, error_deleting. |
75.36. share snapshot show Copy linkLink copied to clipboard!
Show details about a share snapshot
Usage:
openstack share snapshot show [-h] [-f {json,shell,table,value,yaml}]
[-c COLUMN] [--noindent]
[--prefix PREFIX] [--max-width <integer>]
[--fit-width] [--print-empty]
<snapshot>
openstack share snapshot show [-h] [-f {json,shell,table,value,yaml}]
[-c COLUMN] [--noindent]
[--prefix PREFIX] [--max-width <integer>]
[--fit-width] [--print-empty]
<snapshot>
| Value | Summary |
|---|---|
| <snapshot> | Name or id of the snapshot to display |
| 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. |
75.37. share snapshot unset Copy linkLink copied to clipboard!
Unset a share snapshot property
Usage:
openstack share snapshot unset [-h] [--name] [--description] <snapshot>
openstack share snapshot unset [-h] [--name] [--description] <snapshot>
| Value | Summary |
|---|---|
| <snapshot> | Name or id of the snapshot to set a property for |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --name | Unset snapshot name. |
| --description | Unset snapshot description. |
75.38. share type access create Copy linkLink copied to clipboard!
Add access for share type
Usage:
openstack share type access create [-h] <share_type> <project_id>
openstack share type access create [-h] <share_type> <project_id>
| Value | Summary |
|---|---|
| <share_type> | Share type name or id to add access to |
| <project_id> | Project id to add share type access for |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
75.39. share type access delete Copy linkLink copied to clipboard!
Delete access from share type
Usage:
openstack share type access delete [-h] <share_type> <project_id>
openstack share type access delete [-h] <share_type> <project_id>
| Value | Summary |
|---|---|
| <share_type> | Share type name or id to delete access from |
| <project_id> | Project id to delete share type access for |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
75.40. share type access list Copy linkLink copied to clipboard!
Get access list for share type
Usage:
openstack share type access list [-h] [-f {csv,json,table,value,yaml}]
[-c COLUMN]
[--quote {all,minimal,none,nonnumeric}]
[--noindent] [--max-width <integer>]
[--fit-width] [--print-empty]
[--sort-column SORT_COLUMN]
[--sort-ascending | --sort-descending]
<share_type>
openstack share type access list [-h] [-f {csv,json,table,value,yaml}]
[-c COLUMN]
[--quote {all,minimal,none,nonnumeric}]
[--noindent] [--max-width <integer>]
[--fit-width] [--print-empty]
[--sort-column SORT_COLUMN]
[--sort-ascending | --sort-descending]
<share_type>
| Value | Summary |
|---|---|
| <share_type> | Share type name or id to get access list for |
| 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. |
75.41. share type create Copy linkLink copied to clipboard!
Create new share type
Usage:
openstack share type create [-h] [-f {json,shell,table,value,yaml}]
[-c COLUMN] [--noindent] [--prefix PREFIX]
[--max-width <integer>] [--fit-width]
[--print-empty]
[--description <description>]
[--snapshot-support <snapshot_support>]
[--create-share-from-snapshot-support <create_share_from_snapshot_support>]
[--revert-to-snapshot-support <revert_to_snapshot_support>]
[--mount-snapshot-support <mount_snapshot_support>]
[--extra-specs [<key=value> ...]]
[--public <public>]
<name> <spec_driver_handles_share_servers>
openstack share type create [-h] [-f {json,shell,table,value,yaml}]
[-c COLUMN] [--noindent] [--prefix PREFIX]
[--max-width <integer>] [--fit-width]
[--print-empty]
[--description <description>]
[--snapshot-support <snapshot_support>]
[--create-share-from-snapshot-support <create_share_from_snapshot_support>]
[--revert-to-snapshot-support <revert_to_snapshot_support>]
[--mount-snapshot-support <mount_snapshot_support>]
[--extra-specs [<key=value> ...]]
[--public <public>]
<name> <spec_driver_handles_share_servers>
| Value | Summary |
|---|---|
| <name> | Share type name |
| <spec_driver_handles_share_servers> | Required extra specification. valid values are true and false |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --description <description> | Share type description. available only for microversion >= 2.41. |
| --snapshot-support <snapshot_support> | Boolean extra spec used for filtering of back ends by their capability to create share snapshots. |
| --create-share-from-snapshot-support <create_share_from_snapshot_support> | Boolean extra spec used for filtering of back ends by their capability to create shares from snapshots. |
| --revert-to-snapshot-support <revert_to_snapshot_support> | Boolean extra spec used for filtering of back ends by their capability to revert shares to snapshots. (Default is False). |
| --mount-snapshot-support <mount_snapshot_support> | Boolean extra spec used for filtering of back ends by their capability to mount share snapshots. (Default is False). |
| --extra-specs [<key=value> …] | Extra specs key and value of share type that will be used for share type creation. OPTIONAL: Default=None. example --extra-specs thin_provisioning=<is> True, replication_type=readable. |
| --public <public> | Make type accessible to the public (default true). |
| 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. |
75.42. share type delete Copy linkLink copied to clipboard!
Delete a share type
Usage:
openstack share type delete [-h] <share_types> [<share_types> ...]
openstack share type delete [-h] <share_types> [<share_types> ...]
| Value | Summary |
|---|---|
| <share_types> | Name or id of the share type(s) to delete |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
75.43. share type list Copy linkLink copied to clipboard!
List share types
Usage:
openstack share type list [-h] [-f {csv,json,table,value,yaml}]
[-c COLUMN]
[--quote {all,minimal,none,nonnumeric}]
[--noindent] [--max-width <integer>]
[--fit-width] [--print-empty]
[--sort-column SORT_COLUMN]
[--sort-ascending | --sort-descending]
[--all] [--extra-specs [<key=value> ...]]
openstack share type list [-h] [-f {csv,json,table,value,yaml}]
[-c COLUMN]
[--quote {all,minimal,none,nonnumeric}]
[--noindent] [--max-width <integer>]
[--fit-width] [--print-empty]
[--sort-column SORT_COLUMN]
[--sort-ascending | --sort-descending]
[--all] [--extra-specs [<key=value> ...]]
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --all | Display all share types whatever public or private. Default=False. (Admin only) |
| --extra-specs [<key=value> …] | Filter share types with extra specs (key=value). Available only for API microversion >= 2.43. OPTIONAL: Default=None. |
| 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. |
75.44. share type set Copy linkLink copied to clipboard!
Set share type properties
Usage:
openstack share type set [-h] [--extra-specs [<key=value> ...]]
[--public <public>]
[--description <description>] [--name <name>]
<share_type>
openstack share type set [-h] [--extra-specs [<key=value> ...]]
[--public <public>]
[--description <description>] [--name <name>]
<share_type>
| Value | Summary |
|---|---|
| <share_type> | Name or id of the share type to modify |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --extra-specs [<key=value> …] | Extra specs key and value of share type that will be used for share type creation. OPTIONAL: Default=None. example --extra-specs thin_provisioning=<is> True, replication_type=readable. |
| --public <public> | New visibility of the share type. if set to true, share type will be available to all projects in the cloud. Available only for microversion >= 2.50 |
| --description <description> | New description of share type. available only for microversion >= 2.50 |
| --name <name> | New name of share type. available only for microversion >= 2.50 |
75.45. share type show Copy linkLink copied to clipboard!
Display share type details
Usage:
openstack share type show [-h] [-f {json,shell,table,value,yaml}]
[-c COLUMN] [--noindent] [--prefix PREFIX]
[--max-width <integer>] [--fit-width]
[--print-empty]
<share_type>
openstack share type show [-h] [-f {json,shell,table,value,yaml}]
[-c COLUMN] [--noindent] [--prefix PREFIX]
[--max-width <integer>] [--fit-width]
[--print-empty]
<share_type>
| Value | Summary |
|---|---|
| <share_type> | Share type 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 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. |
75.46. share type unset Copy linkLink copied to clipboard!
Unset share type extra specs
Usage:
openstack share type unset [-h] <share_type> <key> [<key> ...]
openstack share type unset [-h] <share_type> <key> [<key> ...]
| Value | Summary |
|---|---|
| <share_type> | Name or id of the share type to modify |
| <key> | Remove extra_specs from this share type |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
75.47. share unset Copy linkLink copied to clipboard!
Unset share properties
Usage:
openstack share unset [-h] [--property <key>] [--name] [--description]
<share>
openstack share unset [-h] [--property <key>] [--name] [--description]
<share>
| Value | Summary |
|---|---|
| <share> | Share to modify (name or id) |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --property <key> | Remove a property from share (repeat option to remove multiple properties) |
| --name | Unset share name. |
| --description | Unset share description. |