List of released CLI commands available in openstack client. These commands
can be referenced by executing openstack help share
.
Create new share
share create
[-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>
the output format, defaults to table
specify the column(s) to include, can be repeated to show multiple columns
whether to disable indenting the JSON
add a prefix to all variable names
Maximum display width, <1 to disable. You can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence.
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 table if there is no data to show.
Optional share name. (Default=None)
Optional snapshot ID to create the share from. (Default=None)
Set a property to this share (repeat option to set multiple properties)
Optional network info ID or name.
Optional share description. (Default=None)
Level of visibility for share. Defines whether other tenants are able to see it or not. (Default = False)
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 in which share should be created.
Optional share group name or ID in which to create the share. (Default=None).
Wait for share creation
Set Scheduler hints for the share as key=value pairs, possible keys are same_host, different_host.(repeat option to set multiple hints)
Share protocol (NFS, CIFS, CephFS, GlusterFS or HDFS)
Share size in GiB.
This command is provided by the python-manilaclient plugin.
List shares
share list
[-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~>]
the output format, defaults to table
specify the column(s) to include, can be repeated to show multiple columns
when to include quotes, defaults to nonnumeric
whether to disable indenting the JSON
Maximum display width, <1 to disable. You can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence.
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 table if there is no data to show.
specify the column(s) to sort the data (columns specified first have a priority, non-existing columns are ignored), can be repeated
sort the column(s) in ascending order
sort the column(s) in descending order
Filter shares by share name
Filter shares by status
Filter shares by snapshot name or id.
Filter shares by export location id or path. Available only for microversion >= 2.35
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.
Include public shares
Filter shares exported on a given share network
Filter shares of a given share type
Filter shares belonging to a given share group
Filter shares belonging to a given host (admin only)
Filter shares exported via a given share server (admin only)
Filter shares by project (name or ID) (admin only)
Domain the project belongs to (name or ID). This can be used in case collisions between project names exist.
Filter results by user (name or ID) (admin only)
Domain the user belongs to (name or ID). This can be used in case collisions between user names exist.
Include all projects (admin only)
Filter shares having a given metadata key=value property (repeat option to filter by multiple properties)
Filter shares with extra specs (key=value) of the share type that they belong to. (repeat option to filter by multiple extra specs)
List additional fields in output
Sort output by selected keys and directions(asc or desc) (default: name:asc), multiple keys and directions can be specified separated by comma
Maximum number of shares to display
The last share ID of the previous page
Filter results matching a share name pattern. Available only for microversion >= 2.36.
Filter results matching a share description pattern.Available only for microversion >= 2.36.
This command is provided by the python-manilaclient plugin.
Display share details
share show
[-f {json,shell,table,value,yaml}]
[-c COLUMN]
[--noindent]
[--prefix PREFIX]
[--max-width <integer>]
[--fit-width]
[--print-empty]
<share>
the output format, defaults to table
specify the column(s) to include, can be repeated to show multiple columns
whether to disable indenting the JSON
add a prefix to all variable names
Maximum display width, <1 to disable. You can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence.
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 table if there is no data to show.
Share to display (name or ID)
This command is provided by the python-manilaclient plugin.
Delete a share
share delete
[--share-group <share-group>]
[--force]
[--wait]
[--soft]
<share>
[<share> ...]
Optional share group (name or ID)which contains the share
Attempt forced removal of share(s), regardless of state (defaults to False)
Wait for share deletion
Soft delete one or more shares.
Share(s) to delete (name or ID)
This command is provided by the python-manilaclient plugin.
Set share properties
share set
[--property <key=value>]
[--name <name>]
[--description <description>]
[--public <public>]
[--status <status>]
[--task-state <task-state>]
<share>
Set a property to this share (repeat option to set multiple properties)
New share name. (Default=None)
New share description. (Default=None)
Level of visibility for share. Defines whether other tenants are able to see it or not.
Explicitly update the status of a share (Admin only). Examples include: available, error, creating, deleting, error_deleting.
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.
Share to modify (name or ID)
This command is provided by the python-manilaclient plugin.
Unset share properties
share unset [--property <key>] [--name] [--description] <share>
Remove a property from share (repeat option to remove multiple properties)
Unset share name.
Unset share description.
Share to modify (name or ID)
This command is provided by the python-manilaclient plugin.
Show share properties
share properties show
[-f {json,shell,table,value,yaml}]
[-c COLUMN]
[--noindent]
[--prefix PREFIX]
[--max-width <integer>]
[--fit-width]
[--print-empty]
<share>
the output format, defaults to table
specify the column(s) to include, can be repeated to show multiple columns
whether to disable indenting the JSON
add a prefix to all variable names
Maximum display width, <1 to disable. You can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence.
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 table if there is no data to show.
Name or ID of share
This command is provided by the python-manilaclient plugin.
Resize a share
share resize [--wait] [--force] <share> <new-size>
Wait for share resize
Only applicable when increasing the size of the share,only available with microversion 2.64 and higher. (admin only)
Name or ID of share to resize
New size of share, in GiBs
This command is provided by the python-manilaclient plugin.
Adopt a share
share adopt
[-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>
the output format, defaults to table
specify the column(s) to include, can be repeated to show multiple columns
whether to disable indenting the JSON
add a prefix to all variable names
Maximum display width, <1 to disable. You can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence.
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 table if there is no data to show.
Optional share name. (Default=None)
Optional share description. (Default=None)
Optional share type assigned to share. (Default=None)
Optional driver options as key=value pairs (Default=None).
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 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 until share is adopted
Service host: some.host@driver#pool.
Protocol of the share to manage, such as NFS or CIFS.
Share export path, NFS share such as: 10.0.0.1:/example_path, CIFS share such as: \10.0.0.1example_cifs_share.
This command is provided by the python-manilaclient plugin.
Abandon a share
share abandon [--wait] <share> [<share> ...]
Wait until share is abandoned
Name or ID of the share(s)
This command is provided by the python-manilaclient plugin.
Show export location of a share
share export location show
[-f {json,shell,table,value,yaml}]
[-c COLUMN]
[--noindent]
[--prefix PREFIX]
[--max-width <integer>]
[--fit-width]
[--print-empty]
<share>
<export-location>
the output format, defaults to table
specify the column(s) to include, can be repeated to show multiple columns
whether to disable indenting the JSON
add a prefix to all variable names
Maximum display width, <1 to disable. You can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence.
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 table if there is no data to show.
Name or ID of share
ID of the share export location
This command is provided by the python-manilaclient plugin.
List export location of a share
share export location list
[-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>
the output format, defaults to table
specify the column(s) to include, can be repeated to show multiple columns
when to include quotes, defaults to nonnumeric
whether to disable indenting the JSON
Maximum display width, <1 to disable. You can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence.
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 table if there is no data to show.
specify the column(s) to sort the data (columns specified first have a priority, non-existing columns are ignored), can be repeated
sort the column(s) in ascending order
sort the column(s) in descending order
Name or ID of share
This command is provided by the python-manilaclient plugin.
Revert a share to the specified snapshot.
share revert [--wait] <snapshot>
Wait for share revert
Name or ID of the snapshot to restore. The snapshot must be the most recent one known to manila.
This command is provided by the python-manilaclient plugin.
Restores this share or more shares from the recycle bin
share restore <share> [<share> ...]
Name or ID of the share(s)
This command is provided by the python-manilaclient plugin.
Forces the deletion of a share instance
share instance delete [--wait] <instance> [<instance> ...]
Wait for share instance deletion.
ID of the share instance to delete.
This command is provided by the python-manilaclient plugin.
List share instances
share instance list
[-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>]
the output format, defaults to table
specify the column(s) to include, can be repeated to show multiple columns
when to include quotes, defaults to nonnumeric
whether to disable indenting the JSON
Maximum display width, <1 to disable. You can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence.
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 table if there is no data to show.
specify the column(s) to sort the data (columns specified first have a priority, non-existing columns are ignored), can be repeated
sort the column(s) in ascending order
sort the column(s) in descending order
Name or ID of the share to list instances for.
Export location to list instances for.
This command is provided by the python-manilaclient plugin.
Explicitly reset share instance status
share instance set [--status <status>] <instance>
Indicate which state to assign the instance. Options are: available, error, creating, deleting,error_deleting, migrating, migrating_to, server_migrating.
Instance to be modified.
This command is provided by the python-manilaclient plugin.
Show share instance
share instance show
[-f {json,shell,table,value,yaml}]
[-c COLUMN]
[--noindent]
[--prefix PREFIX]
[--max-width <integer>]
[--fit-width]
[--print-empty]
<instance>
the output format, defaults to table
specify the column(s) to include, can be repeated to show multiple columns
whether to disable indenting the JSON
add a prefix to all variable names
Maximum display width, <1 to disable. You can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence.
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 table if there is no data to show.
ID of the share instance.
This command is provided by the python-manilaclient plugin.
Create new share access rule
share access create
[-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>
the output format, defaults to table
specify the column(s) to include, can be repeated to show multiple columns
whether to disable indenting the JSON
add a prefix to all variable names
Maximum display width, <1 to disable. You can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence.
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 table if there is no data to show.
Space separated list of key=value pairs of properties. OPTIONAL: Default=None. Available only for API microversion >= 2.45.
Share access level (“rw” and “ro” access levels are supported). Defaults to rw.
Wait for share access rule creation.
Name or ID of the NAS share to modify.
Access rule type (only “ip”, “user” (user or group), “cert” or “cephx” are supported).
Value that defines access.
This command is provided by the python-manilaclient plugin.
Delete a share access rule
share access delete [--wait] <share> <id>
Wait for share access rule deletion
Name or ID of the NAS share to modify.
ID of the access rule to be deleted.
This command is provided by the python-manilaclient plugin.
List share access rule
share access list
[-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>
the output format, defaults to table
specify the column(s) to include, can be repeated to show multiple columns
when to include quotes, defaults to nonnumeric
whether to disable indenting the JSON
Maximum display width, <1 to disable. You can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence.
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 table if there is no data to show.
specify the column(s) to sort the data (columns specified first have a priority, non-existing columns are ignored), can be repeated
sort the column(s) in ascending order
sort the column(s) in descending order
Filters results by properties (key=value). OPTIONAL: Default=None. Available only for API microversion >= 2.45
Name or ID of the share.
This command is provided by the python-manilaclient plugin.
Set properties to share access rule. Available for API microversion 2.45 and higher
share access set [--property <key=value>] <access_id>
Set a property to this share access rule. (Repeat option to set multiple properties) Available only for API microversion >= 2.45.
ID of the NAS share access rule.
This command is provided by the python-manilaclient plugin.
Display a share access rule. Available for API microversion 2.45 and higher
share access show
[-f {json,shell,table,value,yaml}]
[-c COLUMN]
[--noindent]
[--prefix PREFIX]
[--max-width <integer>]
[--fit-width]
[--print-empty]
<access_id>
the output format, defaults to table
specify the column(s) to include, can be repeated to show multiple columns
whether to disable indenting the JSON
add a prefix to all variable names
Maximum display width, <1 to disable. You can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence.
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 table if there is no data to show.
ID of the NAS share access rule.
This command is provided by the python-manilaclient plugin.
Unset properties of share access rule. Available for API microversion 2.45 and higher
share access unset [--property <key>] <access_id>
Remove property from share access rule. (Repeat option to remove multiple properties) Available only for API microversion >= 2.45.
ID of the NAS share access rule.
This command is provided by the python-manilaclient plugin.
Migrates share to a new host.
share migration start
[--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>
Enforces the use of the host-assisted migration approach, which bypasses driver optimizations. Default=False.
Enforces migration to preserve all file metadata when moving its contents. If set to True, host-assistedmigration will not be attempted.
Enforces migration of the share snapshots to the destination. If set to True, host-assisted migrationwill not be attempted.
Enforces migration to keep the share writable while contents are being moved. If set to True, host-assistedmigration will not be attempted.
Enforces migration to be nondisruptive. If set to True, host-assisted migration will not be attempted.
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.
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.
Name or ID of share to migrate.
Destination host where share will be migrated to. Use the format ‘host@backend#pool’.
This command is provided by the python-manilaclient plugin.
Cancels migration of a given share when copying
share migration cancel <share>
Name or ID of share to migrate.
This command is provided by the python-manilaclient plugin.
Completes migration for a given share
share migration complete <share>
Name or ID of share to migrate.
This command is provided by the python-manilaclient plugin.
Gets migration progress of a given share when copying
share migration show
[-f {json,shell,table,value,yaml}]
[-c COLUMN]
[--noindent]
[--prefix PREFIX]
[--max-width <integer>]
[--fit-width]
[--print-empty]
<share>
the output format, defaults to table
specify the column(s) to include, can be repeated to show multiple columns
whether to disable indenting the JSON
add a prefix to all variable names
Maximum display width, <1 to disable. You can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence.
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 table if there is no data to show.
Name or ID of the share to get share migration progress information.
This command is provided by the python-manilaclient plugin.
Create a share network
share network create
[-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>]
the output format, defaults to table
specify the column(s) to include, can be repeated to show multiple columns
whether to disable indenting the JSON
add a prefix to all variable names
Maximum display width, <1 to disable. You can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence.
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 table if there is no data to show.
Add a name to the share network (Optional)
Add a description to the share network (Optional).
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.
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.
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.
This command is provided by the python-manilaclient plugin.
Delete one or more share networks
share network delete [--wait] <share-network> [<share-network> ...]
Wait for the share network(s) to be deleted
Name or ID of the share network(s) to delete
This command is provided by the python-manilaclient plugin.
List share networks
share network list
[-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]
the output format, defaults to table
specify the column(s) to include, can be repeated to show multiple columns
when to include quotes, defaults to nonnumeric
whether to disable indenting the JSON
Maximum display width, <1 to disable. You can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence.
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 table if there is no data to show.
specify the column(s) to sort the data (columns specified first have a priority, non-existing columns are ignored), can be repeated
sort the column(s) in ascending order
sort the column(s) in descending order
Filter share networks by name
Filter share networks by name-pattern. Available only for microversion >= 2.36.
Filter share networks by description. Available only for microversion >= 2.36
Filter share networks by description-pattern. Available only for microversion >= 2.36.
Include all projects (admin only)
Filter share networks by project (name or ID) (admin only)
Domain the project belongs to (name or ID). This can be used in case collisions between project names exist.
Filter share networks by date they were created after. The date can be in the format yyyy-mm-dd.
Filter share networks by date they were created before. The date can be in the format yyyy-mm-dd.
Filter share networks by the name or ID of a security service attached to the network.
Filter share networks by the ID of a neutron network.
Filter share networks by the ID of a neutron sub network.
Filter share networks by the type of network. Examples include “flat”, “vlan”, “vxlan”, “geneve”, etc.
Filter share networks by the segmentation ID of network. Relevant only for segmented networks such as “vlan”, “vxlan”, “geneve”, etc.
Filter share networks by the CIDR of network.
Filter share networks by the IP Version of the network, either 4 or 6.
List share networks with details
This command is provided by the python-manilaclient plugin.
Unset a share network property
share network unset
[--name]
[--description]
[--security-service <security-service>]
<share-network>
Unset share network name.
Unset share network description.
Disassociate a security service from the share network. This is only possible with unused share networks.
Name or ID of the share network to unset a property of
This command is provided by the python-manilaclient plugin.
Show details about a share network
share network show
[-f {json,shell,table,value,yaml}]
[-c COLUMN]
[--noindent]
[--prefix PREFIX]
[--max-width <integer>]
[--fit-width]
[--print-empty]
<share-network>
the output format, defaults to table
specify the column(s) to include, can be repeated to show multiple columns
whether to disable indenting the JSON
add a prefix to all variable names
Maximum display width, <1 to disable. You can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence.
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 table if there is no data to show.
Name or ID of the share network to display
This command is provided by the python-manilaclient plugin.
Set share network properties
share network set
[--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>
Set a new name to the share network.
Set a new description to the share network.
Assign a status to the share network (Admin only). Options include : active, error, network_change. Available only for microversion >= 2.63.
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.
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.
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.
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.
Run a dry-run of a security service replacement. Available only for microversion >=2.63
Restart a dry-run of a security service replacement. Helpful when check results are stale. Available only for microversion >=2.63.
Name or ID of the share network to set a property for
This command is provided by the python-manilaclient plugin.
Create a share network subnet
share network subnet create
[-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>
the output format, defaults to table
specify the column(s) to include, can be repeated to show multiple columns
whether to disable indenting the JSON
add a prefix to all variable names
Maximum display width, <1 to disable. You can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence.
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 table if there is no data to show.
Neutron network ID. Used to set up network for share servers (optional). Should be defined together with ‘–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.
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.
Run a dry-run of a share network subnet create. Available only for microversion >= 2.70.
Restart a dry-run of a share network subnet create. Helpful when check results are stale. Available only for microversion >= 2.70.
Share network name or ID.
This command is provided by the python-manilaclient plugin.
Delete a share network subnet
share network subnet delete
<share-network>
<share-network-subnet>
[<share-network-subnet> ...]
Share network name or ID.
ID(s) of share network subnet(s) to be deleted.
This command is provided by the python-manilaclient plugin.
Show share network subnet
share network subnet show
[-f {json,shell,table,value,yaml}]
[-c COLUMN]
[--noindent]
[--prefix PREFIX]
[--max-width <integer>]
[--fit-width]
[--print-empty]
<share-network>
<share-network-subnet>
the output format, defaults to table
specify the column(s) to include, can be repeated to show multiple columns
whether to disable indenting the JSON
add a prefix to all variable names
Maximum display width, <1 to disable. You can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence.
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 table if there is no data to show.
Share network name or ID.
ID of share network subnet to show.
This command is provided by the python-manilaclient plugin.
Add access for share type
share type access create <share_type> <project_id>
Share type name or ID to add access to
Project ID to add share type access for
This command is provided by the python-manilaclient plugin.
Delete access from share type
share type access delete <share_type> <project_id>
Share type name or ID to delete access from
Project ID to delete share type access for
This command is provided by the python-manilaclient plugin.
Get access list for share type
share type access list
[-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>
the output format, defaults to table
specify the column(s) to include, can be repeated to show multiple columns
when to include quotes, defaults to nonnumeric
whether to disable indenting the JSON
Maximum display width, <1 to disable. You can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence.
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 table if there is no data to show.
specify the column(s) to sort the data (columns specified first have a priority, non-existing columns are ignored), can be repeated
sort the column(s) in ascending order
sort the column(s) in descending order
Share type name or ID to get access list for
This command is provided by the python-manilaclient plugin.
Create new share type
share type create
[-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>
the output format, defaults to table
specify the column(s) to include, can be repeated to show multiple columns
whether to disable indenting the JSON
add a prefix to all variable names
Maximum display width, <1 to disable. You can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence.
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 table if there is no data to show.
Share type description. Available only for microversion >= 2.41.
Boolean extra spec used for filtering of back ends by their capability to create share snapshots.
Boolean extra spec used for filtering of back ends by their capability to create shares from snapshots.
Boolean extra spec used for filtering of back ends by their capability to revert shares to snapshots. (Default is False).
Boolean extra spec used for filtering of back ends by their capability to mount share snapshots. (Default is False).
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.
Make type accessible to the public (default true).
Share type name
Required extra specification. Valid values are ‘true’ and ‘false’
This command is provided by the python-manilaclient plugin.
Delete a share type
share type delete <share_types> [<share_types> ...]
Name or ID of the share type(s) to delete
This command is provided by the python-manilaclient plugin.
List share types
share type list
[-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> ...]]
the output format, defaults to table
specify the column(s) to include, can be repeated to show multiple columns
when to include quotes, defaults to nonnumeric
whether to disable indenting the JSON
Maximum display width, <1 to disable. You can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence.
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 table if there is no data to show.
specify the column(s) to sort the data (columns specified first have a priority, non-existing columns are ignored), can be repeated
sort the column(s) in ascending order
sort the column(s) in descending order
Display all share types whatever public or private. Default=False. (Admin only)
Filter share types with extra specs (key=value). Available only for API microversion >= 2.43. OPTIONAL: Default=None.
This command is provided by the python-manilaclient plugin.
Set share type properties
share type set
[--extra-specs [<key=value> ...]]
[--public <public>]
[--description <description>]
[--name <name>]
<share_type>
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.
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
New description of share type. Available only for microversion >= 2.50
New name of share type. Available only for microversion >= 2.50
Name or ID of the share type to modify
This command is provided by the python-manilaclient plugin.
Display share type details
share type show
[-f {json,shell,table,value,yaml}]
[-c COLUMN]
[--noindent]
[--prefix PREFIX]
[--max-width <integer>]
[--fit-width]
[--print-empty]
<share_type>
the output format, defaults to table
specify the column(s) to include, can be repeated to show multiple columns
whether to disable indenting the JSON
add a prefix to all variable names
Maximum display width, <1 to disable. You can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence.
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 table if there is no data to show.
Share type to display (name or ID)
This command is provided by the python-manilaclient plugin.
Unset share type extra specs
share type unset <share_type> <key> [<key> ...]
Name or ID of the share type to modify
Remove extra_specs from this share type
This command is provided by the python-manilaclient plugin.
Delete Quota
share quota delete
[--user <user> | --share-type <share-type>]
<project>
Name or ID of user to delete the quotas for. Optional. Mutually exclusive with ‘–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
Name or ID of the project to delete quotas for.
This command is provided by the python-manilaclient plugin.
Set Quota for a project, or project/user or project/share-type or a class.
share quota set
[--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>
Update class quota to all projects. Mutually exclusive with ‘–user’ and ‘–share-type’.
Name or ID of a user to set the quotas for. Mutually exclusive with ‘–share-type’ and ‘–class’.
Name or ID of a share type to set the quotas for. Mutually exclusive with ‘–user’ and ‘–class’. Available only for microversion >= 2.39
New value for the “shares” quota.
New value for the “snapshots” quota.
New value for the “gigabytes” quota.
New value for the “snapshot-gigabytes” quota.
New value for the “share-networks” quota.
New value for the “share-groups” quota. Available only for microversion >= 2.40
New value for the “share-group-snapshots” quota. Available only for microversion >= 2.40
Number of share replicas. Available only for microversion >= 2.53
Capacity of share replicas in total. Available only for microversion >= 2.53
New value for the ‘per-share-gigabytes’ quota.Available only for microversion >= 2.62
Force update the quota. Not applicable for class update.
A project (name/ID) or a class (e.g.: default).
This command is provided by the python-manilaclient plugin.
Show Quota
share quota show
[-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>
the output format, defaults to table
specify the column(s) to include, can be repeated to show multiple columns
whether to disable indenting the JSON
add a prefix to all variable names
Maximum display width, <1 to disable. You can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence.
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 table if there is no data to show.
Name or ID of user to list the quotas for. Optional. Mutually exclusive with ‘–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
Optional flag to indicate whether to show quota in detail. Default false, available only for microversion >= 2.25.
Show the default quotas for the project.
Name or ID of the project to list quotas for.
This command is provided by the python-manilaclient plugin.
Abandon share snapshot(s)
share snapshot abandon [--wait] <snapshot> [<snapshot> ...]
Wait until share snapshot is abandoned
Name or ID of the snapshot(s) to be abandoned.
This command is provided by the python-manilaclient plugin.
Allow access to a snapshot
share snapshot access create
[-f {json,shell,table,value,yaml}]
[-c COLUMN]
[--noindent]
[--prefix PREFIX]
[--max-width <integer>]
[--fit-width]
[--print-empty]
<snapshot>
<access_type>
<access_to>
the output format, defaults to table
specify the column(s) to include, can be repeated to show multiple columns
whether to disable indenting the JSON
add a prefix to all variable names
Maximum display width, <1 to disable. You can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence.
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 table if there is no data to show.
Name or ID of the snapshot
Access rule type (only “ip”, “user” (user or group), “cert” or “cephx” are supported).
Value that defines access.
This command is provided by the python-manilaclient plugin.
Delete access to a snapshot
share snapshot access delete <snapshot> <id> [<id> ...]
Name or ID of the share snapshot to deny access to.
ID(s) of the access rule(s) to be deleted.
This command is provided by the python-manilaclient plugin.
Show access list for a snapshot
share snapshot access list
[-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>
the output format, defaults to table
specify the column(s) to include, can be repeated to show multiple columns
when to include quotes, defaults to nonnumeric
whether to disable indenting the JSON
Maximum display width, <1 to disable. You can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence.
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 table if there is no data to show.
specify the column(s) to sort the data (columns specified first have a priority, non-existing columns are ignored), can be repeated
sort the column(s) in ascending order
sort the column(s) in descending order
Name or ID of the share snapshot to show access list for.
This command is provided by the python-manilaclient plugin.
Adopt a share snapshot
share snapshot adopt
[-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>
the output format, defaults to table
specify the column(s) to include, can be repeated to show multiple columns
whether to disable indenting the JSON
add a prefix to all variable names
Maximum display width, <1 to disable. You can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence.
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 table if there is no data to show.
Optional snapshot name (Default=None).
Optional snapshot description (Default=None).
Set driver options as key=value pairs.(repeat option to set multiple key=value pairs)
Wait until share snapshot is adopted
Name or ID of the share that owns the snapshot to be adopted.
Provider location of the snapshot on the backend.
This command is provided by the python-manilaclient plugin.
Create a snapshot of the given share
share snapshot create
[-f {json,shell,table,value,yaml}]
[-c COLUMN]
[--noindent]
[--prefix PREFIX]
[--max-width <integer>]
[--fit-width]
[--print-empty]
[--force]
[--name <name>]
[--description <description>]
[--wait]
<share>
the output format, defaults to table
specify the column(s) to include, can be repeated to show multiple columns
whether to disable indenting the JSON
add a prefix to all variable names
Maximum display width, <1 to disable. You can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence.
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 table if there is no data to show.
Optional flag to indicate whether to snapshot a share even if it’s busy. (Default=False)
Add a name to the snapshot (Optional).
Add a description to the snapshot (Optional).
Wait for share snapshot creation
Name or ID of the share to create snapshot of
This command is provided by the python-manilaclient plugin.
Delete one or more share snapshots
share snapshot delete [--force] [--wait] <snapshot> [<snapshot> ...]
Delete the snapshot(s) ignoring the current state.
Wait for share snapshot deletion
Name or ID of the snapshot(s) to delete
This command is provided by the python-manilaclient plugin.
List export locations of a given snapshot
share snapshot export location list
[-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>
the output format, defaults to table
specify the column(s) to include, can be repeated to show multiple columns
when to include quotes, defaults to nonnumeric
whether to disable indenting the JSON
Maximum display width, <1 to disable. You can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence.
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 table if there is no data to show.
specify the column(s) to sort the data (columns specified first have a priority, non-existing columns are ignored), can be repeated
sort the column(s) in ascending order
sort the column(s) in descending order
Name or ID of the share snapshot.
This command is provided by the python-manilaclient plugin.
Show export location of the share snapshot
share snapshot export location show
[-f {json,shell,table,value,yaml}]
[-c COLUMN]
[--noindent]
[--prefix PREFIX]
[--max-width <integer>]
[--fit-width]
[--print-empty]
<snapshot>
<export-location>
the output format, defaults to table
specify the column(s) to include, can be repeated to show multiple columns
whether to disable indenting the JSON
add a prefix to all variable names
Maximum display width, <1 to disable. You can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence.
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 table if there is no data to show.
Name or ID of the share snapshot.
ID of the share snapshot export location.
This command is provided by the python-manilaclient plugin.
List snapshots
share snapshot list
[-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]
the output format, defaults to table
specify the column(s) to include, can be repeated to show multiple columns
when to include quotes, defaults to nonnumeric
whether to disable indenting the JSON
Maximum display width, <1 to disable. You can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence.
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 table if there is no data to show.
specify the column(s) to sort the data (columns specified first have a priority, non-existing columns are ignored), can be repeated
sort the column(s) in ascending order
sort the column(s) in descending order
Display snapshots from all projects (Admin only).
Filter results by name.
Filter results by description. Available only for microversion >= 2.36.
Filter results by status
Name or ID of a share to filter results by.
Option to filter snapshots by usage.
Limit the number of snapshots returned
The last share ID of the previous page
Sort output by selected keys and directions(asc or desc) (default: name:asc), multiple keys and directions can be specified separated by comma
Filter results matching a share snapshot name pattern. Available only for microversion >= 2.36.
Filter results matching a share snapshot description pattern. Available only for microversion >= 2.36.
List share snapshots with details
This command is provided by the python-manilaclient plugin.
Set share snapshot properties
share snapshot set
[--name <name>]
[--description <description>]
[--status <status>]
<snapshot>
Set a name to the snapshot.
Set a description to the snapshot.
Assign a status to the snapshot (Admin only). Options include : available, error, creating, deleting, manage_starting, manage_error, unmanage_starting, unmanage_error, error_deleting.
Name or ID of the snapshot to set a property for
This command is provided by the python-manilaclient plugin.
Show details about a share snapshot
share snapshot show
[-f {json,shell,table,value,yaml}]
[-c COLUMN]
[--noindent]
[--prefix PREFIX]
[--max-width <integer>]
[--fit-width]
[--print-empty]
<snapshot>
the output format, defaults to table
specify the column(s) to include, can be repeated to show multiple columns
whether to disable indenting the JSON
add a prefix to all variable names
Maximum display width, <1 to disable. You can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence.
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 table if there is no data to show.
Name or ID of the snapshot to display
This command is provided by the python-manilaclient plugin.
Unset a share snapshot property
share snapshot unset [--name] [--description] <snapshot>
Unset snapshot name.
Unset snapshot description.
Name or ID of the snapshot to set a property for
This command is provided by the python-manilaclient plugin.
List export locations from a share snapshot instance.
share snapshot instance export location list
[-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>
the output format, defaults to table
specify the column(s) to include, can be repeated to show multiple columns
when to include quotes, defaults to nonnumeric
whether to disable indenting the JSON
Maximum display width, <1 to disable. You can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence.
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 table if there is no data to show.
specify the column(s) to sort the data (columns specified first have a priority, non-existing columns are ignored), can be repeated
sort the column(s) in ascending order
sort the column(s) in descending order
Name or ID of the share instance.
This command is provided by the python-manilaclient plugin.
Show export location of the share snapshot instance.
share snapshot instance export location show
[-f {json,shell,table,value,yaml}]
[-c COLUMN]
[--noindent]
[--prefix PREFIX]
[--max-width <integer>]
[--fit-width]
[--print-empty]
<snapshot_instance>
<export_location>
the output format, defaults to table
specify the column(s) to include, can be repeated to show multiple columns
whether to disable indenting the JSON
add a prefix to all variable names
Maximum display width, <1 to disable. You can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence.
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 table if there is no data to show.
ID of the share snapshot instance.
ID of the share snapshot instance export location.
This command is provided by the python-manilaclient plugin.
List all share snapshot instances
share snapshot instance list
[-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]
the output format, defaults to table
specify the column(s) to include, can be repeated to show multiple columns
when to include quotes, defaults to nonnumeric
whether to disable indenting the JSON
Maximum display width, <1 to disable. You can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence.
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 table if there is no data to show.
specify the column(s) to sort the data (columns specified first have a priority, non-existing columns are ignored), can be repeated
sort the column(s) in ascending order
sort the column(s) in descending order
Filter results by share snapshot ID.
Show detailed information about snapshot instances.
This command is provided by the python-manilaclient plugin.
Explicitly update the state of a share snapshot instance.
share snapshot instance set [--status <status>] <snapshot_instance>
Indicate state to update the snapshot instance to. Default is available.
ID of the share snapshot instance to update.
This command is provided by the python-manilaclient plugin.
Show details about a share snapshot instance.
share snapshot instance show
[-f {json,shell,table,value,yaml}]
[-c COLUMN]
[--noindent]
[--prefix PREFIX]
[--max-width <integer>]
[--fit-width]
[--print-empty]
<snapshot_instance>
the output format, defaults to table
specify the column(s) to include, can be repeated to show multiple columns
whether to disable indenting the JSON
add a prefix to all variable names
Maximum display width, <1 to disable. You can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence.
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 table if there is no data to show.
ID of the share snapshot instance.
This command is provided by the python-manilaclient plugin.
Remove one or more messages
share message delete <message> [<message> ...]
ID of the message(s).
This command is provided by the python-manilaclient plugin.
Lists all messages
share message list
[-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>]
the output format, defaults to table
specify the column(s) to include, can be repeated to show multiple columns
when to include quotes, defaults to nonnumeric
whether to disable indenting the JSON
Maximum display width, <1 to disable. You can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence.
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 table if there is no data to show.
specify the column(s) to sort the data (columns specified first have a priority, non-existing columns are ignored), can be repeated
sort the column(s) in ascending order
sort the column(s) in descending order
Filters results by a resource uuid. Default=None.
Filters results by a resource type. Default=None. Example: “openstack message list –resource-type share”
Filters results by action id. Default=None.
Filters results by detail id. Default=None.
Filters results by request id. Default=None.
Filters results by the message level. Default=None. Example: “openstack message list –message-level ERROR”.
Maximum number of messages to return. (Default=None)
Return only user messages created since given date. The date format must be conforming to ISO8601. Available only for microversion >= 2.52.
Return only user messages created before given date. The date format must be conforming to ISO8601. Available only for microversion >= 2.52.
This command is provided by the python-manilaclient plugin.
Show details about a message
share message show
[-f {json,shell,table,value,yaml}]
[-c COLUMN]
[--noindent]
[--prefix PREFIX]
[--max-width <integer>]
[--fit-width]
[--print-empty]
<message>
the output format, defaults to table
specify the column(s) to include, can be repeated to show multiple columns
whether to disable indenting the JSON
add a prefix to all variable names
Maximum display width, <1 to disable. You can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence.
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 table if there is no data to show.
ID of the message.
This command is provided by the python-manilaclient plugin.
Create a replica of the given share
share replica create
[-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>
the output format, defaults to table
specify the column(s) to include, can be repeated to show multiple columns
whether to disable indenting the JSON
add a prefix to all variable names
Maximum display width, <1 to disable. You can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence.
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 table if there is no data to show.
Availability zone in which the replica should be created.
Wait for replica creation
Scheduler hint for the share replica as key=value pairs, Supported key is only_host. Available for microversion >= 2.67.
Optional network info ID or name. Available for microversion >= 2.72
Name or ID of the share to replicate.
This command is provided by the python-manilaclient plugin.
Delete one or more share replicas
share replica delete [--force] [--wait] <replica> [<replica> ...]
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 for share replica deletion
Name or ID of the replica(s) to delete
This command is provided by the python-manilaclient plugin.
List export locations of a share replica.
share replica export location list
[-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>
the output format, defaults to table
specify the column(s) to include, can be repeated to show multiple columns
when to include quotes, defaults to nonnumeric
whether to disable indenting the JSON
Maximum display width, <1 to disable. You can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence.
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 table if there is no data to show.
specify the column(s) to sort the data (columns specified first have a priority, non-existing columns are ignored), can be repeated
sort the column(s) in ascending order
sort the column(s) in descending order
ID of the share replica.
This command is provided by the python-manilaclient plugin.
Show details of a share replica’s export location.
share replica export location show
[-f {json,shell,table,value,yaml}]
[-c COLUMN]
[--noindent]
[--prefix PREFIX]
[--max-width <integer>]
[--fit-width]
[--print-empty]
<replica>
<export-location>
the output format, defaults to table
specify the column(s) to include, can be repeated to show multiple columns
whether to disable indenting the JSON
add a prefix to all variable names
Maximum display width, <1 to disable. You can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence.
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 table if there is no data to show.
ID of the share replica.
ID of the share replica export location.
This command is provided by the python-manilaclient plugin.
List share replicas
share replica list
[-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>]
the output format, defaults to table
specify the column(s) to include, can be repeated to show multiple columns
when to include quotes, defaults to nonnumeric
whether to disable indenting the JSON
Maximum display width, <1 to disable. You can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence.
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 table if there is no data to show.
specify the column(s) to sort the data (columns specified first have a priority, non-existing columns are ignored), can be repeated
sort the column(s) in ascending order
sort the column(s) in descending order
Name or ID of the share to list replicas for.
This command is provided by the python-manilaclient plugin.
Promote specified replica to ‘active’ replica_state.
share replica promote <replica>
ID of the share replica.
This command is provided by the python-manilaclient plugin.
Attempt to update the share replica with its ‘active’ mirror.
share replica resync <replica>
ID of the share replica to resync.
This command is provided by the python-manilaclient plugin.
Explicitly set share replica status and/or replica-state
share replica set
[--replica-state <replica-state>]
[--status <status>]
<replica>
Indicate which replica_state to assign the replica. Options include in_sync, out_of_sync, active and error.
Indicate which status to assign the replica. Options include available, error, creating, deleting and error_deleting.
ID of the share replica to modify.
This command is provided by the python-manilaclient plugin.
Show details about a replica
share replica show
[-f {json,shell,table,value,yaml}]
[-c COLUMN]
[--noindent]
[--prefix PREFIX]
[--max-width <integer>]
[--fit-width]
[--print-empty]
<replica>
the output format, defaults to table
specify the column(s) to include, can be repeated to show multiple columns
whether to disable indenting the JSON
add a prefix to all variable names
Maximum display width, <1 to disable. You can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence.
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 table if there is no data to show.
ID of the share replica. Available only for microversion >= 2.47.
This command is provided by the python-manilaclient plugin.
List all availability zones
share availability zone list
[-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]
the output format, defaults to table
specify the column(s) to include, can be repeated to show multiple columns
when to include quotes, defaults to nonnumeric
whether to disable indenting the JSON
Maximum display width, <1 to disable. You can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence.
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 table if there is no data to show.
specify the column(s) to sort the data (columns specified first have a priority, non-existing columns are ignored), can be repeated
sort the column(s) in ascending order
sort the column(s) in descending order
This command is provided by the python-manilaclient plugin.
List share services (Admin only).
share service list
[-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>]
the output format, defaults to table
specify the column(s) to include, can be repeated to show multiple columns
when to include quotes, defaults to nonnumeric
whether to disable indenting the JSON
Maximum display width, <1 to disable. You can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence.
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 table if there is no data to show.
specify the column(s) to sort the data (columns specified first have a priority, non-existing columns are ignored), can be repeated
sort the column(s) in ascending order
sort the column(s) in descending order
Filter services by name of the host.
Filter services by the name of the service.
Filter results by status.
Filter results by state.
Filter services by their availability zone.
This command is provided by the python-manilaclient plugin.
Enable/Disable share service (Admin only).
share service set [--enable | --disable] <host> <binary>
Enable share service
Disable share service
Host name as ‘example_host@example_backend’.
Service binary, could be ‘manila-share’, ‘manila-scheduler’ or ‘manila-data’
This command is provided by the python-manilaclient plugin.
Create security service used by project.
share security service create
[-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>]
<type>
the output format, defaults to table
specify the column(s) to include, can be repeated to show multiple columns
whether to disable indenting the JSON
add a prefix to all variable names
Maximum display width, <1 to disable. You can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence.
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 table if there is no data to show.
DNS IP address of the security service used inside project’s network.
Security service OU (Organizational Unit). Available only for microversion >= 2.44.
Security service IP address or hostname.
Security service domain.
Security service user or group used by project.
Password used by user.
Security service name.
Security service description.
Security service type. Possible options are: ‘ldap’, ‘kerberos’, ‘active_directory’.
This command is provided by the python-manilaclient plugin.
Delete one or more security services.
share security service delete
<security-service>
[<security-service> ...]
Name or ID of the security service(s) to delete.
This command is provided by the python-manilaclient plugin.
List security services.
share security service list
[-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>]
[--server <server>]
[--domain <domain>]
[--detail]
[--limit <num-security-services>]
[--marker <security-service>]
the output format, defaults to table
specify the column(s) to include, can be repeated to show multiple columns
when to include quotes, defaults to nonnumeric
whether to disable indenting the JSON
Maximum display width, <1 to disable. You can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence.
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 table if there is no data to show.
specify the column(s) to sort the data (columns specified first have a priority, non-existing columns are ignored), can be repeated
sort the column(s) in ascending order
sort the column(s) in descending order
Display information from all projects (Admin only).
Filter results by share network name or ID.
Filter results by status.
Filter results by security service name.
Filter results by security service type.
Filter results by security service user or group used by project.
Filter results by DNS IP address used inside project’s network.
Filter results by security service OU (Organizational Unit). Available only for microversion >= 2.44.
Filter results by security service IP address or hostname.
Filter results by security service domain.
Show detailed information about filtered security services.
Limit the number of security services returned
The last security service ID of the previous page
This command is provided by the python-manilaclient plugin.
Set security service.
share security service set
[--dns-ip <dns-ip>]
[--ou <ou>]
[--server <server>]
[--domain <domain>]
[--user <user]
[--password <password>]
[--name <name>]
[--description <description>]
<security-service>
Set DNS IP address used inside project’s network.
Set security service OU (Organizational Unit). Available only for microversion >= 2.44.
Set security service IP address or hostname.
Set security service domain.
Set security service user or group used by project.
Set password used by user.
Set security service name.
Set security service description.
Security service name or ID.
This command is provided by the python-manilaclient plugin.
Show security service.
share security service show
[-f {json,shell,table,value,yaml}]
[-c COLUMN]
[--noindent]
[--prefix PREFIX]
[--max-width <integer>]
[--fit-width]
[--print-empty]
<security-service>
the output format, defaults to table
specify the column(s) to include, can be repeated to show multiple columns
whether to disable indenting the JSON
add a prefix to all variable names
Maximum display width, <1 to disable. You can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence.
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 table if there is no data to show.
Security service name or ID to show.
This command is provided by the python-manilaclient plugin.
Unset security service.
share security service unset
[--dns-ip]
[--ou]
[--server]
[--domain]
[--user]
[--password]
[--name]
[--description]
<security-service>
Unset DNS IP address used inside project’s network.
Unset security service OU (Organizational Unit). Available only for microversion >= 2.44.
Unset security service IP address or hostname.
Unset security service domain.
Unset security service user or group used by project.
Unset password used by user.
Unset security service name.
Unset security service description.
Security service name or ID.
This command is provided by the python-manilaclient plugin.
List all backend storage pools known to the scheduler (Admin only).
share pool list
[-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>]
the output format, defaults to table
specify the column(s) to include, can be repeated to show multiple columns
when to include quotes, defaults to nonnumeric
whether to disable indenting the JSON
Maximum display width, <1 to disable. You can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence.
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 table if there is no data to show.
specify the column(s) to sort the data (columns specified first have a priority, non-existing columns are ignored), can be repeated
sort the column(s) in ascending order
sort the column(s) in descending order
Filter results by host name. Regular expressions are supported.
Filter results by backend name. Regular expressions are supported.
Filter results by pool name. Regular expressions are supported.
Show detailed information about pools.
Filter results by share type name or ID. Available only for microversion >= 2.23
This command is provided by the python-manilaclient plugin.
Show a list of share limits for a user.
share limits show
[-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)
the output format, defaults to table
specify the column(s) to include, can be repeated to show multiple columns
when to include quotes, defaults to nonnumeric
whether to disable indenting the JSON
Maximum display width, <1 to disable. You can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence.
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 table if there is no data to show.
specify the column(s) to sort the data (columns specified first have a priority, non-existing columns are ignored), can be repeated
sort the column(s) in ascending order
sort the column(s) in descending order
Get the absolute limits for the user
Get the API rate limits for the user
This command is provided by the python-manilaclient plugin.
List share instance export locations
share instance export location list
[-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>
the output format, defaults to table
specify the column(s) to include, can be repeated to show multiple columns
when to include quotes, defaults to nonnumeric
whether to disable indenting the JSON
Maximum display width, <1 to disable. You can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence.
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 table if there is no data to show.
specify the column(s) to sort the data (columns specified first have a priority, non-existing columns are ignored), can be repeated
sort the column(s) in ascending order
sort the column(s) in descending order
ID of the share instance.
This command is provided by the python-manilaclient plugin.
Show export location for a share instance.
share instance export location show
[-f {json,shell,table,value,yaml}]
[-c COLUMN]
[--noindent]
[--prefix PREFIX]
[--max-width <integer>]
[--fit-width]
[--print-empty]
<instance>
<export_location>
the output format, defaults to table
specify the column(s) to include, can be repeated to show multiple columns
whether to disable indenting the JSON
add a prefix to all variable names
Maximum display width, <1 to disable. You can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence.
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 table if there is no data to show.
Name or ID of the share instance
ID of the share instance export location.
This command is provided by the python-manilaclient plugin.
Create new share group
share group create
[-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]
the output format, defaults to table
specify the column(s) to include, can be repeated to show multiple columns
whether to disable indenting the JSON
add a prefix to all variable names
Maximum display width, <1 to disable. You can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence.
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 table if there is no data to show.
Share group name
Share group description.
Name or ID of share type(s).
Share group type name or ID of the share group to be created.
Specify share network name or id
Share group snapshot name or ID to create the share group from.
Optional availability zone in which group should be created
Wait for share group creation
This command is provided by the python-manilaclient plugin.
Delete one or more share groups
share group delete [--force] [--wait] <share_group> [<share_group> ...]
Attempt to force delete the share group (Default=False) (Admin only).
Wait for share group to delete
Name or ID of the share group(s) to delete
This command is provided by the python-manilaclient plugin.
List share groups
share group list
[-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~>]
the output format, defaults to table
specify the column(s) to include, can be repeated to show multiple columns
when to include quotes, defaults to nonnumeric
whether to disable indenting the JSON
Maximum display width, <1 to disable. You can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence.
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 table if there is no data to show.
specify the column(s) to sort the data (columns specified first have a priority, non-existing columns are ignored), can be repeated
sort the column(s) in ascending order
sort the column(s) in descending order
Display share groups from all projects (Admin only).
Filter results by name.
Filter results by description. Available only for microversion >= 2.36.
Filter results by status.
Filter results by share server ID.
Filter results by a share group type ID or name that was used for share group creation.
Filter results by share group snapshot name or ID that was used to create the share group.
Filter results by host.
Filter results by share-network name or ID.
Filter results by project name or ID. Useful with set key ‘–all-projects’.
Domain the project belongs to (name or ID). This can be used in case collisions between project names exist.
Limit the number of share groups returned
The last share group ID of the previous page
Sort output by selected keys and directions(asc or desc) (default: name:asc), multiple keys and directions can be specified separated by comma
Filter results matching a share group name pattern. Available only for microversion >= 2.36.
Filter results matching a share group description pattern. Available only for microversion >= 2.36.
This command is provided by the python-manilaclient plugin.
Unset a share group property
share group unset [--name] [--description] <share-group>
Unset share group name.
Unset share group description.
Name or ID of the share group to set a property for.
This command is provided by the python-manilaclient plugin.
Explicitly set share group status
share group set
[--name <name>]
[--description <description>]
[--status <status>]
<share-group>
New name for the share group. (Default=None)
Share group description. (Default=None)
Explicitly update the status of a share group (Admin only). Examples include: available, error, creating, deleting, error_deleting.
Name or ID of the share group to update.
This command is provided by the python-manilaclient plugin.
Allow a project to access a share group type (Admin only).
share group type access create
[--project-domain <project-domain>]
<share-group-type>
<project>
[<project> ...]
Domain the project belongs to (name or ID). This can be used in case collisions between project names exist.
Share group type name or ID to allow access to.
Project Name or ID to add share group type access for.
This command is provided by the python-manilaclient plugin.
Deny a project to access a share group type (Admin only).
share group type access delete
[--project-domain <project-domain>]
<share-group-type>
<project>
[<project> ...]
Domain the project belongs to (name or ID). This can be used in case collisions between project names exist.
Share group type name or ID to deny access from
Project Name(s) or ID(s) to deny share group type access for.
This command is provided by the python-manilaclient plugin.
Get access list for share group type (Admin only).
share group type access list
[-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>
the output format, defaults to table
specify the column(s) to include, can be repeated to show multiple columns
when to include quotes, defaults to nonnumeric
whether to disable indenting the JSON
Maximum display width, <1 to disable. You can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence.
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 table if there is no data to show.
specify the column(s) to sort the data (columns specified first have a priority, non-existing columns are ignored), can be repeated
sort the column(s) in ascending order
sort the column(s) in descending order
Filter results by share group type name or ID.
This command is provided by the python-manilaclient plugin.
Create new share group type
share group type create
[-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> ...]
the output format, defaults to table
specify the column(s) to include, can be repeated to show multiple columns
whether to disable indenting the JSON
add a prefix to all variable names
Maximum display width, <1 to disable. You can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence.
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 table if there is no data to show.
Share Group type extra specs by key and value. OPTIONAL: Default=None. Example: –group-specs consistent_snapshot_support=host.
Make type accessible to the public (default true).
Share group type name
List of share type names or IDs. Example: my-share-type-1 my-share-type-2
This command is provided by the python-manilaclient plugin.
Delete a share group type
share group type delete <share-group-types> [<share-group-types> ...]
Name or ID of the share group type(s) to delete
This command is provided by the python-manilaclient plugin.
List share types
share group type list
[-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> ...]]
the output format, defaults to table
specify the column(s) to include, can be repeated to show multiple columns
when to include quotes, defaults to nonnumeric
whether to disable indenting the JSON
Maximum display width, <1 to disable. You can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence.
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 table if there is no data to show.
specify the column(s) to sort the data (columns specified first have a priority, non-existing columns are ignored), can be repeated
sort the column(s) in ascending order
sort the column(s) in descending order
Display all share group types whether public or private. Default=False. (Admin only)
Filter share group types with group specs (key=value).
This command is provided by the python-manilaclient plugin.
Set share group type properties
share group type set
[--group-specs [<key=value> ...]]
<share-group-type>
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
Name or ID of the share group type to modify
This command is provided by the python-manilaclient plugin.
Show share group types
share group type show
[-f {json,shell,table,value,yaml}]
[-c COLUMN]
[--noindent]
[--prefix PREFIX]
[--max-width <integer>]
[--fit-width]
[--print-empty]
<share-group-type>
the output format, defaults to table
specify the column(s) to include, can be repeated to show multiple columns
whether to disable indenting the JSON
add a prefix to all variable names
Maximum display width, <1 to disable. You can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence.
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 table if there is no data to show.
Name or ID of the share group type to show
This command is provided by the python-manilaclient plugin.
Unset share group type extra specs
share group type unset <share-group-type> <key> [<key> ...]
Name or ID of the share grouptype to modify
Remove group specs from this share group type
This command is provided by the python-manilaclient plugin.
share group snapshot create¶
Create a share group snapshot of the given share group
share group snapshot create [-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>
- -f <FORMATTER>, --format <FORMATTER>¶
the output format, defaults to table
- -c COLUMN, --column COLUMN¶
specify the column(s) to include, can be repeated to show multiple columns
- --noindent¶
whether to disable indenting the JSON
- --prefix <PREFIX>¶
add a prefix to all variable names
- --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.
- --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
- share-group¶
Name or ID of the share group.
This command is provided by the python-manilaclient plugin.
share group snapshot delete¶
Delete one or more share group snapshot
share group snapshot delete [--force] [--wait] <share-group-snapshot> [<share-group-snapshot> ...]
- --force¶
Attempt to force delete the share group snapshot(s) (Default=False) (Admin only).
- --wait¶
Wait for share group snapshot deletion
- share-group-snapshot¶
Name or ID of the group snapshot(s) to delete
This command is provided by the python-manilaclient plugin.
share group snapshot list¶
List share group snapshots
share group snapshot list [-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]
- -f <FORMATTER>, --format <FORMATTER>¶
the output format, defaults to table
- -c COLUMN, --column COLUMN¶
specify the column(s) to include, can be repeated to show multiple columns
- --quote <QUOTE_MODE>¶
when to include quotes, defaults to nonnumeric
- --noindent¶
whether to disable indenting the JSON
- --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.
- --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
- --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.
This command is provided by the python-manilaclient plugin.
share group snapshot members list¶
List members of share group snapshot
share group snapshot members list [-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>
- -f <FORMATTER>, --format <FORMATTER>¶
the output format, defaults to table
- -c COLUMN, --column COLUMN¶
specify the column(s) to include, can be repeated to show multiple columns
- --quote <QUOTE_MODE>¶
when to include quotes, defaults to nonnumeric
- --noindent¶
whether to disable indenting the JSON
- --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.
- --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
- share-group-snapshot¶
Name or ID of the group snapshot to list members for
This command is provided by the python-manilaclient plugin.
share group snapshot set¶
Set share group snapshot properties
share group snapshot set [--name <name>] [--description <description>] [--status <status>] <share-group-snapshot>
- --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.
- share-group-snapshot¶
Name or ID of the snapshot to set a property for
This command is provided by the python-manilaclient plugin.
share group snapshot show¶
Show details about a share group snapshot
share group snapshot show [-f {json,shell,table,value,yaml}] [-c COLUMN] [--noindent] [--prefix PREFIX] [--max-width <integer>] [--fit-width] [--print-empty] <share-group-snapshot>
- -f <FORMATTER>, --format <FORMATTER>¶
the output format, defaults to table
- -c COLUMN, --column COLUMN¶
specify the column(s) to include, can be repeated to show multiple columns
- --noindent¶
whether to disable indenting the JSON
- --prefix <PREFIX>¶
add a prefix to all variable names
- --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.
- share-group-snapshot¶
Name or ID of the share group snapshot to display
This command is provided by the python-manilaclient plugin.
share group snapshot unset¶
Unset a share group snapshot property
share group snapshot unset [--name] [--description] <share-group-snapshot>
- --name¶
Unset share group snapshot name.
- --description¶
Unset share group snapshot description.
- share-group-snapshot¶
Name or ID of the group snapshot to unset a property of
This command is provided by the python-manilaclient plugin.
Remove one or more share server(s) (Admin only).
share server abandon
[--force]
[--wait]
<share-server>
[<share-server> ...]
Enforces the unmanage share server operation, even if the backend driver does not support it.
Wait until share server is abandoned
ID of the server(s) to be abandoned.
This command is provided by the python-manilaclient plugin.
Adopt share server not handled by Manila (Admin only).
share server adopt
[-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>
the output format, defaults to table
specify the column(s) to include, can be repeated to show multiple columns
whether to disable indenting the JSON
add a prefix to all variable names
Maximum display width, <1 to disable. You can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence.
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 table if there is no data to show.
One or more driver-specific key=value pairs that may be necessary to manage the share server (Optional, Default=None).
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 until share server is adopted
Backend name as “<node_hostname>@<backend_name>”.
Share network where share server has network allocations in.
A driver-specific share server identifier required by the driver to manage the share server.
This command is provided by the python-manilaclient plugin.
Delete one or more share servers
share server delete [--wait] <share-server> [<share-server> ...]
Wait for share server deletion.
ID(s) of the server(s) to delete
This command is provided by the python-manilaclient plugin.
List all share servers (Admin only).
share server list
[-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>]
the output format, defaults to table
specify the column(s) to include, can be repeated to show multiple columns
when to include quotes, defaults to nonnumeric
whether to disable indenting the JSON
Maximum display width, <1 to disable. You can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence.
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 table if there is no data to show.
specify the column(s) to sort the data (columns specified first have a priority, non-existing columns are ignored), can be repeated
sort the column(s) in ascending order
sort the column(s) in descending order
Filter results by name of host.
Filter results by status.
Filter results by share network name or ID.
Filter results by project name or ID.
Filter results by share network subnet that the share server’s network allocation exists within. Available for microversion >= 2.51 (Optional, Default=None)
Domain the project belongs to (name or ID). This can be used in case collisions between project names exist.
This command is provided by the python-manilaclient plugin.
Cancels migration of a given share server when copying
share server migration cancel <share_server>
ID of share server to cancel migration.
This command is provided by the python-manilaclient plugin.
Completes migration for a given share server
share server migration complete <share_server>
ID of share server to complete migration.
This command is provided by the python-manilaclient plugin.
Gets migration progress of a given share server when copying
share server migration show
[-f {json,shell,table,value,yaml}]
[-c COLUMN]
[--noindent]
[--prefix PREFIX]
[--max-width <integer>]
[--fit-width]
[--print-empty]
<share_server>
the output format, defaults to table
specify the column(s) to include, can be repeated to show multiple columns
whether to disable indenting the JSON
add a prefix to all variable names
Maximum display width, <1 to disable. You can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence.
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 table if there is no data to show.
ID of share server to show migration progress for.
This command is provided by the python-manilaclient plugin.
Migrates share server to a new host.
share server migration start
[-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>
the output format, defaults to table
specify the column(s) to include, can be repeated to show multiple columns
whether to disable indenting the JSON
add a prefix to all variable names
Maximum display width, <1 to disable. You can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence.
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 table if there is no data to show.
Set to True if snapshots must be preserved at the migration destination.
Enforces migration to keep all its shares writable while contents are being moved.
Enforces migration to be nondisruptive.
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.
Run a dry-run of the share server migration.
ID of share server to start migration.
Destination to migrate the share server to. Use the format ‘<node_hostname>@<backend_name>’.
This command is provided by the python-manilaclient plugin.
Set share server properties (Admin only).
share server set
[--status <status>]
[--task-state <task-state>]
<share-server>
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.
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.
ID of the share server to modify.
This command is provided by the python-manilaclient plugin.
Show details about a share server (Admin only).
share server show
[-f {json,shell,table,value,yaml}]
[-c COLUMN]
[--noindent]
[--prefix PREFIX]
[--max-width <integer>]
[--fit-width]
[--print-empty]
<share-server>
the output format, defaults to table
specify the column(s) to include, can be repeated to show multiple columns
whether to disable indenting the JSON
add a prefix to all variable names
Maximum display width, <1 to disable. You can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence.
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 table if there is no data to show.
ID of share server.
This command is provided by the python-manilaclient plugin.
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.