此内容没有您所选择的语言版本。

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> ...]

Expand
Table 69.1. Positional arguments
ValueSummary

<share>

Name or id of the share(s)

Expand
Table 69.2. Command arguments
ValueSummary

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

Expand
Table 69.3. Positional arguments
ValueSummary

<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.

Expand
Table 69.4. Command arguments
ValueSummary

-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.

Expand
Table 69.5. Output formatter options
ValueSummary

-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

Expand
Table 69.6. JSON formatter options
ValueSummary

--noindent

Whether to disable indenting the json

Expand
Table 69.7. Shell formatter options
ValueSummary

--prefix PREFIX

Add a prefix to all variable names

Expand
Table 69.8. Table formatter options
ValueSummary

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

Expand
Table 69.9. Positional arguments
ValueSummary

<share>

Name or id of the nas share to modify.

<id>

Id of the access rule to be deleted.

Expand
Table 69.10. Command arguments
ValueSummary

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

Expand
Table 69.11. Positional arguments
ValueSummary

<share>

Name or id of the share.

Expand
Table 69.12. Command arguments
ValueSummary

-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

Expand
Table 69.13. Output formatter options
ValueSummary

-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

Expand
Table 69.14. CSV formatter options
ValueSummary

--quote {all,minimal,none,nonnumeric}

When to include quotes, defaults to nonnumeric

Expand
Table 69.15. JSON formatter options
ValueSummary

--noindent

Whether to disable indenting the json

Expand
Table 69.16. Table formatter options
ValueSummary

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

Expand
Table 69.17. Positional arguments
ValueSummary

<access_id>

Id of the nas share access rule.

Expand
Table 69.18. Command arguments
ValueSummary

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

Expand
Table 69.19. Positional arguments
ValueSummary

<access_id>

Id of the nas share access rule.

Expand
Table 69.20. Command arguments
ValueSummary

-h, --help

Show this help message and exit

Expand
Table 69.21. Output formatter options
ValueSummary

-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

Expand
Table 69.22. JSON formatter options
ValueSummary

--noindent

Whether to disable indenting the json

Expand
Table 69.23. Shell formatter options
ValueSummary

--prefix PREFIX

Add a prefix to all variable names

Expand
Table 69.24. Table formatter options
ValueSummary

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

Expand
Table 69.25. Positional arguments
ValueSummary

<access_id>

Id of the nas share access rule.

Expand
Table 69.26. Command arguments
ValueSummary

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

Expand
Table 69.27. Positional arguments
ValueSummary

<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.

Expand
Table 69.28. Command arguments
ValueSummary

-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

Expand
Table 69.29. Output formatter options
ValueSummary

-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

Expand
Table 69.30. JSON formatter options
ValueSummary

--noindent

Whether to disable indenting the json

Expand
Table 69.31. Shell formatter options
ValueSummary

--prefix PREFIX

Add a prefix to all variable names

Expand
Table 69.32. Table formatter options
ValueSummary

--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]

Expand
Table 69.33. Command arguments
ValueSummary

-h, --help

Show this help message and exit

Expand
Table 69.34. Output formatter options
ValueSummary

-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

Expand
Table 69.35. CSV formatter options
ValueSummary

--quote {all,minimal,none,nonnumeric}

When to include quotes, defaults to nonnumeric

Expand
Table 69.36. JSON formatter options
ValueSummary

--noindent

Whether to disable indenting the json

Expand
Table 69.37. Table formatter options
ValueSummary

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

Expand
Table 69.38. Positional arguments
ValueSummary

<share_protocol>

Share protocol (nfs, cifs, cephfs, glusterfs or hdfs)

<size>

Share size in gib.

Expand
Table 69.39. Command arguments
ValueSummary

-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)

Expand
Table 69.40. Output formatter options
ValueSummary

-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

Expand
Table 69.41. JSON formatter options
ValueSummary

--noindent

Whether to disable indenting the json

Expand
Table 69.42. Shell formatter options
ValueSummary

--prefix PREFIX

Add a prefix to all variable names

Expand
Table 69.43. Table formatter options
ValueSummary

--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> ...]

Expand
Table 69.44. Positional arguments
ValueSummary

<share>

Share(s) to delete (name or id)

Expand
Table 69.45. Command arguments
ValueSummary

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

Expand
Table 69.46. Positional arguments
ValueSummary

<share>

Name or id of share

Expand
Table 69.47. Command arguments
ValueSummary

-h, --help

Show this help message and exit

Expand
Table 69.48. Output formatter options
ValueSummary

-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

Expand
Table 69.49. CSV formatter options
ValueSummary

--quote {all,minimal,none,nonnumeric}

When to include quotes, defaults to nonnumeric

Expand
Table 69.50. JSON formatter options
ValueSummary

--noindent

Whether to disable indenting the json

Expand
Table 69.51. Table formatter options
ValueSummary

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

Expand
Table 69.52. Positional arguments
ValueSummary

<share>

Name or id of share

<export-location>

Id of the share export location

Expand
Table 69.53. Command arguments
ValueSummary

-h, --help

Show this help message and exit

Expand
Table 69.54. Output formatter options
ValueSummary

-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

Expand
Table 69.55. JSON formatter options
ValueSummary

--noindent

Whether to disable indenting the json

Expand
Table 69.56. Shell formatter options
ValueSummary

--prefix PREFIX

Add a prefix to all variable names

Expand
Table 69.57. Table formatter options
ValueSummary

--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]

Expand
Table 69.58. Command arguments
ValueSummary

-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

Expand
Table 69.59. Output formatter options
ValueSummary

-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

Expand
Table 69.60. JSON formatter options
ValueSummary

--noindent

Whether to disable indenting the json

Expand
Table 69.61. Shell formatter options
ValueSummary

--prefix PREFIX

Add a prefix to all variable names

Expand
Table 69.62. Table formatter options
ValueSummary

--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> ...]

Expand
Table 69.63. Positional arguments
ValueSummary

<share_group>

Name or id of the share group(s) to delete

Expand
Table 69.64. Command arguments
ValueSummary

-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~>]

Expand
Table 69.65. Command arguments
ValueSummary

-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.

Expand
Table 69.66. Output formatter options
ValueSummary

-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

Expand
Table 69.67. CSV formatter options
ValueSummary

--quote {all,minimal,none,nonnumeric}

When to include quotes, defaults to nonnumeric

Expand
Table 69.68. JSON formatter options
ValueSummary

--noindent

Whether to disable indenting the json

Expand
Table 69.69. Table formatter options
ValueSummary

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

Expand
Table 69.70. Positional arguments
ValueSummary

<share-group>

Name or id of the share group to update.

Expand
Table 69.71. Command arguments
ValueSummary

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

Expand
Table 69.72. Positional arguments
ValueSummary

<share-group>

Name or id of the share group.

Expand
Table 69.73. Command arguments
ValueSummary

-h, --help

Show this help message and exit

Expand
Table 69.74. Output formatter options
ValueSummary

-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

Expand
Table 69.75. JSON formatter options
ValueSummary

--noindent

Whether to disable indenting the json

Expand
Table 69.76. Shell formatter options
ValueSummary

--prefix PREFIX

Add a prefix to all variable names

Expand
Table 69.77. Table formatter options
ValueSummary

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

Expand
Table 69.78. Positional arguments
ValueSummary

<share-group>

Name or id of the share group.

Expand
Table 69.79. Command arguments
ValueSummary

-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

Expand
Table 69.80. Output formatter options
ValueSummary

-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

Expand
Table 69.81. JSON formatter options
ValueSummary

--noindent

Whether to disable indenting the json

Expand
Table 69.82. Shell formatter options
ValueSummary

--prefix PREFIX

Add a prefix to all variable names

Expand
Table 69.83. Table formatter options
ValueSummary

--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> ...]

Expand
Table 69.84. Positional arguments
ValueSummary

<share-group-snapshot>

Name or id of the group snapshot(s) to delete

Expand
Table 69.85. Command arguments
ValueSummary

-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]

Expand
Table 69.86. Command arguments
ValueSummary

-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.

Expand
Table 69.87. Output formatter options
ValueSummary

-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

Expand
Table 69.88. CSV formatter options
ValueSummary

--quote {all,minimal,none,nonnumeric}

When to include quotes, defaults to nonnumeric

Expand
Table 69.89. JSON formatter options
ValueSummary

--noindent

Whether to disable indenting the json

Expand
Table 69.90. Table formatter options
ValueSummary

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

Expand
Table 69.91. Positional arguments
ValueSummary

<share-group-snapshot>

Name or id of the group snapshot to list members for

Expand
Table 69.92. Command arguments
ValueSummary

-h, --help

Show this help message and exit

Expand
Table 69.93. Output formatter options
ValueSummary

-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

Expand
Table 69.94. CSV formatter options
ValueSummary

--quote {all,minimal,none,nonnumeric}

When to include quotes, defaults to nonnumeric

Expand
Table 69.95. JSON formatter options
ValueSummary

--noindent

Whether to disable indenting the json

Expand
Table 69.96. Table formatter options
ValueSummary

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

Expand
Table 69.97. Positional arguments
ValueSummary

<share-group-snapshot>

Name or id of the snapshot to set a property for

Expand
Table 69.98. Command arguments
ValueSummary

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

Expand
Table 69.99. Positional arguments
ValueSummary

<share-group-snapshot>

Name or id of the share group snapshot to display

Expand
Table 69.100. Command arguments
ValueSummary

-h, --help

Show this help message and exit

Expand
Table 69.101. Output formatter options
ValueSummary

-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

Expand
Table 69.102. JSON formatter options
ValueSummary

--noindent

Whether to disable indenting the json

Expand
Table 69.103. Shell formatter options
ValueSummary

--prefix PREFIX

Add a prefix to all variable names

Expand
Table 69.104. Table formatter options
ValueSummary

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

Expand
Table 69.105. Positional arguments
ValueSummary

<share-group-snapshot>

Name or id of the group snapshot to unset a property of

Expand
Table 69.106. Command arguments
ValueSummary

-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> ...]

Expand
Table 69.107. Positional arguments
ValueSummary

<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.

Expand
Table 69.108. Command arguments
ValueSummary

-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> ...]

Expand
Table 69.109. Positional arguments
ValueSummary

<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.

Expand
Table 69.110. Command arguments
ValueSummary

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

Expand
Table 69.111. Positional arguments
ValueSummary

<share-group-type>

Filter results by share group type name or id.

Expand
Table 69.112. Command arguments
ValueSummary

-h, --help

Show this help message and exit

Expand
Table 69.113. Output formatter options
ValueSummary

-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

Expand
Table 69.114. CSV formatter options
ValueSummary

--quote {all,minimal,none,nonnumeric}

When to include quotes, defaults to nonnumeric

Expand
Table 69.115. JSON formatter options
ValueSummary

--noindent

Whether to disable indenting the json

Expand
Table 69.116. Table formatter options
ValueSummary

--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> ...]

Expand
Table 69.117. Positional arguments
ValueSummary

<name>

Share group type name

<share-types>

List of share type names or ids. example: my-share- type-1 my-share-type-2

Expand
Table 69.118. Command arguments
ValueSummary

-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).

Expand
Table 69.119. Output formatter options
ValueSummary

-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

Expand
Table 69.120. JSON formatter options
ValueSummary

--noindent

Whether to disable indenting the json

Expand
Table 69.121. Shell formatter options
ValueSummary

--prefix PREFIX

Add a prefix to all variable names

Expand
Table 69.122. Table formatter options
ValueSummary

--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> ...]

Expand
Table 69.123. Positional arguments
ValueSummary

<share-group-types>

Name or id of the share group type(s) to delete

Expand
Table 69.124. Command arguments
ValueSummary

-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> ...]]

Expand
Table 69.125. Command arguments
ValueSummary

-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).

Expand
Table 69.126. Output formatter options
ValueSummary

-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

Expand
Table 69.127. CSV formatter options
ValueSummary

--quote {all,minimal,none,nonnumeric}

When to include quotes, defaults to nonnumeric

Expand
Table 69.128. JSON formatter options
ValueSummary

--noindent

Whether to disable indenting the json

Expand
Table 69.129. Table formatter options
ValueSummary

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

Expand
Table 69.130. Positional arguments
ValueSummary

<share-group-type>

Name or id of the share group type to modify

Expand
Table 69.131. Command arguments
ValueSummary

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

Expand
Table 69.132. Positional arguments
ValueSummary

<share-group-type>

Name or id of the share group type to show

Expand
Table 69.133. Command arguments
ValueSummary

-h, --help

Show this help message and exit

Expand
Table 69.134. Output formatter options
ValueSummary

-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

Expand
Table 69.135. JSON formatter options
ValueSummary

--noindent

Whether to disable indenting the json

Expand
Table 69.136. Shell formatter options
ValueSummary

--prefix PREFIX

Add a prefix to all variable names

Expand
Table 69.137. Table formatter options
ValueSummary

--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> ...]

Expand
Table 69.138. Positional arguments
ValueSummary

<share-group-type>

Name or id of the share grouptype to modify

<key>

Remove group specs from this share group type

Expand
Table 69.139. Command arguments
ValueSummary

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

Expand
Table 69.140. Positional arguments
ValueSummary

<share-group>

Name or id of the share group to set a property for.

Expand
Table 69.141. Command arguments
ValueSummary

-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> ...]

Expand
Table 69.142. Positional arguments
ValueSummary

<instance>

Id of the share instance to delete.

Expand
Table 69.143. Command arguments
ValueSummary

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

Expand
Table 69.144. Positional arguments
ValueSummary

<instance>

Id of the share instance.

Expand
Table 69.145. Command arguments
ValueSummary

-h, --help

Show this help message and exit

Expand
Table 69.146. Output formatter options
ValueSummary

-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

Expand
Table 69.147. CSV formatter options
ValueSummary

--quote {all,minimal,none,nonnumeric}

When to include quotes, defaults to nonnumeric

Expand
Table 69.148. JSON formatter options
ValueSummary

--noindent

Whether to disable indenting the json

Expand
Table 69.149. Table formatter options
ValueSummary

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

Expand
Table 69.150. Positional arguments
ValueSummary

<instance>

Name or id of the share instance

<export_location>

Id of the share instance export location.

Expand
Table 69.151. Command arguments
ValueSummary

-h, --help

Show this help message and exit

Expand
Table 69.152. Output formatter options
ValueSummary

-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

Expand
Table 69.153. JSON formatter options
ValueSummary

--noindent

Whether to disable indenting the json

Expand
Table 69.154. Shell formatter options
ValueSummary

--prefix PREFIX

Add a prefix to all variable names

Expand
Table 69.155. Table formatter options
ValueSummary

--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>]

Expand
Table 69.156. Command arguments
ValueSummary

-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.

Expand
Table 69.157. Output formatter options
ValueSummary

-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

Expand
Table 69.158. CSV formatter options
ValueSummary

--quote {all,minimal,none,nonnumeric}

When to include quotes, defaults to nonnumeric

Expand
Table 69.159. JSON formatter options
ValueSummary

--noindent

Whether to disable indenting the json

Expand
Table 69.160. Table formatter options
ValueSummary

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

Expand
Table 69.161. Positional arguments
ValueSummary

<instance>

Instance to be modified.

Expand
Table 69.162. Command arguments
ValueSummary

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

Expand
Table 69.163. Positional arguments
ValueSummary

<instance>

Id of the share instance.

Expand
Table 69.164. Command arguments
ValueSummary

-h, --help

Show this help message and exit

Expand
Table 69.165. Output formatter options
ValueSummary

-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

Expand
Table 69.166. JSON formatter options
ValueSummary

--noindent

Whether to disable indenting the json

Expand
Table 69.167. Shell formatter options
ValueSummary

--prefix PREFIX

Add a prefix to all variable names

Expand
Table 69.168. Table formatter options
ValueSummary

--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)

Expand
Table 69.169. Command arguments
ValueSummary

-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

Expand
Table 69.170. Output formatter options
ValueSummary

-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

Expand
Table 69.171. CSV formatter options
ValueSummary

--quote {all,minimal,none,nonnumeric}

When to include quotes, defaults to nonnumeric

Expand
Table 69.172. JSON formatter options
ValueSummary

--noindent

Whether to disable indenting the json

Expand
Table 69.173. Table formatter options
ValueSummary

--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~>]

Expand
Table 69.174. Command arguments
ValueSummary

-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.

Expand
Table 69.175. Output formatter options
ValueSummary

-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

Expand
Table 69.176. CSV formatter options
ValueSummary

--quote {all,minimal,none,nonnumeric}

When to include quotes, defaults to nonnumeric

Expand
Table 69.177. JSON formatter options
ValueSummary

--noindent

Whether to disable indenting the json

Expand
Table 69.178. Table formatter options
ValueSummary

--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> ...]

Expand
Table 69.179. Positional arguments
ValueSummary

<message>

Id of the message(s).

Expand
Table 69.180. Command arguments
ValueSummary

-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>]

Expand
Table 69.181. Command arguments
ValueSummary

-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.

Expand
Table 69.182. Output formatter options
ValueSummary

-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

Expand
Table 69.183. CSV formatter options
ValueSummary

--quote {all,minimal,none,nonnumeric}

When to include quotes, defaults to nonnumeric

Expand
Table 69.184. JSON formatter options
ValueSummary

--noindent

Whether to disable indenting the json

Expand
Table 69.185. Table formatter options
ValueSummary

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

Expand
Table 69.186. Positional arguments
ValueSummary

<message>

Id of the message.

Expand
Table 69.187. Command arguments
ValueSummary

-h, --help

Show this help message and exit

Expand
Table 69.188. Output formatter options
ValueSummary

-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

Expand
Table 69.189. JSON formatter options
ValueSummary

--noindent

Whether to disable indenting the json

Expand
Table 69.190. Shell formatter options
ValueSummary

--prefix PREFIX

Add a prefix to all variable names

Expand
Table 69.191. Table formatter options
ValueSummary

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

Expand
Table 69.192. Positional arguments
ValueSummary

<share>

Name or id of share to migrate.

Expand
Table 69.193. Command arguments
ValueSummary

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

Expand
Table 69.194. Positional arguments
ValueSummary

<share>

Name or id of share to migrate.

Expand
Table 69.195. Command arguments
ValueSummary

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

Expand
Table 69.196. Positional arguments
ValueSummary

<share>

Name or id of the share to get share migration progress information.

Expand
Table 69.197. Command arguments
ValueSummary

-h, --help

Show this help message and exit

Expand
Table 69.198. Output formatter options
ValueSummary

-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

Expand
Table 69.199. JSON formatter options
ValueSummary

--noindent

Whether to disable indenting the json

Expand
Table 69.200. Shell formatter options
ValueSummary

--prefix PREFIX

Add a prefix to all variable names

Expand
Table 69.201. Table formatter options
ValueSummary

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

Expand
Table 69.202. Positional arguments
ValueSummary

<share>

Name or id of share to migrate.

<host>

Destination host where share will be migrated to. use the format host@backend#pool.

Expand
Table 69.203. Command arguments
ValueSummary

-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>]

Expand
Table 69.204. Command arguments
ValueSummary

-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.

Expand
Table 69.205. Output formatter options
ValueSummary

-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

Expand
Table 69.206. JSON formatter options
ValueSummary

--noindent

Whether to disable indenting the json

Expand
Table 69.207. Shell formatter options
ValueSummary

--prefix PREFIX

Add a prefix to all variable names

Expand
Table 69.208. Table formatter options
ValueSummary

--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> ...]

Expand
Table 69.209. Positional arguments
ValueSummary

<share-network>

Name or id of the share network(s) to delete

Expand
Table 69.210. Command arguments
ValueSummary

-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]

Expand
Table 69.211. Command arguments
ValueSummary

-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

Expand
Table 69.212. Output formatter options
ValueSummary

-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

Expand
Table 69.213. CSV formatter options
ValueSummary

--quote {all,minimal,none,nonnumeric}

When to include quotes, defaults to nonnumeric

Expand
Table 69.214. JSON formatter options
ValueSummary

--noindent

Whether to disable indenting the json

Expand
Table 69.215. Table formatter options
ValueSummary

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

Expand
Table 69.216. Positional arguments
ValueSummary

<share-network>

Name or id of the share network to set a property for

Expand
Table 69.217. Command arguments
ValueSummary

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

Expand
Table 69.218. Positional arguments
ValueSummary

<share-network>

Name or id of the share network to display

Expand
Table 69.219. Command arguments
ValueSummary

-h, --help

Show this help message and exit

Expand
Table 69.220. Output formatter options
ValueSummary

-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

Expand
Table 69.221. JSON formatter options
ValueSummary

--noindent

Whether to disable indenting the json

Expand
Table 69.222. Shell formatter options
ValueSummary

--prefix PREFIX

Add a prefix to all variable names

Expand
Table 69.223. Table formatter options
ValueSummary

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

Expand
Table 69.224. Positional arguments
ValueSummary

<share-network>

Share network name or id.

Expand
Table 69.225. Command arguments
ValueSummary

-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.

Expand
Table 69.226. Output formatter options
ValueSummary

-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

Expand
Table 69.227. JSON formatter options
ValueSummary

--noindent

Whether to disable indenting the json

Expand
Table 69.228. Shell formatter options
ValueSummary

--prefix PREFIX

Add a prefix to all variable names

Expand
Table 69.229. Table formatter options
ValueSummary

--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> ...]

Expand
Table 69.230. Positional arguments
ValueSummary

<share-network>

Share network name or id.

<share-network-subnet>

Id(s) of share network subnet(s) to be deleted.

Expand
Table 69.231. Command arguments
ValueSummary

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

Expand
Table 69.232. Positional arguments
ValueSummary

<share-network>

Share network name or id.

<share-network-subnet>

Id of share network subnet to show.

Expand
Table 69.233. Command arguments
ValueSummary

-h, --help

Show this help message and exit

Expand
Table 69.234. Output formatter options
ValueSummary

-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

Expand
Table 69.235. JSON formatter options
ValueSummary

--noindent

Whether to disable indenting the json

Expand
Table 69.236. Shell formatter options
ValueSummary

--prefix PREFIX

Add a prefix to all variable names

Expand
Table 69.237. Table formatter options
ValueSummary

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

Expand
Table 69.238. Positional arguments
ValueSummary

<share-network>

Name or id of the share network to unset a property of

Expand
Table 69.239. Command arguments
ValueSummary

-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>]

Expand
Table 69.240. Command arguments
ValueSummary

-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

Expand
Table 69.241. Output formatter options
ValueSummary

-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

Expand
Table 69.242. CSV formatter options
ValueSummary

--quote {all,minimal,none,nonnumeric}

When to include quotes, defaults to nonnumeric

Expand
Table 69.243. JSON formatter options
ValueSummary

--noindent

Whether to disable indenting the json

Expand
Table 69.244. Table formatter options
ValueSummary

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

Expand
Table 69.245. Positional arguments
ValueSummary

<share>

Name or id of share

Expand
Table 69.246. Command arguments
ValueSummary

-h, --help

Show this help message and exit

Expand
Table 69.247. Output formatter options
ValueSummary

-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

Expand
Table 69.248. JSON formatter options
ValueSummary

--noindent

Whether to disable indenting the json

Expand
Table 69.249. Shell formatter options
ValueSummary

--prefix PREFIX

Add a prefix to all variable names

Expand
Table 69.250. Table formatter options
ValueSummary

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

Expand
Table 69.251. Positional arguments
ValueSummary

<project>

Name or id of the project to delete quotas for.

Expand
Table 69.252. Command arguments
ValueSummary

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

Expand
Table 69.253. Positional arguments
ValueSummary

<project/class>

A project (name/id) or a class (e.g.: default).

Expand
Table 69.254. Command arguments
ValueSummary

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

Expand
Table 69.255. Positional arguments
ValueSummary

<project>

Name or id of the project to list quotas for.

Expand
Table 69.256. Command arguments
ValueSummary

-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.

Expand
Table 69.257. Output formatter options
ValueSummary

-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

Expand
Table 69.258. JSON formatter options
ValueSummary

--noindent

Whether to disable indenting the json

Expand
Table 69.259. Shell formatter options
ValueSummary

--prefix PREFIX

Add a prefix to all variable names

Expand
Table 69.260. Table formatter options
ValueSummary

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

Expand
Table 69.261. Positional arguments
ValueSummary

<share>

Name or id of the share to replicate.

Expand
Table 69.262. Command arguments
ValueSummary

-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

Expand
Table 69.263. Output formatter options
ValueSummary

-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

Expand
Table 69.264. JSON formatter options
ValueSummary

--noindent

Whether to disable indenting the json

Expand
Table 69.265. Shell formatter options
ValueSummary

--prefix PREFIX

Add a prefix to all variable names

Expand
Table 69.266. Table formatter options
ValueSummary

--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> ...]

Expand
Table 69.267. Positional arguments
ValueSummary

<replica>

Name or id of the replica(s) to delete

Expand
Table 69.268. Command arguments
ValueSummary

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

Expand
Table 69.269. Positional arguments
ValueSummary

<replica>

Id of the share replica.

Expand
Table 69.270. Command arguments
ValueSummary

-h, --help

Show this help message and exit

Expand
Table 69.271. Output formatter options
ValueSummary

-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

Expand
Table 69.272. CSV formatter options
ValueSummary

--quote {all,minimal,none,nonnumeric}

When to include quotes, defaults to nonnumeric

Expand
Table 69.273. JSON formatter options
ValueSummary

--noindent

Whether to disable indenting the json

Expand
Table 69.274. Table formatter options
ValueSummary

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

Expand
Table 69.275. Positional arguments
ValueSummary

<replica>

Id of the share replica.

<export-location>

Id of the share replica export location.

Expand
Table 69.276. Command arguments
ValueSummary

-h, --help

Show this help message and exit

Expand
Table 69.277. Output formatter options
ValueSummary

-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

Expand
Table 69.278. JSON formatter options
ValueSummary

--noindent

Whether to disable indenting the json

Expand
Table 69.279. Shell formatter options
ValueSummary

--prefix PREFIX

Add a prefix to all variable names

Expand
Table 69.280. Table formatter options
ValueSummary

--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>]

Expand
Table 69.281. Command arguments
ValueSummary

-h, --help

Show this help message and exit

--share <share>

Name or id of the share to list replicas for.

Expand
Table 69.282. Output formatter options
ValueSummary

-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

Expand
Table 69.283. CSV formatter options
ValueSummary

--quote {all,minimal,none,nonnumeric}

When to include quotes, defaults to nonnumeric

Expand
Table 69.284. JSON formatter options
ValueSummary

--noindent

Whether to disable indenting the json

Expand
Table 69.285. Table formatter options
ValueSummary

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

Expand
Table 69.286. Positional arguments
ValueSummary

<replica>

Id of the share replica.

Expand
Table 69.287. Command arguments
ValueSummary

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

Expand
Table 69.288. Positional arguments
ValueSummary

<replica>

Id of the share replica to resync.

Expand
Table 69.289. Command arguments
ValueSummary

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

Expand
Table 69.290. Positional arguments
ValueSummary

<replica>

Id of the share replica to modify.

Expand
Table 69.291. Command arguments
ValueSummary

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

Expand
Table 69.292. Positional arguments
ValueSummary

<replica>

Id of the share replica. available only for microversion >= 2.47.

Expand
Table 69.293. Command arguments
ValueSummary

-h, --help

Show this help message and exit

Expand
Table 69.294. Output formatter options
ValueSummary

-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

Expand
Table 69.295. JSON formatter options
ValueSummary

--noindent

Whether to disable indenting the json

Expand
Table 69.296. Shell formatter options
ValueSummary

--prefix PREFIX

Add a prefix to all variable names

Expand
Table 69.297. Table formatter options
ValueSummary

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

Expand
Table 69.298. Positional arguments
ValueSummary

<share>

Name or id of share to resize

<new-size>

New size of share, in gibs

Expand
Table 69.299. Command arguments
ValueSummary

-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> ...]

Expand
Table 69.300. Positional arguments
ValueSummary

<share>

Name or id of the share(s)

Expand
Table 69.301. Command arguments
ValueSummary

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

Expand
Table 69.302. Positional arguments
ValueSummary

<snapshot>

Name or id of the snapshot to restore. the snapshot must be the most recent one known to manila.

Expand
Table 69.303. Command arguments
ValueSummary

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

Expand
Table 69.304. Positional arguments
ValueSummary

<type>

Security service type. possible options are: ldap, kerberos, active_directory.

Expand
Table 69.305. Command arguments
ValueSummary

-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.

Expand
Table 69.306. Output formatter options
ValueSummary

-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

Expand
Table 69.307. JSON formatter options
ValueSummary

--noindent

Whether to disable indenting the json

Expand
Table 69.308. Shell formatter options
ValueSummary

--prefix PREFIX

Add a prefix to all variable names

Expand
Table 69.309. Table formatter options
ValueSummary

--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> ...]

Expand
Table 69.310. Positional arguments
ValueSummary

<security-service>

Name or id of the security service(s) to delete.

Expand
Table 69.311. Command arguments
ValueSummary

-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>]

Expand
Table 69.312. Command arguments
ValueSummary

-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

Expand
Table 69.313. Output formatter options
ValueSummary

-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

Expand
Table 69.314. CSV formatter options
ValueSummary

--quote {all,minimal,none,nonnumeric}

When to include quotes, defaults to nonnumeric

Expand
Table 69.315. JSON formatter options
ValueSummary

--noindent

Whether to disable indenting the json

Expand
Table 69.316. Table formatter options
ValueSummary

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

Expand
Table 69.317. Positional arguments
ValueSummary

<security-service>

Security service name or id.

Expand
Table 69.318. Command arguments
ValueSummary

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

Expand
Table 69.319. Positional arguments
ValueSummary

<security-service>

Security service name or id to show.

Expand
Table 69.320. Command arguments
ValueSummary

-h, --help

Show this help message and exit

Expand
Table 69.321. Output formatter options
ValueSummary

-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

Expand
Table 69.322. JSON formatter options
ValueSummary

--noindent

Whether to disable indenting the json

Expand
Table 69.323. Shell formatter options
ValueSummary

--prefix PREFIX

Add a prefix to all variable names

Expand
Table 69.324. Table formatter options
ValueSummary

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

Expand
Table 69.325. Positional arguments
ValueSummary

<security-service>

Security service name or id.

Expand
Table 69.326. Command arguments
ValueSummary

-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> ...]

Expand
Table 69.327. Positional arguments
ValueSummary

<share-server>

Id of the server(s) to be abandoned.

Expand
Table 69.328. Command arguments
ValueSummary

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

Expand
Table 69.329. Positional arguments
ValueSummary

<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.

Expand
Table 69.330. Command arguments
ValueSummary

-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

Expand
Table 69.331. Output formatter options
ValueSummary

-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

Expand
Table 69.332. JSON formatter options
ValueSummary

--noindent

Whether to disable indenting the json

Expand
Table 69.333. Shell formatter options
ValueSummary

--prefix PREFIX

Add a prefix to all variable names

Expand
Table 69.334. Table formatter options
ValueSummary

--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> ...]

Expand
Table 69.335. Positional arguments
ValueSummary

<share-server>

Id(s) of the server(s) to delete

Expand
Table 69.336. Command arguments
ValueSummary

-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>]

Expand
Table 69.337. Command arguments
ValueSummary

-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.

Expand
Table 69.338. Output formatter options
ValueSummary

-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

Expand
Table 69.339. CSV formatter options
ValueSummary

--quote {all,minimal,none,nonnumeric}

When to include quotes, defaults to nonnumeric

Expand
Table 69.340. JSON formatter options
ValueSummary

--noindent

Whether to disable indenting the json

Expand
Table 69.341. Table formatter options
ValueSummary

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

Expand
Table 69.342. Positional arguments
ValueSummary

<share_server>

Id of share server to cancel migration.

Expand
Table 69.343. Command arguments
ValueSummary

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

Expand
Table 69.344. Positional arguments
ValueSummary

<share_server>

Id of share server to complete migration.

Expand
Table 69.345. Command arguments
ValueSummary

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

Expand
Table 69.346. Positional arguments
ValueSummary

<share_server>

Id of share server to show migration progress for.

Expand
Table 69.347. Command arguments
ValueSummary

-h, --help

Show this help message and exit

Expand
Table 69.348. Output formatter options
ValueSummary

-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

Expand
Table 69.349. JSON formatter options
ValueSummary

--noindent

Whether to disable indenting the json

Expand
Table 69.350. Shell formatter options
ValueSummary

--prefix PREFIX

Add a prefix to all variable names

Expand
Table 69.351. Table formatter options
ValueSummary

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

Expand
Table 69.352. Positional arguments
ValueSummary

<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>.

Expand
Table 69.353. Command arguments
ValueSummary

-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.

Expand
Table 69.354. Output formatter options
ValueSummary

-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

Expand
Table 69.355. JSON formatter options
ValueSummary

--noindent

Whether to disable indenting the json

Expand
Table 69.356. Shell formatter options
ValueSummary

--prefix PREFIX

Add a prefix to all variable names

Expand
Table 69.357. Table formatter options
ValueSummary

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

Expand
Table 69.358. Positional arguments
ValueSummary

<share-server>

Id of the share server to modify.

Expand
Table 69.359. Command arguments
ValueSummary

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

Expand
Table 69.360. Positional arguments
ValueSummary

<share-server>

Id of share server.

Expand
Table 69.361. Command arguments
ValueSummary

-h, --help

Show this help message and exit

Expand
Table 69.362. Output formatter options
ValueSummary

-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

Expand
Table 69.363. JSON formatter options
ValueSummary

--noindent

Whether to disable indenting the json

Expand
Table 69.364. Shell formatter options
ValueSummary

--prefix PREFIX

Add a prefix to all variable names

Expand
Table 69.365. Table formatter options
ValueSummary

--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>]

Expand
Table 69.366. Command arguments
ValueSummary

-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.

Expand
Table 69.367. Output formatter options
ValueSummary

-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

Expand
Table 69.368. CSV formatter options
ValueSummary

--quote {all,minimal,none,nonnumeric}

When to include quotes, defaults to nonnumeric

Expand
Table 69.369. JSON formatter options
ValueSummary

--noindent

Whether to disable indenting the json

Expand
Table 69.370. Table formatter options
ValueSummary

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

Expand
Table 69.371. Positional arguments
ValueSummary

<host>

Host name as example_host@example_backend.

<binary>

Service binary, could be manila-share, manila-scheduler or manila-data

Expand
Table 69.372. Command arguments
ValueSummary

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

Expand
Table 69.373. Positional arguments
ValueSummary

<share>

Share to modify (name or id)

Expand
Table 69.374. Command arguments
ValueSummary

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

Expand
Table 69.375. Positional arguments
ValueSummary

<share>

Share to display (name or id)

Expand
Table 69.376. Command arguments
ValueSummary

-h, --help

Show this help message and exit

Expand
Table 69.377. Output formatter options
ValueSummary

-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

Expand
Table 69.378. JSON formatter options
ValueSummary

--noindent

Whether to disable indenting the json

Expand
Table 69.379. Shell formatter options
ValueSummary

--prefix PREFIX

Add a prefix to all variable names

Expand
Table 69.380. Table formatter options
ValueSummary

--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> ...]

Expand
Table 69.381. Positional arguments
ValueSummary

<snapshot>

Name or id of the snapshot(s) to be abandoned.

Expand
Table 69.382. Command arguments
ValueSummary

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

Expand
Table 69.383. Positional arguments
ValueSummary

<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.

Expand
Table 69.384. Command arguments
ValueSummary

-h, --help

Show this help message and exit

Expand
Table 69.385. Output formatter options
ValueSummary

-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

Expand
Table 69.386. JSON formatter options
ValueSummary

--noindent

Whether to disable indenting the json

Expand
Table 69.387. Shell formatter options
ValueSummary

--prefix PREFIX

Add a prefix to all variable names

Expand
Table 69.388. Table formatter options
ValueSummary

--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> ...]

Expand
Table 69.389. Positional arguments
ValueSummary

<snapshot>

Name or id of the share snapshot to deny access to.

<id>

Id(s) of the access rule(s) to be deleted.

Expand
Table 69.390. Command arguments
ValueSummary

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

Expand
Table 69.391. Positional arguments
ValueSummary

<snapshot>

Name or id of the share snapshot to show access list for.

Expand
Table 69.392. Command arguments
ValueSummary

-h, --help

Show this help message and exit

Expand
Table 69.393. Output formatter options
ValueSummary

-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

Expand
Table 69.394. CSV formatter options
ValueSummary

--quote {all,minimal,none,nonnumeric}

When to include quotes, defaults to nonnumeric

Expand
Table 69.395. JSON formatter options
ValueSummary

--noindent

Whether to disable indenting the json

Expand
Table 69.396. Table formatter options
ValueSummary

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

Expand
Table 69.397. Positional arguments
ValueSummary

<share>

Name or id of the share that owns the snapshot to be adopted.

<provider-location>

Provider location of the snapshot on the backend.

Expand
Table 69.398. Command arguments
ValueSummary

-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

Expand
Table 69.399. Output formatter options
ValueSummary

-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

Expand
Table 69.400. JSON formatter options
ValueSummary

--noindent

Whether to disable indenting the json

Expand
Table 69.401. Shell formatter options
ValueSummary

--prefix PREFIX

Add a prefix to all variable names

Expand
Table 69.402. Table formatter options
ValueSummary

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

Expand
Table 69.403. Positional arguments
ValueSummary

<share>

Name or id of the share to create snapshot of

Expand
Table 69.404. Command arguments
ValueSummary

-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

Expand
Table 69.405. Output formatter options
ValueSummary

-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

Expand
Table 69.406. JSON formatter options
ValueSummary

--noindent

Whether to disable indenting the json

Expand
Table 69.407. Shell formatter options
ValueSummary

--prefix PREFIX

Add a prefix to all variable names

Expand
Table 69.408. Table formatter options
ValueSummary

--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> ...]

Expand
Table 69.409. Positional arguments
ValueSummary

<snapshot>

Name or id of the snapshot(s) to delete

Expand
Table 69.410. Command arguments
ValueSummary

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

Expand
Table 69.411. Positional arguments
ValueSummary

<snapshot>

Name or id of the share snapshot.

Expand
Table 69.412. Command arguments
ValueSummary

-h, --help

Show this help message and exit

Expand
Table 69.413. Output formatter options
ValueSummary

-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

Expand
Table 69.414. CSV formatter options
ValueSummary

--quote {all,minimal,none,nonnumeric}

When to include quotes, defaults to nonnumeric

Expand
Table 69.415. JSON formatter options
ValueSummary

--noindent

Whether to disable indenting the json

Expand
Table 69.416. Table formatter options
ValueSummary

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

Expand
Table 69.417. Positional arguments
ValueSummary

<snapshot>

Name or id of the share snapshot.

<export-location>

Id of the share snapshot export location.

Expand
Table 69.418. Command arguments
ValueSummary

-h, --help

Show this help message and exit

Expand
Table 69.419. Output formatter options
ValueSummary

-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

Expand
Table 69.420. JSON formatter options
ValueSummary

--noindent

Whether to disable indenting the json

Expand
Table 69.421. Shell formatter options
ValueSummary

--prefix PREFIX

Add a prefix to all variable names

Expand
Table 69.422. Table formatter options
ValueSummary

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

Expand
Table 69.423. Positional arguments
ValueSummary

<instance>

Name or id of the share instance.

Expand
Table 69.424. Command arguments
ValueSummary

-h, --help

Show this help message and exit

Expand
Table 69.425. Output formatter options
ValueSummary

-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

Expand
Table 69.426. CSV formatter options
ValueSummary

--quote {all,minimal,none,nonnumeric}

When to include quotes, defaults to nonnumeric

Expand
Table 69.427. JSON formatter options
ValueSummary

--noindent

Whether to disable indenting the json

Expand
Table 69.428. Table formatter options
ValueSummary

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

Expand
Table 69.429. Positional arguments
ValueSummary

<snapshot_instance>

Id of the share snapshot instance.

<export_location>

Id of the share snapshot instance export location.

Expand
Table 69.430. Command arguments
ValueSummary

-h, --help

Show this help message and exit

Expand
Table 69.431. Output formatter options
ValueSummary

-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

Expand
Table 69.432. JSON formatter options
ValueSummary

--noindent

Whether to disable indenting the json

Expand
Table 69.433. Shell formatter options
ValueSummary

--prefix PREFIX

Add a prefix to all variable names

Expand
Table 69.434. Table formatter options
ValueSummary

--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]

Expand
Table 69.435. Command arguments
ValueSummary

-h, --help

Show this help message and exit

--snapshot <snapshot>

Filter results by share snapshot id.

--detailed

Show detailed information about snapshot instances.

Expand
Table 69.436. Output formatter options
ValueSummary

-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

Expand
Table 69.437. CSV formatter options
ValueSummary

--quote {all,minimal,none,nonnumeric}

When to include quotes, defaults to nonnumeric

Expand
Table 69.438. JSON formatter options
ValueSummary

--noindent

Whether to disable indenting the json

Expand
Table 69.439. Table formatter options
ValueSummary

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

Expand
Table 69.440. Positional arguments
ValueSummary

<snapshot_instance>

Id of the share snapshot instance to update.

Expand
Table 69.441. Command arguments
ValueSummary

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

Expand
Table 69.442. Positional arguments
ValueSummary

<snapshot_instance>

Id of the share snapshot instance.

Expand
Table 69.443. Command arguments
ValueSummary

-h, --help

Show this help message and exit

Expand
Table 69.444. Output formatter options
ValueSummary

-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

Expand
Table 69.445. JSON formatter options
ValueSummary

--noindent

Whether to disable indenting the json

Expand
Table 69.446. Shell formatter options
ValueSummary

--prefix PREFIX

Add a prefix to all variable names

Expand
Table 69.447. Table formatter options
ValueSummary

--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>]

Expand
Table 69.448. Command arguments
ValueSummary

-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)

Expand
Table 69.449. Output formatter options
ValueSummary

-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

Expand
Table 69.450. CSV formatter options
ValueSummary

--quote {all,minimal,none,nonnumeric}

When to include quotes, defaults to nonnumeric

Expand
Table 69.451. JSON formatter options
ValueSummary

--noindent

Whether to disable indenting the json

Expand
Table 69.452. Table formatter options
ValueSummary

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

Expand
Table 69.453. Positional arguments
ValueSummary

<snapshot>

Name or id of the snapshot to set a property for

Expand
Table 69.454. Command arguments
ValueSummary

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

Expand
Table 69.455. Positional arguments
ValueSummary

<snapshot>

Name or id of the snapshot to display

Expand
Table 69.456. Command arguments
ValueSummary

-h, --help

Show this help message and exit

Expand
Table 69.457. Output formatter options
ValueSummary

-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

Expand
Table 69.458. JSON formatter options
ValueSummary

--noindent

Whether to disable indenting the json

Expand
Table 69.459. Shell formatter options
ValueSummary

--prefix PREFIX

Add a prefix to all variable names

Expand
Table 69.460. Table formatter options
ValueSummary

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

Expand
Table 69.461. Positional arguments
ValueSummary

<snapshot>

Name or id of the snapshot to set a property for

Expand
Table 69.462. Command arguments
ValueSummary

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

Expand
Table 69.463. Positional arguments
ValueSummary

<transfer>

Id of transfer to accept.

<auth_key>

Authentication key of transfer to accept.

Expand
Table 69.464. Command arguments
ValueSummary

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

Expand
Table 69.465. Positional arguments
ValueSummary

<share>

Name or id of share to transfer.

Expand
Table 69.466. Command arguments
ValueSummary

-h, --help

Show this help message and exit

--name <name>

Transfer name. default=none.

Expand
Table 69.467. Output formatter options
ValueSummary

-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

Expand
Table 69.468. JSON formatter options
ValueSummary

--noindent

Whether to disable indenting the json

Expand
Table 69.469. Shell formatter options
ValueSummary

--prefix PREFIX

Add a prefix to all variable names

Expand
Table 69.470. Table formatter options
ValueSummary

--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> ...]

Expand
Table 69.471. Positional arguments
ValueSummary

<transfer>

Name(s) or id(s) of the transfer(s).

Expand
Table 69.472. Command arguments
ValueSummary

-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>]]

Expand
Table 69.473. Command arguments
ValueSummary

-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.

Expand
Table 69.474. Output formatter options
ValueSummary

-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

Expand
Table 69.475. CSV formatter options
ValueSummary

--quote {all,minimal,none,nonnumeric}

When to include quotes, defaults to nonnumeric

Expand
Table 69.476. JSON formatter options
ValueSummary

--noindent

Whether to disable indenting the json

Expand
Table 69.477. Table formatter options
ValueSummary

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

Expand
Table 69.478. Positional arguments
ValueSummary

<transfer>

Name or id of transfer to show.

Expand
Table 69.479. Command arguments
ValueSummary

-h, --help

Show this help message and exit

Expand
Table 69.480. Output formatter options
ValueSummary

-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

Expand
Table 69.481. JSON formatter options
ValueSummary

--noindent

Whether to disable indenting the json

Expand
Table 69.482. Shell formatter options
ValueSummary

--prefix PREFIX

Add a prefix to all variable names

Expand
Table 69.483. Table formatter options
ValueSummary

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

Expand
Table 69.484. Positional arguments
ValueSummary

<share_type>

Share type name or id to add access to

<project_id>

Project id to add share type access for

Expand
Table 69.485. Command arguments
ValueSummary

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

Expand
Table 69.486. Positional arguments
ValueSummary

<share_type>

Share type name or id to delete access from

<project_id>

Project id to delete share type access for

Expand
Table 69.487. Command arguments
ValueSummary

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

Expand
Table 69.488. Positional arguments
ValueSummary

<share_type>

Share type name or id to get access list for

Expand
Table 69.489. Command arguments
ValueSummary

-h, --help

Show this help message and exit

Expand
Table 69.490. Output formatter options
ValueSummary

-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

Expand
Table 69.491. CSV formatter options
ValueSummary

--quote {all,minimal,none,nonnumeric}

When to include quotes, defaults to nonnumeric

Expand
Table 69.492. JSON formatter options
ValueSummary

--noindent

Whether to disable indenting the json

Expand
Table 69.493. Table formatter options
ValueSummary

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

Expand
Table 69.494. Positional arguments
ValueSummary

<name>

Share type name

<spec_driver_handles_share_servers>

Required extra specification. valid values are true and false

Expand
Table 69.495. Command arguments
ValueSummary

-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).

Expand
Table 69.496. Output formatter options
ValueSummary

-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

Expand
Table 69.497. JSON formatter options
ValueSummary

--noindent

Whether to disable indenting the json

Expand
Table 69.498. Shell formatter options
ValueSummary

--prefix PREFIX

Add a prefix to all variable names

Expand
Table 69.499. Table formatter options
ValueSummary

--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> ...]

Expand
Table 69.500. Positional arguments
ValueSummary

<share_types>

Name or id of the share type(s) to delete

Expand
Table 69.501. Command arguments
ValueSummary

-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> ...]]

Expand
Table 69.502. Command arguments
ValueSummary

-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.

Expand
Table 69.503. Output formatter options
ValueSummary

-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

Expand
Table 69.504. CSV formatter options
ValueSummary

--quote {all,minimal,none,nonnumeric}

When to include quotes, defaults to nonnumeric

Expand
Table 69.505. JSON formatter options
ValueSummary

--noindent

Whether to disable indenting the json

Expand
Table 69.506. Table formatter options
ValueSummary

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

Expand
Table 69.507. Positional arguments
ValueSummary

<share_type>

Name or id of the share type to modify

Expand
Table 69.508. Command arguments
ValueSummary

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

Expand
Table 69.509. Positional arguments
ValueSummary

<share_type>

Share type to display (name or id)

Expand
Table 69.510. Command arguments
ValueSummary

-h, --help

Show this help message and exit

Expand
Table 69.511. Output formatter options
ValueSummary

-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

Expand
Table 69.512. JSON formatter options
ValueSummary

--noindent

Whether to disable indenting the json

Expand
Table 69.513. Shell formatter options
ValueSummary

--prefix PREFIX

Add a prefix to all variable names

Expand
Table 69.514. Table formatter options
ValueSummary

--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> ...]

Expand
Table 69.515. Positional arguments
ValueSummary

<share_type>

Name or id of the share type to modify

<key>

Remove extra_specs from this share type

Expand
Table 69.516. Command arguments
ValueSummary

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

Expand
Table 69.517. Positional arguments
ValueSummary

<share>

Share to modify (name or id)

Expand
Table 69.518. Command arguments
ValueSummary

-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.

Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

关于红帽文档

Legal Notice

Theme

© 2026 Red Hat
返回顶部