此内容没有您所选择的语言版本。
Chapter 69. share
This chapter describes the commands under the share command.
69.1. share abandon 复制链接链接已复制到粘贴板!
Abandon a share
Usage:
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 |
69.2. share access create 复制链接链接已复制到粘贴板!
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>] [--wait]
<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. |
| --wait | Wait for share access rule 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. |
69.3. share access delete 复制链接链接已复制到粘贴板!
Delete a share access rule
Usage:
openstack share access delete [-h] [--wait] <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 |
| --wait | Wait for share access rule deletion |
69.4. share access list 复制链接链接已复制到粘贴板!
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>
| 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. |
69.5. share access set 复制链接链接已复制到粘贴板!
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>
| 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. |
69.6. share access show 复制链接链接已复制到粘贴板!
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>
| 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. |
69.7. share access unset 复制链接链接已复制到粘贴板!
Unset properties of share access rule. Available for API microversion 2.45 and higher
Usage:
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. |
69.8. share adopt 复制链接链接已复制到粘贴板!
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>
| 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. |
69.9. share availability zone list 复制链接链接已复制到粘贴板!
List all availability zones
Usage:
openstack share availability zone 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]
| 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. |
69.10. share create 复制链接链接已复制到粘贴板!
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]
[--scheduler-hint <key=value>]
<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> | The share type to create the share with. if not specified, unless creating from a snapshot, the default share type will be used. |
| --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 |
| --scheduler-hint <key=value> | Set scheduler hints for the share as key=value pairs, possible keys are same_host, different_host.(repeat option to set multiple hints) |
| 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. |
69.11. share delete 复制链接链接已复制到粘贴板!
Delete a share
Usage:
openstack share delete [-h] [--share-group <share-group>] [--force]
[--wait] [--soft]
<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 |
| --soft | Soft delete one or more shares. |
69.12. share export location list 复制链接链接已复制到粘贴板!
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>
| 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. |
69.13. share export location show 复制链接链接已复制到粘贴板!
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>
| 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. |
69.14. share group create 复制链接链接已复制到粘贴板!
Create new share group
Usage:
openstack share group create [-h] [-f {json,shell,table,value,yaml}]
[-c COLUMN] [--noindent] [--prefix PREFIX]
[--max-width <integer>] [--fit-width]
[--print-empty] [--name <name>]
[--description <description>]
[--share-types <share-types> [<share-types> ...]]
[--share-group-type <share-group-type>]
[--share-network <share-network>]
[--source-share-group-snapshot <source-share-group-snapshot>]
[--availability-zone <availability-zone>]
[--wait]
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --name <name> | Share group name |
| --description <description> | Share group description. |
| --share-types <share-types> [<share-types> …] | Name or id of share type(s). |
| --share-group-type <share-group-type> | Share group type name or id of the share group to be created. |
| --share-network <share-network> | Specify share network name or id |
| --source-share-group-snapshot <source-share-group-snapshot> | Share group snapshot name or id to create the share group from. |
| --availability-zone <availability-zone> | Optional availability zone in which group should be created |
| --wait | Wait for share group 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. |
69.15. share group delete 复制链接链接已复制到粘贴板!
Delete one or more share groups
Usage:
openstack share group delete [-h] [--force] [--wait]
<share_group> [<share_group> ...]
| Value | Summary |
|---|---|
| <share_group> | Name or id of the share group(s) to delete |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --force | Attempt to force delete the share group (default=false) (Admin only). |
| --wait | Wait for share group to delete |
69.16. share group list 复制链接链接已复制到粘贴板!
List share groups
Usage:
openstack share group 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-server <share-server-id>]
[--share-group-type <share-group-type>]
[--snapshot <snapshot>] [--host <host>]
[--share-network <share-network>]
[--project <project>]
[--project-domain <project-domain>]
[--limit <limit>] [--marker <marker>]
[--sort <key>[:<direction>]]
[--name~ <name~>]
[--description~ <description~>]
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --all-projects | Display share groups 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-server <share-server-id> | Filter results by share server id. |
| --share-group-type <share-group-type> | Filter results by a share group type id or name that was used for share group creation. |
| --snapshot <snapshot> | Filter results by share group snapshot name or id that was used to create the share group. |
| --host <host> | Filter results by host. |
| --share-network <share-network> | Filter results by share-network name or id. |
| --project <project> | Filter results by project name or id. useful with set key --all-projects. |
| --project-domain <project-domain> | Domain the project belongs to (name or id). this can be used in case collisions between project names exist. |
| --limit <limit> | Limit the number of share groups returned |
| --marker <marker> | The last share group 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 group name pattern. Available only for microversion >= 2.36. |
| --description~ <description~> | Filter results matching a share group description pattern. Available only for microversion >= 2.36. |
| 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. |
69.17. share group set 复制链接链接已复制到粘贴板!
Explicitly set share group status
Usage:
openstack share group set [-h] [--name <name>]
[--description <description>]
[--status <status>]
<share-group>
| Value | Summary |
|---|---|
| <share-group> | Name or id of the share group to update. |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --name <name> | New name for the share group. (default=none) |
| --description <description> | Share group description. (default=none) |
| --status <status> | Explicitly update the status of a share group (admin only). Examples include: available, error, creating, deleting, error_deleting. |
69.18. share group show 复制链接链接已复制到粘贴板!
Show details about a share group
Usage:
openstack share group show [-h] [-f {json,shell,table,value,yaml}]
[-c COLUMN] [--noindent] [--prefix PREFIX]
[--max-width <integer>] [--fit-width]
[--print-empty]
<share-group>
| Value | Summary |
|---|---|
| <share-group> | Name or id of the share group. |
| 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. |
69.19. share group snapshot create 复制链接链接已复制到粘贴板!
Create a share group snapshot of the given share group
Usage:
openstack share group snapshot create [-h]
[-f {json,shell,table,value,yaml}]
[-c COLUMN] [--noindent]
[--prefix PREFIX]
[--max-width <integer>]
[--fit-width] [--print-empty]
[--name <name>]
[--description <description>]
[--wait]
<share-group>
| Value | Summary |
|---|---|
| <share-group> | Name or id of the share group. |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --name <name> | Optional share group snapshot name. (default=none) |
| --description <description> | Optional share group snapshot description. (Default=None) |
| --wait | Wait for share group snapshot 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. |
69.20. share group snapshot delete 复制链接链接已复制到粘贴板!
Delete one or more share group snapshot
Usage:
openstack share group snapshot delete [-h] [--force] [--wait]
<share-group-snapshot>
[<share-group-snapshot> ...]
| Value | Summary |
|---|---|
| <share-group-snapshot> | Name or id of the group snapshot(s) to delete |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --force | Attempt to force delete the share group snapshot(s) (Default=False) (Admin only). |
| --wait | Wait for share group snapshot deletion |
69.21. share group snapshot list 复制链接链接已复制到粘贴板!
List share group snapshots
Usage:
openstack share group 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>]
[--status <status>]
[--share-group <share-group>]
[--limit <limit>]
[--marker <marker>]
[--sort <key>[:<direction>]]
[--detailed]
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --all-projects | Display information from all projects (admin only). |
| --name <name> | Filter results by name. |
| --status <status> | Filter results by status. |
| --share-group <share-group> | Filter results by share group name or id. |
| --limit <limit> | Limit the number of share groups returned |
| --marker <marker> | The last share group snapshot 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 |
| --detailed | Show detailed information about share group snapshot. |
| 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. |
69.22. share group snapshot members list 复制链接链接已复制到粘贴板!
List members of share group snapshot
Usage:
openstack share group snapshot members 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-group-snapshot>
| Value | Summary |
|---|---|
| <share-group-snapshot> | Name or id of the group snapshot to list members 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. |
69.23. share group snapshot set 复制链接链接已复制到粘贴板!
Set share group snapshot properties
Usage:
openstack share group snapshot set [-h] [--name <name>]
[--description <description>]
[--status <status>]
<share-group-snapshot>
| Value | Summary |
|---|---|
| <share-group-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> | Explicitly set the state of a share group snapshot(Admin only). Options include : available, error, creating, deleting, error_deleting. |
69.24. share group snapshot show 复制链接链接已复制到粘贴板!
Show details about a share group snapshot
Usage:
openstack share group snapshot show [-h]
[-f {json,shell,table,value,yaml}]
[-c COLUMN] [--noindent]
[--prefix PREFIX]
[--max-width <integer>]
[--fit-width] [--print-empty]
<share-group-snapshot>
| Value | Summary |
|---|---|
| <share-group-snapshot> | Name or id of the share group 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. |
69.25. share group snapshot unset 复制链接链接已复制到粘贴板!
Unset a share group snapshot property
Usage:
openstack share group snapshot unset [-h] [--name] [--description]
<share-group-snapshot>
| Value | Summary |
|---|---|
| <share-group-snapshot> | Name or id of the group snapshot to unset a property of |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --name | Unset share group snapshot name. |
| --description | Unset share group snapshot description. |
69.26. share group type access create 复制链接链接已复制到粘贴板!
Allow a project to access a share group type (Admin only).
Usage:
openstack share group type access create [-h]
[--project-domain <project-domain>]
<share-group-type> <project>
[<project> ...]
| Value | Summary |
|---|---|
| <share-group-type> | Share group type name or id to allow access to. |
| <project> | Project name or id to add share group type access for. |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --project-domain <project-domain> | Domain the project belongs to (name or id). this can be used in case collisions between project names exist. |
69.27. share group type access delete 复制链接链接已复制到粘贴板!
Deny a project to access a share group type (Admin only).
Usage:
openstack share group type access delete [-h]
[--project-domain <project-domain>]
<share-group-type> <project>
[<project> ...]
| Value | Summary |
|---|---|
| <share-group-type> | Share group type name or id to deny access from |
| <project> | Project name(s) or id(s) to deny share group type access for. |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --project-domain <project-domain> | Domain the project belongs to (name or id). this can be used in case collisions between project names exist. |
69.28. share group type access list 复制链接链接已复制到粘贴板!
Get access list for share group type (Admin only).
Usage:
openstack share group 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-group-type>
| Value | Summary |
|---|---|
| <share-group-type> | Filter results by share group type name or id. |
| 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. |
69.29. share group type create 复制链接链接已复制到粘贴板!
Create new share group type
Usage:
openstack share group type create [-h]
[-f {json,shell,table,value,yaml}]
[-c COLUMN] [--noindent]
[--prefix PREFIX]
[--max-width <integer>] [--fit-width]
[--print-empty]
[--group-specs [<key=value> ...]]
[--public <public>]
<name> <share-types>
[<share-types> ...]
| Value | Summary |
|---|---|
| <name> | Share group type name |
| <share-types> | List of share type names or ids. example: my-share- type-1 my-share-type-2 |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --group-specs [<key=value> …] | Share group type extra specs by key and value. OPTIONAL: Default=None. Example: --group-specs consistent_snapshot_support=host. |
| --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. |
69.30. share group type delete 复制链接链接已复制到粘贴板!
Delete a share group type
Usage:
openstack share group type delete [-h]
<share-group-types>
[<share-group-types> ...]
| Value | Summary |
|---|---|
| <share-group-types> | Name or id of the share group type(s) to delete |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
69.31. share group type list 复制链接链接已复制到粘贴板!
List share types
Usage:
openstack share group 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]
[--group-specs [<key=value> ...]]
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --all | Display all share group types whether public or private. Default=False. (Admin only) |
| --group-specs [<key=value> …] | Filter share group types with group specs (key=value). |
| 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. |
69.32. share group type set 复制链接链接已复制到粘贴板!
Set share group type properties
Usage:
openstack share group type set [-h] [--group-specs [<key=value> ...]]
<share-group-type>
| Value | Summary |
|---|---|
| <share-group-type> | Name or id of the share group type to modify |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --group-specs [<key=value> …] | Extra specs key and value of share group type that will be used for share type creation. OPTIONAL: Default=None. Example: --group-specs consistent- snapshot-support=True |
69.33. share group type show 复制链接链接已复制到粘贴板!
Show share group types
Usage:
openstack share group type show [-h] [-f {json,shell,table,value,yaml}]
[-c COLUMN] [--noindent]
[--prefix PREFIX]
[--max-width <integer>] [--fit-width]
[--print-empty]
<share-group-type>
| Value | Summary |
|---|---|
| <share-group-type> | Name or id of the share group type to show |
| 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. |
69.34. share group type unset 复制链接链接已复制到粘贴板!
Unset share group type extra specs
Usage:
openstack share group type unset [-h]
<share-group-type> <key> [<key> ...]
| Value | Summary |
|---|---|
| <share-group-type> | Name or id of the share grouptype to modify |
| <key> | Remove group specs from this share group type |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
69.35. share group unset 复制链接链接已复制到粘贴板!
Unset a share group property
Usage:
openstack share group unset [-h] [--name] [--description] <share-group>
| Value | Summary |
|---|---|
| <share-group> | Name or id of the share group to set a property for. |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --name | Unset share group name. |
| --description | Unset share group description. |
69.36. share instance delete 复制链接链接已复制到粘贴板!
Forces the deletion of a share instance
Usage:
openstack share instance delete [-h] [--wait]
<instance> [<instance> ...]
| Value | Summary |
|---|---|
| <instance> | Id of the share instance to delete. |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --wait | Wait for share instance deletion. |
69.37. share instance export location list 复制链接链接已复制到粘贴板!
List share instance export locations
Usage:
openstack share instance 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]
<instance>
| Value | Summary |
|---|---|
| <instance> | Id of the share instance. |
| 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. |
69.38. share instance export location show 复制链接链接已复制到粘贴板!
Show export location for a share instance.
Usage:
openstack share instance export location show [-h]
[-f {json,shell,table,value,yaml}]
[-c COLUMN] [--noindent]
[--prefix PREFIX]
[--max-width <integer>]
[--fit-width]
[--print-empty]
<instance>
<export_location>
| Value | Summary |
|---|---|
| <instance> | Name or id of the share instance |
| <export_location> | Id of the share instance 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. |
69.39. share instance list 复制链接链接已复制到粘贴板!
List share instances
Usage:
openstack share instance 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 <share>]
[--export-location <export-location>]
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --share <share> | Name or id of the share to list instances for. |
| --export-location <export-location> | Export location to list instances for. |
| 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. |
69.40. share instance set 复制链接链接已复制到粘贴板!
Explicitly reset share instance status
Usage:
openstack share instance set [-h] [--status <status>] <instance>
| Value | Summary |
|---|---|
| <instance> | Instance to be modified. |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --status <status> | Indicate which state to assign the instance. options are: available, error, creating, deleting,error_deleting, migrating, migrating_to, server_migrating. |
69.41. share instance show 复制链接链接已复制到粘贴板!
Show share instance
Usage:
openstack share instance show [-h] [-f {json,shell,table,value,yaml}]
[-c COLUMN] [--noindent]
[--prefix PREFIX] [--max-width <integer>]
[--fit-width] [--print-empty]
<instance>
| Value | Summary |
|---|---|
| <instance> | Id of the share instance. |
| 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. |
69.42. share limits show 复制链接链接已复制到粘贴板!
Show a list of share limits for a user.
Usage:
openstack share limits show [-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]
(--absolute | --rate)
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --absolute | Get the absolute limits for the user |
| --rate | Get the api rate limits for the user |
| 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. |
69.43. share list 复制链接链接已复制到粘贴板!
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>]
[--export-location <export-location>]
[--soft-deleted] [--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>]
[--name~ <name~>] [--description~ <description~>]
| 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. |
| --export-location <export-location> | Filter shares by export location id or path. available only for microversion >= 2.35 |
| --soft-deleted | Get shares in recycle bin. if this parameter is set to True (Default=False), only shares in the recycle bin will be displayed. Available only for microversion >= 2.69. |
| --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 |
| --name~ <name~> | Filter results matching a share name pattern. Available only for microversion >= 2.36. |
| --description~ <description~> | Filter results matching a share description pattern.Available only for microversion >= 2.36. |
| 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. |
69.44. share message delete 复制链接链接已复制到粘贴板!
Remove one or more messages
Usage:
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 |
69.45. share message list 复制链接链接已复制到粘贴板!
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>]
| 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. |
69.46. share message show 复制链接链接已复制到粘贴板!
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>
| 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. |
69.47. share migration cancel 复制链接链接已复制到粘贴板!
Cancels migration of a given share when copying
Usage:
openstack share migration cancel [-h] <share>
| Value | Summary |
|---|---|
| <share> | Name or id of share to migrate. |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
69.48. share migration complete 复制链接链接已复制到粘贴板!
Completes migration for a given share
Usage:
openstack share migration complete [-h] <share>
| Value | Summary |
|---|---|
| <share> | Name or id of share to migrate. |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
69.49. share migration show 复制链接链接已复制到粘贴板!
Gets migration progress of a given share when copying
Usage:
openstack share migration 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 the share to get share migration progress information. |
| 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. |
69.50. share migration start 复制链接链接已复制到粘贴板!
Migrates share to a new host.
Usage:
openstack share migration start [-h]
[--force-host-assisted-migration <force-host-assisted-migration>]
--preserve-metadata <preserve-metadata>
--preserve-snapshots
<preserve-snapshots> --writable
<writable> --nondisruptive
<nondisruptive>
[--new-share-network <new_share_network>]
[--new-share-type <new-share-type>]
<share> <host>
| Value | Summary |
|---|---|
| <share> | Name or id of share to migrate. |
| <host> | Destination host where share will be migrated to. use the format host@backend#pool. |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --force-host-assisted-migration <force-host-assisted-migration> | Enforces the use of the host-assisted migration approach, which bypasses driver optimizations. Default=False. |
| --preserve-metadata <preserve-metadata> | Enforces migration to preserve all file metadata when moving its contents. If set to True, host- assistedmigration will not be attempted. |
| --preserve-snapshots <preserve-snapshots> | Enforces migration of the share snapshots to the destination. If set to True, host-assisted migrationwill not be attempted. |
| --writable <writable> | Enforces migration to keep the share writable while contents are being moved. If set to True, host- assistedmigration will not be attempted. |
| --nondisruptive <nondisruptive> | Enforces migration to be nondisruptive. if set to True, host-assisted migration will not be attempted. |
| --new-share-network <new_share_network> | Specify the new share network for the share. do not specify this parameter if the migrating share has to beretained within its current share network. |
| --new-share-type <new-share-type> | Specify the new share type for the share. do not specify this parameter if the migrating share has to be retained with its current share type. |
69.51. share network create 复制链接链接已复制到粘贴板!
Create a share network
Usage:
openstack share network create [-h] [-f {json,shell,table,value,yaml}]
[-c COLUMN] [--noindent]
[--prefix PREFIX]
[--max-width <integer>] [--fit-width]
[--print-empty] [--name <share-network>]
[--description <description>]
[--neutron-net-id <neutron-net-id>]
[--neutron-subnet-id <neutron-subnet-id>]
[--availability-zone <availability-zone>]
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --name <share-network> | Add a name to the share network (optional) |
| --description <description> | Add a description to the share network (optional). |
| --neutron-net-id <neutron-net-id> | Id of the neutron network that must be associated with the share network (Optional). The network specified will be associated with the default share network subnet, unless availability-zone is also specified. |
| --neutron-subnet-id <neutron-subnet-id> | Id of the neutron sub-network that must be associated with the share network (Optional). The subnet specified will be associated with the default share network subnet, unless availability-zone is also specified. |
| --availability-zone <availability-zone> | Name or id of the avalilability zone to assign the specified network subnet parameters to. Must be used in conjunction with neutron-net-id and neutron- subnet-id. Do not specify this parameter if the network must be available across all availability zones (default share network subnet). Available only for microversion >= 2.51. |
| 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. |
69.52. share network delete 复制链接链接已复制到粘贴板!
Delete one or more share networks
Usage:
openstack share network delete [-h] [--wait]
<share-network> [<share-network> ...]
| Value | Summary |
|---|---|
| <share-network> | Name or id of the share network(s) to delete |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --wait | Wait for the share network(s) to be deleted |
69.53. share network list 复制链接链接已复制到粘贴板!
List share networks
Usage:
openstack share network 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-network>]
[--name~ <share-network-name-pattern>]
[--description <share-network-description>]
[--description~ <share-network-description-pattern>]
[--all-projects] [--project <project>]
[--project-domain <project-domain>]
[--created-since <yyyy-mm-dd>]
[--created-before <yyyy-mm-dd>]
[--security-service <security-service>]
[--neutron-net-id <neutron-net-id>]
[--neutron-subnet-id <neutron-subnet-id>]
[--network-type <network-type>]
[--segmentation-id <segmentation-id>]
[--cidr <X.X.X.X/X>] [--ip-version 4/6]
[--detail]
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --name <share-network> | Filter share networks by name |
| --name~ <share-network-name-pattern> | Filter share networks by name-pattern. available only for microversion >= 2.36. |
| --description <share-network-description> | Filter share networks by description. available only for microversion >= 2.36 |
| --description~ <share-network-description-pattern> | Filter share networks by description-pattern. Available only for microversion >= 2.36. |
| --all-projects | Include all projects (admin only) |
| --project <project> | Filter share networks 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. |
| --created-since <yyyy-mm-dd> | Filter share networks by date they were created after. The date can be in the format yyyy-mm-dd. |
| --created-before <yyyy-mm-dd> | Filter share networks by date they were created before. The date can be in the format yyyy-mm-dd. |
| --security-service <security-service> | Filter share networks by the name or id of a security service attached to the network. |
| --neutron-net-id <neutron-net-id> | Filter share networks by the id of a neutron network. |
| --neutron-subnet-id <neutron-subnet-id> | Filter share networks by the id of a neutron sub network. |
| --network-type <network-type> | Filter share networks by the type of network. examples include "flat", "vlan", "vxlan", "geneve", etc. |
| --segmentation-id <segmentation-id> | Filter share networks by the segmentation id of network. Relevant only for segmented networks such as "vlan", "vxlan", "geneve", etc. |
| --cidr <X.X.X.X/X> | Filter share networks by the cidr of network. |
| --ip-version 4/6 | Filter share networks by the ip version of the network, either 4 or 6. |
| --detail | List share networks 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. |
69.54. share network set 复制链接链接已复制到粘贴板!
Set share network properties
Usage:
openstack share network set [-h] [--name <name>]
[--description <description>]
[--status <status>]
[--neutron-net-id <neutron-net-id>]
[--neutron-subnet-id <neutron-subnet-id>]
[--current-security-service <security-service>]
[--new-security-service <security-service>]
[--check-only] [--restart-check]
<share-network>
| Value | Summary |
|---|---|
| <share-network> | Name or id of the share network to set a property for |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --name <name> | Set a new name to the share network. |
| --description <description> | Set a new description to the share network. |
| --status <status> | Assign a status to the share network (admin only). Options include : active, error, network_change. Available only for microversion >= 2.63. |
| --neutron-net-id <neutron-net-id> | Update the neutron network associated with the default share network subnet. If a default share network subnet is not present or if the share network is in use, setting this will fail. |
| --neutron-subnet-id <neutron-subnet-id> | Update the neutron subnetwork associated with the default share network subnet. If a default share network subnet is not present or if the share network is in use, setting this will fail. |
| --current-security-service <security-service> | Name or id of a security service that is currently associated with a share network that must be replaced. Replacing a security service is only available for microversions >= 2.63. |
| --new-security-service <security-service> | Name or id of a security service that must be associated with the share network. When replacing a security service, the current security service must also be provided with the --current-security-service option. Replacing a security service is only available for microversions >= 2.63. |
| --check-only | Run a dry-run of a security service replacement. Available only for microversion >=2.63 |
| --restart-check | Restart a dry-run of a security service replacement. Helpful when check results are stale. Available only for microversion >=2.63. |
69.55. share network show 复制链接链接已复制到粘贴板!
Show details about a share network
Usage:
openstack share network show [-h] [-f {json,shell,table,value,yaml}]
[-c COLUMN] [--noindent] [--prefix PREFIX]
[--max-width <integer>] [--fit-width]
[--print-empty]
<share-network>
| Value | Summary |
|---|---|
| <share-network> | Name or id of the share network 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. |
69.56. share network subnet create 复制链接链接已复制到粘贴板!
Create a share network subnet
Usage:
openstack share network subnet create [-h]
[-f {json,shell,table,value,yaml}]
[-c COLUMN] [--noindent]
[--prefix PREFIX]
[--max-width <integer>]
[--fit-width] [--print-empty]
[--neutron-net-id <neutron-net-id>]
[--neutron-subnet-id <neutron-subnet-id>]
[--availability-zone <availability-zone>]
[--check-only] [--restart-check]
<share-network>
| Value | Summary |
|---|---|
| <share-network> | Share network name or id. |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --neutron-net-id <neutron-net-id> | Neutron network id. used to set up network for share servers (optional). Should be defined together with ' --neutron-subnet-id'. |
| --neutron-subnet-id <neutron-subnet-id> | Neutron subnet id. used to set up network for share servers (optional). Should be defined together with ' --neutron-net-id' to which this subnet belongs to. |
| --availability-zone <availability-zone> | Optional availability zone that the subnet is available within (Default=None). If None, the subnet will be considered as being available across all availability zones. |
| --check-only | Run a dry-run of a share network subnet create. Available only for microversion >= 2.70. |
| --restart-check | Restart a dry-run of a share network subnet create. Helpful when check results are stale. Available only for microversion >= 2.70. |
| 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. |
69.57. share network subnet delete 复制链接链接已复制到粘贴板!
Delete a share network subnet
Usage:
openstack share network subnet delete [-h]
<share-network>
<share-network-subnet>
[<share-network-subnet> ...]
| Value | Summary |
|---|---|
| <share-network> | Share network name or id. |
| <share-network-subnet> | Id(s) of share network subnet(s) to be deleted. |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
69.58. share network subnet show 复制链接链接已复制到粘贴板!
Show share network subnet
Usage:
openstack share network subnet show [-h]
[-f {json,shell,table,value,yaml}]
[-c COLUMN] [--noindent]
[--prefix PREFIX]
[--max-width <integer>]
[--fit-width] [--print-empty]
<share-network>
<share-network-subnet>
| Value | Summary |
|---|---|
| <share-network> | Share network name or id. |
| <share-network-subnet> | Id of share network subnet to show. |
| 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. |
69.59. share network unset 复制链接链接已复制到粘贴板!
Unset a share network property
Usage:
openstack share network unset [-h] [--name] [--description]
[--security-service <security-service>]
<share-network>
| Value | Summary |
|---|---|
| <share-network> | Name or id of the share network to unset a property of |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --name | Unset share network name. |
| --description | Unset share network description. |
| --security-service <security-service> | Disassociate a security service from the share network. This is only possible with unused share networks. |
69.60. share pool list 复制链接链接已复制到粘贴板!
List all backend storage pools known to the scheduler (Admin only).
Usage:
openstack share pool 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]
[--host <host>] [--backend <backend>]
[--pool <pool>] [--detail]
[--share-type <share-type>]
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --host <host> | Filter results by host name. regular expressions are supported. |
| --backend <backend> | Filter results by backend name. regular expressions are supported. |
| --pool <pool> | Filter results by pool name. regular expressions are supported. |
| --detail | Show detailed information about pools. |
| --share-type <share-type> | Filter results by share type name or id. available only for microversion >= 2.23 |
| 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. |
69.61. share properties show 复制链接链接已复制到粘贴板!
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>
| 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. |
69.62. share quota delete 复制链接链接已复制到粘贴板!
Delete Quota
Usage:
openstack share quota delete [-h]
[--user <user> | --share-type <share-type>]
<project>
| Value | Summary |
|---|---|
| <project> | Name or id of the project to delete quotas for. |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --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 |
69.63. share quota set 复制链接链接已复制到粘贴板!
Set Quota for a project, or project/user or project/share-type or a class.
Usage:
openstack share quota set [-h]
[--class | --user <user> | --share-type <share-type>]
[--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>]
[--per-share-gigabytes <per-share-gigabytes>]
[--force]
<project/class>
| Value | Summary |
|---|---|
| <project/class> | A project (name/id) or a class (e.g.: default). |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --class | Update class quota to all projects. mutually exclusive with --user and --share-type. |
| --user <user> | Name or id of a user to set the quotas for. mutually exclusive with --share-type and --class. |
| --share-type <share-type> | Name or id of a share type to set the quotas for. Mutually exclusive with --user and --class. Available only for microversion >= 2.39 |
| --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. Available only for microversion >= 2.40 |
| --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 |
| --per-share-gigabytes <per-share-gigabytes> | New value for the per-share-gigabytes quota.Available only for microversion >= 2.62 |
| --force | Force update the quota. not applicable for class update. |
69.64. share quota show 复制链接链接已复制到粘贴板!
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]
[--user <user> | --share-type <share-type>]
[--detail] [--defaults]
<project>
| Value | Summary |
|---|---|
| <project> | Name or id of the project to list quotas for. |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --user <user> | Name or id of user to list the quotas for. optional. Mutually exclusive with --share-type. |
| --share-type <share-type> | Name or id 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. |
69.65. share replica create 复制链接链接已复制到粘贴板!
Create a replica of the given share
Usage:
openstack share replica create [-h] [-f {json,shell,table,value,yaml}]
[-c COLUMN] [--noindent]
[--prefix PREFIX]
[--max-width <integer>] [--fit-width]
[--print-empty]
[--availability-zone <availability-zone>]
[--wait] [--scheduler-hint <key=value>]
[--share-network <share-network-name-or-id>]
<share>
| Value | Summary |
|---|---|
| <share> | Name or id of the share to replicate. |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --availability-zone <availability-zone> | Availability zone in which the replica should be created. |
| --wait | Wait for replica creation |
| --scheduler-hint <key=value> | Scheduler hint for the share replica as key=value pairs, Supported key is only_host. Available for microversion >= 2.67. |
| --share-network <share-network-name-or-id> | Optional network info id or name. available for microversion >= 2.72 |
| 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. |
69.66. share replica delete 复制链接链接已复制到粘贴板!
Delete one or more share replicas
Usage:
openstack share replica delete [-h] [--force] [--wait]
<replica> [<replica> ...]
| Value | Summary |
|---|---|
| <replica> | Name or id of the replica(s) to delete |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --force | Attempt to force delete a replica on its backend. using this option will purge the replica from Manila even if it is not cleaned up on the backend. |
| --wait | Wait for share replica deletion |
69.67. share replica export location list 复制链接链接已复制到粘贴板!
List export locations of a share replica.
Usage:
openstack share replica 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]
<replica>
| Value | Summary |
|---|---|
| <replica> | Id of the share replica. |
| 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. |
69.68. share replica export location show 复制链接链接已复制到粘贴板!
Show details of a share replica’s export location.
Usage:
openstack share replica export location show [-h]
[-f {json,shell,table,value,yaml}]
[-c COLUMN] [--noindent]
[--prefix PREFIX]
[--max-width <integer>]
[--fit-width]
[--print-empty]
<replica>
<export-location>
| Value | Summary |
|---|---|
| <replica> | Id of the share replica. |
| <export-location> | Id of the share replica 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. |
69.69. share replica list 复制链接链接已复制到粘贴板!
List share replicas
Usage:
openstack share replica 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 <share>]
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --share <share> | Name or id of the share to list replicas for. |
| 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. |
69.70. share replica promote 复制链接链接已复制到粘贴板!
Promote specified replica to active replica_state.
Usage:
openstack share replica promote [-h]
[--quiesce-wait-time <quiesce-wait-time>]
<replica>
| Value | Summary |
|---|---|
| <replica> | Id of the share replica. |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --quiesce-wait-time <quiesce-wait-time> | Quiesce wait time in seconds. available for microversion >= 2.75 |
69.71. share replica resync 复制链接链接已复制到粘贴板!
Attempt to update the share replica with its active mirror.
Usage:
openstack share replica resync [-h] <replica>
| Value | Summary |
|---|---|
| <replica> | Id of the share replica to resync. |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
69.72. share replica set 复制链接链接已复制到粘贴板!
Explicitly set share replica status and/or replica-state
Usage:
openstack share replica set [-h] [--replica-state <replica-state>]
[--status <status>]
<replica>
| Value | Summary |
|---|---|
| <replica> | Id of the share replica to modify. |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --replica-state <replica-state> | Indicate which replica_state to assign the replica. Options include in_sync, out_of_sync, active and error. |
| --status <status> | Indicate which status to assign the replica. options include available, error, creating, deleting and error_deleting. |
69.73. share replica show 复制链接链接已复制到粘贴板!
Show details about a replica
Usage:
openstack share replica show [-h] [-f {json,shell,table,value,yaml}]
[-c COLUMN] [--noindent] [--prefix PREFIX]
[--max-width <integer>] [--fit-width]
[--print-empty]
<replica>
| Value | Summary |
|---|---|
| <replica> | Id of the share replica. available only for microversion >= 2.47. |
| 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. |
69.74. share resize 复制链接链接已复制到粘贴板!
Resize a share
Usage:
openstack share resize [-h] [--wait] [--force] <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 |
| --force | Only applicable when increasing the size of the share,only available with microversion 2.64 and higher. (admin only) |
69.75. share restore 复制链接链接已复制到粘贴板!
Restores this share or more shares from the recycle bin
Usage:
openstack share restore [-h] <share> [<share> ...]
| Value | Summary |
|---|---|
| <share> | Name or id of the share(s) |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
69.76. share revert 复制链接链接已复制到粘贴板!
Revert a share to the specified snapshot.
Usage:
openstack share revert [-h] [--wait] <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 |
| --wait | Wait for share revert |
69.77. share security service create 复制链接链接已复制到粘贴板!
Create security service used by project.
Usage:
openstack share security service create [-h]
[-f {json,shell,table,value,yaml}]
[-c COLUMN] [--noindent]
[--prefix PREFIX]
[--max-width <integer>]
[--fit-width] [--print-empty]
[--dns-ip <dns-ip>] [--ou <ou>]
[--server <server>]
[--domain <domain>]
[--user <user]
[--password <password>]
[--name <name>]
[--description <description>]
[--default-ad-site <default_ad_site>]
<type>
| Value | Summary |
|---|---|
| <type> | Security service type. possible options are: ldap, kerberos, active_directory. |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --dns-ip <dns-ip> | Dns ip address of the security service used inside project’s network. |
| --ou <ou> | Security service ou (organizational unit). available only for microversion >= 2.44. |
| --server <server> | Security service ip address or hostname. |
| --domain <domain> | Security service domain. |
| --user <user | Security service user or group used by project. |
| --password <password> | Password used by user. |
| --name <name> | Security service name. |
| --description <description> | Security service description. |
| --default-ad-site <default_ad_site> | Default ad site. available only for microversion >= 2.76. Can be provided in the place of --server but not along with it. |
| 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. |
69.78. share security service delete 复制链接链接已复制到粘贴板!
Delete one or more security services.
Usage:
openstack share security service delete [-h]
<security-service>
[<security-service> ...]
| Value | Summary |
|---|---|
| <security-service> | Name or id of the security service(s) to delete. |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
69.79. share security service list 复制链接链接已复制到粘贴板!
List security services.
Usage:
openstack share security service 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]
[--share-network <share-network>]
[--status <status>]
[--name <name>] [--type <type>]
[--user <user]
[--dns-ip <dns-ip>] [--ou <ou>]
[--default-ad-site <default_ad_site>]
[--server <server>]
[--domain <domain>] [--detail]
[--limit <num-security-services>]
[--marker <security-service>]
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --all-projects | Display information from all projects (admin only). |
| --share-network <share-network> | Filter results by share network name or id. |
| --status <status> | Filter results by status. |
| --name <name> | Filter results by security service name. |
| --type <type> | Filter results by security service type. |
| --user <user | Filter results by security service user or group used by project. |
| --dns-ip <dns-ip> | Filter results by dns ip address used inside project’s network. |
| --ou <ou> | Filter results by security service ou (organizational Unit). Available only for microversion >= 2.44. |
| --default-ad-site <default_ad_site> | Filter results by security service default_ad_site. Available only for microversion >= 2.76. |
| --server <server> | Filter results by security service ip address or hostname. |
| --domain <domain> | Filter results by security service domain. |
| --detail | Show detailed information about filtered security services. |
| --limit <num-security-services> | Limit the number of security services returned |
| --marker <security-service> | The last security service 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. |
69.80. share security service set 复制链接链接已复制到粘贴板!
Set security service.
Usage:
openstack share security service set [-h] [--dns-ip <dns-ip>]
[--ou <ou>] [--server <server>]
[--domain <domain>] [--user <user]
[--password <password>]
[--name <name>]
[--description <description>]
[--default-ad-site <default_ad_site>]
<security-service>
| Value | Summary |
|---|---|
| <security-service> | Security service name or id. |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --dns-ip <dns-ip> | Set dns ip address used inside project’s network. |
| --ou <ou> | Set security service ou (organizational unit). Available only for microversion >= 2.44. |
| --server <server> | Set security service ip address or hostname. |
| --domain <domain> | Set security service domain. |
| --user <user | Set security service user or group used by project. |
| --password <password> | Set password used by user. |
| --name <name> | Set security service name. |
| --description <description> | Set security service description. |
| --default-ad-site <default_ad_site> | Default ad site. available only for microversion >= 2.76. |
69.81. share security service show 复制链接链接已复制到粘贴板!
Show security service.
Usage:
openstack share security service show [-h]
[-f {json,shell,table,value,yaml}]
[-c COLUMN] [--noindent]
[--prefix PREFIX]
[--max-width <integer>]
[--fit-width] [--print-empty]
<security-service>
| Value | Summary |
|---|---|
| <security-service> | Security service name or id to show. |
| 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. |
69.82. share security service unset 复制链接链接已复制到粘贴板!
Unset security service.
Usage:
openstack share security service unset [-h] [--dns-ip] [--ou]
[--server] [--domain] [--user]
[--password] [--name]
[--description]
[--default-ad-site]
<security-service>
| Value | Summary |
|---|---|
| <security-service> | Security service name or id. |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --dns-ip | Unset dns ip address used inside project’s network. |
| --ou | Unset security service ou (organizational unit). Available only for microversion >= 2.44. |
| --server | Unset security service ip address or hostname. |
| --domain | Unset security service domain. |
| --user | Unset security service user or group used by project. |
| --password | Unset password used by user. |
| --name | Unset security service name. |
| --description | Unset security service description. |
| --default-ad-site | Default ad site. available only for microversion >= 2.76. |
69.83. share server abandon 复制链接链接已复制到粘贴板!
Remove one or more share server(s) (Admin only).
Usage:
openstack share server abandon [-h] [--force] [--wait]
<share-server> [<share-server> ...]
| Value | Summary |
|---|---|
| <share-server> | Id of the server(s) to be abandoned. |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --force | Enforces the unmanage share server operation, even if the backend driver does not support it. |
| --wait | Wait until share server is abandoned |
69.84. share server adopt 复制链接链接已复制到粘贴板!
Adopt share server not handled by Manila (Admin only).
Usage:
openstack share server adopt [-h] [-f {json,shell,table,value,yaml}]
[-c COLUMN] [--noindent] [--prefix PREFIX]
[--max-width <integer>] [--fit-width]
[--print-empty]
[--driver-options <key=value>]
[--share-network-subnet <share-network-subnet>]
[--wait]
<host> <share-network> <identifier>
| Value | Summary |
|---|---|
| <host> | Backend name as "<node_hostname>@<backend_name>". |
| <share-network> | Share network where share server has network allocations in. |
| <identifier> | A driver-specific share server identifier required by the driver to manage the share server. |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --driver-options <key=value> | One or more driver-specific key=value pairs that may be necessary to manage the share server (Optional, Default=None). |
| --share-network-subnet <share-network-subnet> | Share network subnet where share server has network allocations in.The default subnet will be used if it’s not specified. Available for microversion >= 2.51 (Optional, Default=None). |
| --wait | Wait until share server 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. |
69.85. share server delete 复制链接链接已复制到粘贴板!
Delete one or more share servers
Usage:
openstack share server delete [-h] [--wait]
<share-server> [<share-server> ...]
| Value | Summary |
|---|---|
| <share-server> | Id(s) of the server(s) to delete |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --wait | Wait for share server deletion. |
69.86. share server list 复制链接链接已复制到粘贴板!
List all share servers (Admin only).
Usage:
openstack share server 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]
[--host <hostname>] [--status <status>]
[--share-network <share-network>]
[--project <project>]
[--share-network-subnet <share-network-subnet>]
[--project-domain <project-domain>]
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --host <hostname> | Filter results by name of host. |
| --status <status> | Filter results by status. |
| --share-network <share-network> | Filter results by share network name or id. |
| --project <project> | Filter results by project name or id. |
| --share-network-subnet <share-network-subnet> | Filter results by share network subnet that the share server’s network allocation exists within. Available for microversion >= 2.51 (Optional, Default=None) |
| --project-domain <project-domain> | Domain the project belongs to (name or id). this can be used in case collisions between project names exist. |
| 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. |
69.87. share server migration cancel 复制链接链接已复制到粘贴板!
Cancels migration of a given share server when copying
Usage:
openstack share server migration cancel [-h] <share_server>
| Value | Summary |
|---|---|
| <share_server> | Id of share server to cancel migration. |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
69.88. share server migration complete 复制链接链接已复制到粘贴板!
Completes migration for a given share server
Usage:
openstack share server migration complete [-h] <share_server>
| Value | Summary |
|---|---|
| <share_server> | Id of share server to complete migration. |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
69.89. share server migration show 复制链接链接已复制到粘贴板!
Gets migration progress of a given share server when copying
Usage:
openstack share server migration show [-h]
[-f {json,shell,table,value,yaml}]
[-c COLUMN] [--noindent]
[--prefix PREFIX]
[--max-width <integer>]
[--fit-width] [--print-empty]
<share_server>
| Value | Summary |
|---|---|
| <share_server> | Id of share server to show migration progress for. |
| 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. |
69.90. share server migration start 复制链接链接已复制到粘贴板!
Migrates share server to a new host.
Usage:
openstack share server migration start [-h]
[-f {json,shell,table,value,yaml}]
[-c COLUMN] [--noindent]
[--prefix PREFIX]
[--max-width <integer>]
[--fit-width] [--print-empty]
--preserve-snapshots
<True|False> --writable
<True|False> --nondisruptive
<True|False>
[--new-share-network <new_share_network>]
[--check-only]
<share_server> <host@backend>
| Value | Summary |
|---|---|
| <share_server> | Id of share server to start migration. |
| <host@backend> | Destination to migrate the share server to. use the format <node_hostname>@<backend_name>. |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --preserve-snapshots <True|False> | Set to true if snapshots must be preserved at the migration destination. |
| --writable <True|False> | Enforces migration to keep all its shares writable while contents are being moved. |
| --nondisruptive <True|False> | Enforces migration to be nondisruptive. |
| --new-share-network <new_share_network> | Specify a new share network for the share server. do not specify this parameter if the migrating share server has to be retained within its current share network. |
| --check-only | Run a dry-run of the share server migration. |
| 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. |
69.91. share server set 复制链接链接已复制到粘贴板!
Set share server properties (Admin only).
Usage:
openstack share server set [-h] [--status <status>]
[--task-state <task-state>]
<share-server>
| Value | Summary |
|---|---|
| <share-server> | Id of the share server to modify. |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --status <status> | Assign a status to the share server. options include: unmanage_starting, server_migrating_to, error, unmanage_error, manage_error, inactive, active, server_migrating, manage_starting, deleting, network_change. If no state is provided, active will be used. |
| --task-state <task-state> | Indicate which task state to assign the share server. Options include migration_starting, migration_in_progress, migration_completing, migration_success, migration_error, migration_cancelled, migration_driver_in_progress, migration_driver_phase1_done, data_copying_starting, data_copying_in_progress, data_copying_completing, data_copying_completed, data_copying_cancelled, data_copying_error. |
69.92. share server show 复制链接链接已复制到粘贴板!
Show details about a share server (Admin only).
Usage:
openstack share server show [-h] [-f {json,shell,table,value,yaml}]
[-c COLUMN] [--noindent] [--prefix PREFIX]
[--max-width <integer>] [--fit-width]
[--print-empty]
<share-server>
| Value | Summary |
|---|---|
| <share-server> | Id of share server. |
| 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. |
69.93. share service list 复制链接链接已复制到粘贴板!
List share services (Admin only).
Usage:
openstack share service 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]
[--host <host>] [--binary <binary>]
[--status <status>] [--state <state>]
[--zone <zone>]
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --host <host> | Filter services by name of the host. |
| --binary <binary> | Filter services by the name of the service. |
| --status <status> | Filter results by status. |
| --state <state> | Filter results by state. |
| --zone <zone> | Filter services by their availability zone. |
| 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. |
69.94. share service set 复制链接链接已复制到粘贴板!
Enable/Disable share service (Admin only).
Usage:
openstack share service set [-h] [--enable | --disable] <host> <binary>
| Value | Summary |
|---|---|
| <host> | Host name as example_host@example_backend. |
| <binary> | Service binary, could be manila-share, manila-scheduler or manila-data |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --enable | Enable share service |
| --disable | Disable share service |
69.95. share set 复制链接链接已复制到粘贴板!
Set share properties
Usage:
openstack share set [-h] [--property <key=value>] [--name <name>]
[--description <description>] [--public <public>]
[--status <status>] [--task-state <task-state>]
<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. |
| --task-state <task-state> | Indicate which task state to assign the share. options include migration_starting, migration_in_progress, migration_completing, migration_success, migration_error, migration_cancelled, migration_driver_in_progress, migration_driver_phase1_done, data_copying_starting, data_copying_in_progress, data_copying_completing, data_copying_completed, data_copying_cancelled, data_copying_error. |
69.96. share show 复制链接链接已复制到粘贴板!
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>
| 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. |
69.97. share snapshot abandon 复制链接链接已复制到粘贴板!
Abandon share snapshot(s)
Usage:
openstack share snapshot abandon [-h] [--wait]
<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 |
| --wait | Wait until share snapshot is abandoned |
69.98. share snapshot access create 复制链接链接已复制到粘贴板!
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>
| 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. |
69.99. share snapshot access delete 复制链接链接已复制到粘贴板!
Delete access to a snapshot
Usage:
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 |
69.100. share snapshot access list 复制链接链接已复制到粘贴板!
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>
| 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. |
69.101. share snapshot adopt 复制链接链接已复制到粘贴板!
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>] [--wait]
<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) |
| --wait | Wait until share snapshot 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. |
69.102. share snapshot create 复制链接链接已复制到粘贴板!
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>] [--wait]
[--property <key=value>]
<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). |
| --wait | Wait for share snapshot creation |
| --property <key=value> | Set a property to this snapshot (repeat option to set multiple properties).Available only for microversion >= 2.73 |
| 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. |
69.103. share snapshot delete 复制链接链接已复制到粘贴板!
Delete one or more share snapshots
Usage:
openstack share snapshot delete [-h] [--force] [--wait]
<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. |
| --wait | Wait for share snapshot deletion |
69.104. share snapshot export location list 复制链接链接已复制到粘贴板!
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>
| 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. |
69.105. share snapshot export location show 复制链接链接已复制到粘贴板!
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>
| 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. |
69.106. share snapshot instance export location list 复制链接链接已复制到粘贴板!
List export locations from a share snapshot instance.
Usage:
openstack share snapshot instance 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]
<instance>
| Value | Summary |
|---|---|
| <instance> | Name or id of the share instance. |
| 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. |
69.107. share snapshot instance export location show 复制链接链接已复制到粘贴板!
Show export location of the share snapshot instance.
Usage:
openstack share snapshot instance export location show
[-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--noindent]
[--prefix PREFIX] [--max-width <integer>] [--fit-width] [--print-empty]
<snapshot_instance> <export_location>
| Value | Summary |
|---|---|
| <snapshot_instance> | Id of the share snapshot instance. |
| <export_location> | Id of the share snapshot instance 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. |
69.108. share snapshot instance list 复制链接链接已复制到粘贴板!
List all share snapshot instances
Usage:
openstack share snapshot instance 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 <snapshot>]
[--detailed]
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --snapshot <snapshot> | Filter results by share snapshot id. |
| --detailed | Show detailed information about snapshot instances. |
| 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. |
69.109. share snapshot instance set 复制链接链接已复制到粘贴板!
Explicitly update the state of a share snapshot instance.
Usage:
openstack share snapshot instance set [-h] [--status <status>]
<snapshot_instance>
| Value | Summary |
|---|---|
| <snapshot_instance> | Id of the share snapshot instance to update. |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --status <status> | Indicate state to update the snapshot instance to. Default is available. |
69.110. share snapshot instance show 复制链接链接已复制到粘贴板!
Show details about a share snapshot instance.
Usage:
openstack share snapshot instance show [-h]
[-f {json,shell,table,value,yaml}]
[-c COLUMN] [--noindent]
[--prefix PREFIX]
[--max-width <integer>]
[--fit-width] [--print-empty]
<snapshot_instance>
| Value | Summary |
|---|---|
| <snapshot_instance> | Id of the share snapshot instance. |
| 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. |
69.111. share snapshot list 复制链接链接已复制到粘贴板!
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] [--property <key=value>]
| 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 |
| --property <key=value> | Filter snapshots having a given metadata key=value property. (repeat option to filter by multiple properties) |
| 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. |
69.112. share snapshot set 复制链接链接已复制到粘贴板!
Set share snapshot properties
Usage:
openstack share snapshot set [-h] [--name <name>]
[--description <description>]
[--status <status>]
[--property <key=value>]
<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. |
| --property <key=value> | Set a property to this snapshot (repeat option to set multiple properties) |
69.113. share snapshot show 复制链接链接已复制到粘贴板!
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>
| 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. |
69.114. share snapshot unset 复制链接链接已复制到粘贴板!
Unset a share snapshot property
Usage:
openstack share snapshot unset [-h] [--name] [--description]
[--property <key>]
<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. |
| --property <key> | Remove a property from snapshot (repeat option to remove multiple properties) |
69.115. share transfer accept 复制链接链接已复制到粘贴板!
Accepts a share transfer
Usage:
openstack share transfer accept [-h] [--clear-rules]
<transfer> <auth_key>
| Value | Summary |
|---|---|
| <transfer> | Id of transfer to accept. |
| <auth_key> | Authentication key of transfer to accept. |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --clear-rules, --clear_rules | Whether manila should clean up the access rules after the transfer is complete. (Default=False) |
69.116. share transfer create 复制链接链接已复制到粘贴板!
Create a new share transfer
Usage:
openstack share transfer create [-h] [-f {json,shell,table,value,yaml}]
[-c COLUMN] [--noindent]
[--prefix PREFIX]
[--max-width <integer>] [--fit-width]
[--print-empty] [--name <name>]
<share>
| Value | Summary |
|---|---|
| <share> | Name or id of share to transfer. |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --name <name> | Transfer name. default=none. |
| 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. |
69.117. share transfer delete 复制链接链接已复制到粘贴板!
Remove one or more transfers
Usage:
openstack share transfer delete [-h] <transfer> [<transfer> ...]
| Value | Summary |
|---|---|
| <transfer> | Name(s) or id(s) of the transfer(s). |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
69.118. share transfer list 复制链接链接已复制到粘贴板!
Lists all transfers
Usage:
openstack share transfer 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>]
[--id <id>]
[--resource-type <resource_type>]
[--resource-id <resource_id>]
[--source-project-id <source_project_id>]
[--limit <limit>] [--offset <offset>]
[--sort-key <sort_key>]
[--sort-dir <sort_dir>]
[--detailed [<0|1>]]
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --all-projects | Shows details for all tenants. (admin only). |
| --name <name> | Filter share transfers by name. default=none. |
| --id <id> | Filter share transfers by id. default=none. |
| --resource-type <resource_type>, --resource_type <resource_type> | Filter share transfers by resource type, which can be share. Default=None. |
| --resource-id <resource_id>, --resource_id <resource_id> | Filter share transfers by resource id. default=none. |
| --source-project-id <source_project_id>, --source_project_id <source_project_id> | Filter share transfers by id of the project that initiated the transfer. Default=None. |
| --limit <limit> | Maximum number of transfer records to return. (Default=None) |
| --offset <offset> | Start position of transfer records listing. |
| --sort-key <sort_key>, --sort_key <sort_key> | Key to be sorted, available keys are (id, resource_type, resource_id, name, source_project_id, destination_project_id, created_at, expires_at). Default=None. |
| --sort-dir <sort_dir>, --sort_dir <sort_dir> | Sort direction, available values are (asc, desc). OPTIONAL: Default=None. |
| --detailed [<0|1>] | Show detailed information about filtered share transfers. |
| 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. |
69.119. share transfer show 复制链接链接已复制到粘贴板!
Show details about a share transfer
Usage:
openstack share transfer show [-h] [-f {json,shell,table,value,yaml}]
[-c COLUMN] [--noindent]
[--prefix PREFIX] [--max-width <integer>]
[--fit-width] [--print-empty]
<transfer>
| Value | Summary |
|---|---|
| <transfer> | Name or id of transfer to show. |
| 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. |
69.120. share type access create 复制链接链接已复制到粘贴板!
Add access for share type
Usage:
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 |
69.121. share type access delete 复制链接链接已复制到粘贴板!
Delete access from share type
Usage:
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 |
69.122. share type access list 复制链接链接已复制到粘贴板!
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>
| 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. |
69.123. share type create 复制链接链接已复制到粘贴板!
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>
| 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. |
69.124. share type delete 复制链接链接已复制到粘贴板!
Delete a share type
Usage:
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 |
69.125. share type list 复制链接链接已复制到粘贴板!
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> ...]]
| 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. |
69.126. share type set 复制链接链接已复制到粘贴板!
Set share type properties
Usage:
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 |
69.127. share type show 复制链接链接已复制到粘贴板!
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>
| 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. |
69.128. share type unset 复制链接链接已复制到粘贴板!
Unset share type extra specs
Usage:
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 |
69.129. share unset 复制链接链接已复制到粘贴板!
Unset share properties
Usage:
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. |