Chapter 16. Shared File System Service command-line client
1.1.0
.
manila help COMMAND
$ manila help COMMAND
16.1. manila usage Copy linkLink copied to clipboard!
usage: manila [--version] [-d] [--os-cache] [--os-reset-cache] [--os-username <auth-user-name>] [--os-password <auth-password>] [--os-tenant-name <auth-tenant-name>] [--os-tenant-id <auth-tenant-id>] [--os-auth-url <auth-url>] [--os-region-name <region-name>] [--service-type <service-type>] [--service-name <service-name>] [--share-service-name <share-service-name>] [--endpoint-type <endpoint-type>] [--os-share-api-version <compute-api-ver>] [--os-cacert <ca-certificate>] [--retries <retries>] <subcommand> ...
usage: manila [--version] [-d] [--os-cache] [--os-reset-cache] [--os-username <auth-user-name>] [--os-password <auth-password>] [--os-tenant-name <auth-tenant-name>] [--os-tenant-id <auth-tenant-id>] [--os-auth-url <auth-url>] [--os-region-name <region-name>] [--service-type <service-type>] [--service-name <service-name>] [--share-service-name <share-service-name>] [--endpoint-type <endpoint-type>] [--os-share-api-version <compute-api-ver>] [--os-cacert <ca-certificate>] [--retries <retries>] <subcommand> ...
Subcommands
- absolute-limits
- Print a list of absolute limits for a user.
- access-allow
- Allow access to the share.
- access-deny
- Deny access to a share.
- access-list
- Show access list for share.
- create
- Creates a new share (NFS, CIFS, GlusterFS or HDFS).
- credentials
- Show user credentials returned from auth.
- delete
- Remove one or more shares.
- endpoints
- Discover endpoints that get returned from the authenticate services.
- extra-specs-list
- Print a list of current 'share types and extra specs' (Admin Only).
- force-delete
- Attempt force-delete of share, regardless of state.
- list
- List NAS shares with filters.
- manage
- Manage share not handled by Manila.
- metadata
- Set or delete metadata on a share.
- metadata-show
- Show metadata of given share.
- metadata-update-all
- Update all metadata of a share.
- pool-list
- List all backend storage pools known to the scheduler (Admin only).
- quota-class-show
- List the quotas for a quota class.
- quota-class-update
- Update the quotas for a quota class.
- quota-defaults
- List the default quotas for a tenant.
- quota-delete
- Delete quota for a tenant/user. The quota will revert back to default.
- quota-show
- List the quotas for a tenant/user.
- quota-update
- Update the quotas for a tenant/user.
- rate-limits
- Print a list of rate limits for a user.
- reset-state
- Explicitly update the state of a share.
- security-service-create
- Create security service used by tenant.
- security-service-delete
- Delete security service.
- security-service-list
- Get a list of security services.
- security-service-show
- Show security service.
- security-service-update
- Update security service.
- service-list
- List all services.
- share-network-create
- Create description for network used by the tenant.
- share-network-delete
- Delete share network.
- share-network-list
- Get a list of network info.
- share-network-security-service-add
- Associate security service with share network.
- share-network-security-service-list
- Get list of security services associated with a given share network.
- share-network-security-service-remove
- Dissociate security service from share network.
- share-network-show
- Get a description for network used by the tenant.
- share-network-update
- Update share network data.
- share-server-delete
- Delete share server.
- share-server-details
- Show share server details.
- share-server-list
- List all share servers.
- share-server-show
- Show share server info.
- show
- Show details about a NAS share.
- snapshot-create
- Add a new snapshot.
- snapshot-delete
- Remove a snapshot.
- snapshot-force-delete
- Attempt force-delete of snapshot, regardless of state.
- snapshot-list
- List all the snapshots.
- snapshot-rename
- Rename a snapshot.
- snapshot-reset-state
- Explicitly update the state of a snapshot.
- snapshot-show
- Show details about a snapshot.
- type-access-add
- Adds share type access for the given project.
- type-access-list
- Print access information about the given share type.
- type-access-remove
- Removes share type access for the given project.
- type-create
- Create a new share type.
- type-delete
- Delete a specific share type.
- type-key
- Set or unset extra_spec for a share type.
- type-list
- Print a list of available 'share types'.
- unmanage
- Unmanage share.
- update
- Rename a share.
- bash-completion
- Print arguments for bash_completion. Prints all of the commands and options to stdout so that the manila.bash_completion script doesn't have to hard code them.
- help
- Display help about this program or one of its subcommands.
- list-extensions
- List all the os-api extensions that are available.
16.2. manila optional arguments Copy linkLink copied to clipboard!
- --version
- show program's version number and exit
- -d, --debug
- Print debugging output.
- --os-cache
- Use the auth token cache. Defaults to
env[OS_CACHE]
. - --os-reset-cache
- Delete cached password and auth token.
- --os-username <auth-user-name>
- Defaults to
env[OS_USERNAME]
. - --os-password <auth-password>
- Defaults to
env[OS_PASSWORD]
. - --os-tenant-name <auth-tenant-name>
- Defaults to
env[OS_TENANT_NAME]
. - --os-tenant-id <auth-tenant-id>
- Defaults to
env[OS_TENANT_ID]
. - --os-auth-url <auth-url>
- Defaults to
env[OS_AUTH_URL]
. - --os-region-name <region-name>
- Defaults to
env[OS_REGION_NAME]
. - --service-type <service-type>
- Defaults to compute for most actions.
- --service-name <service-name>
- Defaults to
env[MANILA_SERVICE_NAME]
. - --share-service-name <share-service-name>
- Defaults to
env[MANILA_share_service_name]
. - --endpoint-type <endpoint-type>
- Defaults to
env[MANILA_ENDPOINT_TYPE]
or publicURL. - --os-share-api-version <compute-api-ver>
- Accepts 1 or 2, defaults to
env[OS_SHARE_API_VERSION]
. - --os-cacert <ca-certificate>
- Specify a CA bundle file to use in verifying a TLS (https) server certificate. Defaults to
env[OS_CACERT]
. - --retries <retries>
- Number of retries.
16.3. manila absolute-limits Copy linkLink copied to clipboard!
usage: manila absolute-limits
usage: manila absolute-limits
16.4. manila access-allow Copy linkLink copied to clipboard!
usage: manila access-allow [--access-level <access_level>] <share> <access_type> <access_to>
usage: manila access-allow [--access-level <access_level>] <share> <access_type> <access_to>
Positional arguments
- <share>
- Name or ID of the NAS share to modify.
- <access_type>
- Access rule type (only "ip", "user"(user or group), and "cert" are supported).
- <access_to>
- Value that defines access.
Optional arguments
- --access-level <access_level>, --access_level <access_level>
- Share access level ("rw" and "ro" access levels are supported). Defaults to None.
16.5. manila access-deny Copy linkLink copied to clipboard!
usage: manila access-deny <share> <id>
usage: manila access-deny <share> <id>
Positional arguments
- <share>
- Name or ID of the NAS share to modify.
- <id>
- ID of the access rule to be deleted.
16.6. manila access-list Copy linkLink copied to clipboard!
usage: manila access-list <share>
usage: manila access-list <share>
Positional arguments
- <share>
- Name or ID of the share.
16.7. manila create Copy linkLink copied to clipboard!
usage: manila create [--snapshot-id <snapshot-id>] [--name <name>] [--metadata [<key=value> [<key=value> ...]]] [--share-network <network-info>] [--description <description>] [--share-type <share-type>] [--public] <share_protocol> <size>
usage: manila create [--snapshot-id <snapshot-id>] [--name <name>] [--metadata [<key=value> [<key=value> ...]]] [--share-network <network-info>] [--description <description>] [--share-type <share-type>] [--public] <share_protocol> <size>
Positional arguments
- <share_protocol>
- Share type (NFS, CIFS, GlusterFS or HDFS).
- <size>
- Share size in GB.
Optional arguments
- --snapshot-id <snapshot-id>
- Optional snapshot ID to create the share from. (Default=None)
- --name <name>
- Optional share name. (Default=None)
- --metadata [<key=value> [<key=value> ...]]
- Metadata key=value pairs (Optional, Default=None).
- --share-network <network-info>
- Optional network info ID or name.
- --description <description>
- Optional share description. (Default=None)
- --share-type <share-type>, --share_type <share-type>, --volume-type <share-type>, --volume_type <share-type>
- Optional share type. Use of optional volume type is deprecated(Default=None)
- --public
- Level of visibility for share. Defines whether other tenants are able to see it or not.
16.8. manila credentials Copy linkLink copied to clipboard!
usage: manila credentials
usage: manila credentials
16.9. manila delete Copy linkLink copied to clipboard!
usage: manila delete <share> [<share> ...]
usage: manila delete <share> [<share> ...]
Positional arguments
- <share>
- Name or ID of the share(s).
16.10. manila endpoints Copy linkLink copied to clipboard!
usage: manila endpoints
usage: manila endpoints
16.11. manila extra-specs-list Copy linkLink copied to clipboard!
usage: manila extra-specs-list
usage: manila extra-specs-list
16.12. manila force-delete Copy linkLink copied to clipboard!
usage: manila force-delete <share> [<share> ...]
usage: manila force-delete <share> [<share> ...]
Positional arguments
- <share>
- Name or ID of the share(s) to force delete.
16.13. manila list Copy linkLink copied to clipboard!
usage: manila list [--all-tenants [<0|1>]] [--name <name>] [--status <status>] [--share-server-id <share_server_id>] [--metadata [<key=value> [<key=value> ...]]] [--extra-specs [<key=value> [<key=value> ...]]] [--share-type <share_type>] [--limit <limit>] [--offset <offset>] [--sort-key <sort_key>] [--sort-dir <sort_dir>] [--snapshot <snapshot>] [--host <host>] [--share-network <share_network>] [--project-id <project_id>] [--public]
usage: manila list [--all-tenants [<0|1>]] [--name <name>] [--status <status>] [--share-server-id <share_server_id>] [--metadata [<key=value> [<key=value> ...]]] [--extra-specs [<key=value> [<key=value> ...]]] [--share-type <share_type>] [--limit <limit>] [--offset <offset>] [--sort-key <sort_key>] [--sort-dir <sort_dir>] [--snapshot <snapshot>] [--host <host>] [--share-network <share_network>] [--project-id <project_id>] [--public]
Optional arguments
- --all-tenants [<0|1>]
- Display information from all tenants (Admin only).
- --name <name>
- Filter results by name.
- --status <status>
- Filter results by status.
- --share-server-id <share_server_id>, --share-server_id <share_server_id>, --share_server-id <share_server_id>, --share_server_id <share_server_id>
- Filter results by share server ID.
- --metadata [<key=value> [<key=value> ...]]
- Filters results by a metadata key and value. OPTIONAL: Default=None
- --extra-specs [<key=value> [<key=value> ...]], --extra_specs [<key=value> [<key=value> ...]]
- Filters results by a extra specs key and value of share type that was used for share creation. OPTIONAL: Default=None
- --share-type <share_type>, --volume-type--share_type <share_type>, --share-type-id <share_type>, --volume-type-id <share_type>, --share-type_id <share_type>, --share_type-id <share_type>, --share_type_id <share_type>, --volume_type <share_type>, --volume_type_id <share_type>
- Filter results by a share type id or name that was used for share creation.
- --limit <limit>
- Maximum number of shares to return. OPTIONAL: Default=None.
- --offset <offset>
- Set offset to define start point of share listing. OPTIONAL: Default=None.
- --sort-key <sort_key>, --sort_key <sort_key>
- Key to be sorted, available keys are ('id', 'status', 'size', 'host', 'share_proto', 'export_location', 'availability_zone', 'user_id', 'project_id', 'created_at', 'updated_at', 'display_name', 'name', 'share_type_id', 'share_type', 'share_network_id', 'share_network', 'snapshot_id', 'snapshot'). OPTIONAL: Default=None.
- --sort-dir <sort_dir>, --sort_dir <sort_dir>
- Sort direction, available values are ('asc', 'desc'). OPTIONAL: Default=None.
- --snapshot <snapshot>
- Filer results by snapshot name or id, that was used for share.
- --host <host>
- Filter results by host.
- --share-network <share_network>, --share_network <share_network>
- Filter results by share-network name or id.
- --project-id <project_id>, --project_id <project_id>
- Filter results by project id. Useful with set key '--all-tenants'.
- --public
- Add public shares from all tenants to result.
16.14. manila list-extensions Copy linkLink copied to clipboard!
usage: manila list-extensions
usage: manila list-extensions
16.15. manila manage Copy linkLink copied to clipboard!
usage: manila manage [--name <name>] [--description <description>] [--share_type <share_type>] [--driver_options [<key=value> [<key=value> ...]]] <service_host> <protocol> <export_path>
usage: manila manage [--name <name>] [--description <description>] [--share_type <share_type>] [--driver_options [<key=value> [<key=value> ...]]] <service_host> <protocol> <export_path>
Positional arguments
- <service_host>
- manage-share service host: some.host@driver[#pool]
- <protocol>
- Protocol of the share to manage, such as NFS or CIFS.
- <export_path>
- Share export path.
Optional arguments
- --name <name>
- Optional share name. (Default=None)
- --description <description>
- Optional share description. (Default=None)
- --share_type <share_type>, --share-type <share_type>
- Optional share type assigned to share. (Default=None)
- --driver_options [<key=value> [<key=value> ...]], --driver-options [<key=value> [<key=value> ...]]
- Driver option key=value pairs (Optional, Default=None).
16.16. manila metadata Copy linkLink copied to clipboard!
usage: manila metadata <share> <action> <key=value> [<key=value> ...]
usage: manila metadata <share> <action> <key=value> [<key=value> ...]
Positional arguments
- <share>
- Name or ID of the share to update metadata on.
- <action>
- Actions: 'set' or 'unset'.
- <key=value>
- Metadata to set or unset (key is only necessary on unset).
16.17. manila metadata-show Copy linkLink copied to clipboard!
usage: manila metadata-show <share>
usage: manila metadata-show <share>
Positional arguments
- <share>
- Name or ID of the share.
16.18. manila metadata-update-all Copy linkLink copied to clipboard!
usage: manila metadata-update-all <share> <key=value> [<key=value> ...]
usage: manila metadata-update-all <share> <key=value> [<key=value> ...]
Positional arguments
- <share>
- Name or ID of the share to update metadata on.
- <key=value>
- Metadata entry or entries to update.
16.19. manila pool-list Copy linkLink copied to clipboard!
usage: manila pool-list [--host <host>] [--backend <backend>] [--pool <pool>]
usage: manila pool-list [--host <host>] [--backend <backend>] [--pool <pool>]
Optional arguments
- --host <host>
- Filter results by host name. Regular expressions are supported.
- --backend <backend>
- Filter results by backend name. Regular expressions are supported.
- --pool <pool>
- Filter results by pool name. Regular expressions are supported.
16.20. manila quota-class-show Copy linkLink copied to clipboard!
usage: manila quota-class-show <class>
usage: manila quota-class-show <class>
Positional arguments
- <class>
- Name of quota class to list the quotas for.
16.21. manila quota-class-update Copy linkLink copied to clipboard!
usage: manila quota-class-update [--shares <shares>] [--snapshots <snapshots>] [--gigabytes <gigabytes>] [--snapshot-gigabytes <snapshot_gigabytes>] [--share-networks <share-networks>] <class-name>
usage: manila quota-class-update [--shares <shares>] [--snapshots <snapshots>] [--gigabytes <gigabytes>] [--snapshot-gigabytes <snapshot_gigabytes>] [--share-networks <share-networks>] <class-name>
Positional arguments
- <class-name>
- Name of quota class to set the quotas for.
Optional arguments
- --shares <shares>
- New value for the "shares" quota.
- --snapshots <snapshots>
- New value for the "snapshots" quota.
- --gigabytes <gigabytes>
- New value for the "gigabytes" quota.
- --snapshot-gigabytes <snapshot_gigabytes>, --snapshot_gigabytes <snapshot_gigabytes>
- New value for the "snapshot_gigabytes" quota.
- --share-networks <share-networks>
- New value for the "share_networks" quota.
16.22. manila quota-defaults Copy linkLink copied to clipboard!
usage: manila quota-defaults [--tenant <tenant-id>]
usage: manila quota-defaults [--tenant <tenant-id>]
Optional arguments
- --tenant <tenant-id> ID
- of tenant to list the default quotas for.
16.23. manila quota-delete Copy linkLink copied to clipboard!
usage: manila quota-delete [--tenant <tenant-id>] [--user <user-id>]
usage: manila quota-delete [--tenant <tenant-id>] [--user <user-id>]
Optional arguments
- --tenant <tenant-id> ID
- of tenant to delete quota for.
- --user <user-id> ID
- of user to delete quota for.
16.24. manila quota-show Copy linkLink copied to clipboard!
usage: manila quota-show [--tenant <tenant-id>] [--user <user-id>]
usage: manila quota-show [--tenant <tenant-id>] [--user <user-id>]
Optional arguments
- --tenant <tenant-id> ID
- of tenant to list the quotas for.
- --user <user-id> ID
- of user to list the quotas for.
16.25. manila quota-update Copy linkLink copied to clipboard!
usage: manila quota-update [--user <user-id>] [--shares <shares>] [--snapshots <snapshots>] [--gigabytes <gigabytes>] [--snapshot-gigabytes <snapshot_gigabytes>] [--share-networks <share-networks>] [--force] <tenant_id>
usage: manila quota-update [--user <user-id>] [--shares <shares>] [--snapshots <snapshots>] [--gigabytes <gigabytes>] [--snapshot-gigabytes <snapshot_gigabytes>] [--share-networks <share-networks>] [--force] <tenant_id>
Positional arguments
- <tenant_id>
- UUID of tenant to set the quotas for.
Optional arguments
- --user <user-id> ID
- of user to set the quotas for.
- --shares <shares>
- New value for the "shares" quota.
- --snapshots <snapshots>
- New value for the "snapshots" quota.
- --gigabytes <gigabytes>
- New value for the "gigabytes" quota.
- --snapshot-gigabytes <snapshot_gigabytes>, --snapshot_gigabytes <snapshot_gigabytes>
- New value for the "snapshot_gigabytes" quota.
- --share-networks <share-networks>
- New value for the "share_networks" quota.
- --force
- Whether force update the quota even if the already used and reserved exceeds the new quota.
16.26. manila rate-limits Copy linkLink copied to clipboard!
usage: manila rate-limits
usage: manila rate-limits
16.27. manila reset-state Copy linkLink copied to clipboard!
usage: manila reset-state [--state <state>] <share>
usage: manila reset-state [--state <state>] <share>
Positional arguments
- <share>
- Name or ID of the share to modify.
Optional arguments
- --state <state>
- Indicate which state to assign the share. Options include available, error, creating, deleting, error_deleting. If no state is provided, available will be used.
16.28. manila security-service-create Copy linkLink copied to clipboard!
usage: manila security-service-create [--dns-ip <dns_ip>] [--server <server>] [--domain <domain>] [--user <user>] [--password <password>] [--name <name>] [--description <description>] <type>
usage: manila security-service-create [--dns-ip <dns_ip>] [--server <server>] [--domain <domain>] [--user <user>] [--password <password>] [--name <name>] [--description <description>] <type>
Positional arguments
- <type>
- Security service type: 'ldap', 'kerberos' or 'active_directory'.
Optional arguments
- --dns-ip <dns_ip> DNS IP
- address used inside tenant's network.
- --server <server>
- Security service IP address or hostname.
- --domain <domain>
- Security service domain.
- --user <user>
- Security service user or group used by tenant.
- --password <password>
- Password used by user.
- --name <name>
- Security service name.
- --description <description>
- Security service description.
16.29. manila security-service-delete Copy linkLink copied to clipboard!
usage: manila security-service-delete <security-service>
usage: manila security-service-delete <security-service>
Positional arguments
- <security-service>
- Security service name or ID to delete.
16.30. manila security-service-list Copy linkLink copied to clipboard!
usage: manila security-service-list [--all-tenants [<0|1>]] [--share-network <share_network>] [--status <status>] [--name <name>] [--type <type>] [--user <user>] [--dns-ip <dns_ip>] [--server <server>] [--domain <domain>] [--detailed [<0|1>]] [--offset <offset>] [--limit <limit>]
usage: manila security-service-list [--all-tenants [<0|1>]] [--share-network <share_network>] [--status <status>] [--name <name>] [--type <type>] [--user <user>] [--dns-ip <dns_ip>] [--server <server>] [--domain <domain>] [--detailed [<0|1>]] [--offset <offset>] [--limit <limit>]
Optional arguments
- --all-tenants [<0|1>]
- Display information from all tenants (Admin only).
- --share-network <share_network>, --share_network <share_network>
- Filter results by share network id or name.
- --status <status>
- Filter results by status.
- --name <name>
- Filter results by name.
- --type <type>
- Filter results by type.
- --user <user>
- Filter results by user or group used by tenant.
- --dns-ip <dns_ip>, --dns_ip <dns_ip>
- Filter results by DNS IP address used inside tenant's network.
- --server <server>
- Filter results by security service IP address or hostname.
- --domain <domain>
- Filter results by domain.
- --detailed [<0|1>]
- Show detailed information about filtered security services.
- --offset <offset>
- Start position of security services listing.
- --limit <limit>
- Number of security services to return per request.
16.31. manila security-service-show Copy linkLink copied to clipboard!
usage: manila security-service-show <security-service>
usage: manila security-service-show <security-service>
Positional arguments
- <security-service>
- Security service name or ID to show.
16.32. manila security-service-update Copy linkLink copied to clipboard!
usage: manila security-service-update [--dns-ip <dns-ip>] [--server <server>] [--domain <domain>] [--user <user>] [--password <password>] [--name <name>] [--description <description>] <security-service>
usage: manila security-service-update [--dns-ip <dns-ip>] [--server <server>] [--domain <domain>] [--user <user>] [--password <password>] [--name <name>] [--description <description>] <security-service>
Positional arguments
- <security-service>
- Security service name or ID to update.
Optional arguments
- --dns-ip <dns-ip> DNS IP
- address used inside tenant's network.
- --server <server>
- Security service IP address or hostname.
- --domain <domain>
- Security service domain.
- --user <user>
- Security service user or group used by tenant.
- --password <password>
- Password used by user.
- --name <name>
- Security service name.
- --description <description>
- Security service description.
16.33. manila service-list Copy linkLink copied to clipboard!
usage: manila service-list [--host <hostname>] [--binary <binary>] [--status <status>] [--state <state>] [--zone <zone>]
usage: manila service-list [--host <hostname>] [--binary <binary>] [--status <status>] [--state <state>] [--zone <zone>]
Optional arguments
- --host <hostname>
- Name of host.
- --binary <binary>
- Service binary.
- --status <status>
- Filter results by status.
- --state <state>
- Filter results by state.
- --zone <zone>
- Availability zone.
16.46. manila show Copy linkLink copied to clipboard!
usage: manila show <share>
usage: manila show <share>
Positional arguments
- <share>
- Name or ID of the NAS share.
16.47. manila snapshot-create Copy linkLink copied to clipboard!
usage: manila snapshot-create [--force <True|False>] [--name <name>] [--description <description>] <share>
usage: manila snapshot-create [--force <True|False>] [--name <name>] [--description <description>] <share>
Positional arguments
- <share>
- Name or ID of the share to snapshot.
Optional arguments
- --force <True|False>
- Optional flag to indicate whether to snapshot a share even if it's busy. (Default=False)
- --name <name>
- Optional snapshot name. (Default=None)
- --description <description>
- Optional snapshot description. (Default=None)
16.48. manila snapshot-delete Copy linkLink copied to clipboard!
usage: manila snapshot-delete <snapshot>
usage: manila snapshot-delete <snapshot>
Positional arguments
- <snapshot>
- Name or ID of the snapshot to delete.
16.49. manila snapshot-force-delete Copy linkLink copied to clipboard!
usage: manila snapshot-force-delete <snapshot>
usage: manila snapshot-force-delete <snapshot>
Positional arguments
- <snapshot>
- Name or ID of the snapshot to force delete.
16.50. manila snapshot-list Copy linkLink copied to clipboard!
usage: manila snapshot-list [--all-tenants [<0|1>]] [--name <name>] [--status <status>] [--share-id <share_id>] [--usage [any|used|unused]] [--limit <limit>] [--offset <offset>] [--sort-key <sort_key>] [--sort-dir <sort_dir>]
usage: manila snapshot-list [--all-tenants [<0|1>]] [--name <name>] [--status <status>] [--share-id <share_id>] [--usage [any|used|unused]] [--limit <limit>] [--offset <offset>] [--sort-key <sort_key>] [--sort-dir <sort_dir>]
Optional arguments
- --all-tenants [<0|1>]
- Display information from all tenants (Admin only).
- --name <name>
- Filter results by name.
- --status <status>
- Filter results by status.
- --share-id <share_id>, --share_id <share_id>
- Filter results by source share ID.
- --usage [any|used|unused]
- Either filter or not snapshots by its usage. OPTIONAL: Default=any.
- --limit <limit>
- Maximum number of share snapshots to return. OPTIONAL: Default=None.
- --offset <offset>
- Set offset to define start point of share snapshots listing. OPTIONAL: Default=None.
- --sort-key <sort_key>, --sort_key <sort_key>
- Key to be sorted, available keys are ('id', 'status', 'size', 'share_id', 'user_id', 'project_id', 'progress', 'name', 'display_name'). OPTIONAL: Default=None.
- --sort-dir <sort_dir>, --sort_dir <sort_dir>
- Sort direction, available values are ('asc', 'desc'). OPTIONAL: Default=None.
16.51. manila snapshot-rename Copy linkLink copied to clipboard!
usage: manila snapshot-rename [--description <description>] <snapshot> [<name>]
usage: manila snapshot-rename [--description <description>] <snapshot> [<name>]
Positional arguments
- <snapshot>
- Name or ID of the snapshot to rename.
- <name>
- New name for the snapshot.
Optional arguments
- --description <description>
- Optional snapshot description. (Default=None)
16.52. manila snapshot-reset-state Copy linkLink copied to clipboard!
usage: manila snapshot-reset-state [--state <state>] <snapshot>
usage: manila snapshot-reset-state [--state <state>] <snapshot>
Positional arguments
- <snapshot>
- Name or ID of the snapshot to modify.
Optional arguments
- --state <state>
- Indicate which state to assign the snapshot. Options include available, error, creating, deleting, error_deleting. If no state is provided, available will be used.
16.53. manila snapshot-show Copy linkLink copied to clipboard!
usage: manila snapshot-show <snapshot>
usage: manila snapshot-show <snapshot>
Positional arguments
- <snapshot>
- Name or ID of the snapshot.
16.54. manila type-access-add Copy linkLink copied to clipboard!
usage: manila type-access-add <share_type> <project_id>
usage: manila type-access-add <share_type> <project_id>
Positional arguments
- <share_type>
- Share type name or ID to add access for the given project.
- <project_id>
- Project ID to add share type access for.
16.55. manila type-access-list Copy linkLink copied to clipboard!
usage: manila type-access-list <share_type>
usage: manila type-access-list <share_type>
Positional arguments
- <share_type>
- Filter results by share type name or ID.
16.56. manila type-access-remove Copy linkLink copied to clipboard!
usage: manila type-access-remove <share_type> <project_id>
usage: manila type-access-remove <share_type> <project_id>
Positional arguments
- <share_type>
- Share type name or ID to remove access for the given project.
- <project_id>
- Project ID to remove share type access for.
16.57. manila type-create Copy linkLink copied to clipboard!
usage: manila type-create [--is_public <is_public>] <name> [<spec_driver_handles_share_servers>]
usage: manila type-create [--is_public <is_public>] <name> [<spec_driver_handles_share_servers>]
Positional arguments
- <name>
- Name of the new share type.
- <spec_driver_handles_share_servers>
- Required extra specification. Valid values 'true'/'1' and 'false'/'0'
Optional arguments
- --is_public <is_public>, --is-public <is_public>
- Make type accessible to the public (default true).
16.58. manila type-delete Copy linkLink copied to clipboard!
usage: manila type-delete <id>
usage: manila type-delete <id>
Positional arguments
- <id>
- Name or ID of the share type to delete.
16.59. manila type-key Copy linkLink copied to clipboard!
usage: manila type-key <stype> <action> [<key=value> [<key=value> ...]]
usage: manila type-key <stype> <action> [<key=value> [<key=value> ...]]
Positional arguments
- <stype>
- Name or ID of the share type.
- <action>
- Actions: 'set' or 'unset'.
- <key=value>
- Extra_specs to set or unset (key is only necessary on unset).
16.60. manila type-list Copy linkLink copied to clipboard!
usage: manila type-list [--all]
usage: manila type-list [--all]
Optional arguments
- --all
- Display all share types (Admin only).
16.61. manila unmanage Copy linkLink copied to clipboard!
usage: manila unmanage <share>
usage: manila unmanage <share>
Positional arguments
- <share>
- Name or ID of the share(s).
16.62. manila update Copy linkLink copied to clipboard!
usage: manila update [--name <name>] [--description <description>] [--is-public <is_public>] <share>
usage: manila update [--name <name>] [--description <description>] [--is-public <is_public>] <share>
Positional arguments
- <share>
- Name or ID of the share to rename.
Optional arguments
- --name <name>
- New name for the share.
- --description <description>
- Optional share description. (Default=None)
- --is-public <is_public>, --is_public <is_public>
- Public share is visible for all tenants.