The manila client is the command-line interface (CLI) for the Shared File Systems service (manila) API and its extensions.
This chapter documents manila version 1.16.0.
For help on a specific manila command, enter:
$ manila help COMMAND
usage: manila [--version] [-d] [--os-cache] [--os-reset-cache]
[--os-user-id <auth-user-id>] [--os-username <auth-user-name>]
[--os-password <auth-password>]
[--os-tenant-name <auth-tenant-name>]
[--os-project-name <auth-project-name>]
[--os-tenant-id <auth-tenant-id>]
[--os-project-id <auth-project-id>]
[--os-user-domain-id <auth-user-domain-id>]
[--os-user-domain-name <auth-user-domain-name>]
[--os-project-domain-id <auth-project-domain-id>]
[--os-project-domain-name <auth-project-domain-name>]
[--os-auth-url <auth-url>] [--os-region-name <region-name>]
[--os-token <token>] [--bypass-url <bypass-url>]
[--service-type <service-type>] [--service-name <service-name>]
[--share-service-name <share-service-name>]
[--endpoint-type <endpoint-type>]
[--os-share-api-version <share-api-ver>]
[--os-cacert <ca-certificate>] [--retries <retries>]
[--os-cert <certificate>]
<subcommand> ...
Subcommands:
absolute-limitsaccess-allowaccess-denyaccess-listapi-versionavailability-zone-listcreatecredentialsdeleteendpointsextendextra-specs-listforce-deletelistmanagemessage-deletemessage-listmessage-showmetadatametadata-showmetadata-update-allmigration-cancelmigration-completemigration-get-progressmigration-startpool-listquota-class-showquota-class-updatequota-defaultsquota-deletequota-showquota-updaterate-limitsreset-statereset-task-staterevert-to-snapshotsecurity-service-createsecurity-service-deletesecurity-service-listsecurity-service-showsecurity-service-updateservice-disableservice-enableservice-listshare-export-location-listshare-export-location-showshare-group-createshare-group-deleteshare-group-listshare-group-reset-stateshare-group-showshare-group-snapshot-createshare-group-snapshot-deleteshare-group-snapshot-listshare-group-snapshot-list-membersshare-group-snapshot-reset-stateshare-group-snapshot-showshare-group-snapshot-updateshare-group-type-access-addshare-group-type-access-listshare-group-type-access-removeshare-group-type-createshare-group-type-deleteshare-group-type-keyshare-group-type-listshare-group-type-specs-listshare-group-updateshare-instance-export-location-listshare-instance-export-location-showshare-instance-force-deleteshare-instance-listshare-instance-reset-stateshare-instance-showshare-network-createshare-network-deleteshare-network-listshare-network-security-service-addshare-network-security-service-listshare-network-security-service-removeshare-network-showshare-network-updateshare-replica-createshare-replica-deleteshare-replica-listshare-replica-promoteshare-replica-reset-replica-stateshare-replica-reset-stateshare-replica-resyncshare-replica-showshare-server-deleteshare-server-detailsshare-server-listshare-server-showshowshrinksnapshot-access-allowsnapshot-access-denysnapshot-access-listsnapshot-createsnapshot-deletesnapshot-export-location-listsnapshot-export-location-showsnapshot-force-deletesnapshot-instance-export-location-listsnapshot-instance-export-location-showsnapshot-instance-listsnapshot-instance-reset-statesnapshot-instance-showsnapshot-listsnapshot-managesnapshot-renamesnapshot-reset-statesnapshot-showsnapshot-unmanagetype-access-addtype-access-listtype-access-removetype-createtype-deletetype-keytype-listunmanageupdatebash-completionhelplist-extensions--version-d, --debug--os-cacheenv[OS_CACHE].--os-reset-cache--os-user-id <auth-user-id>--os-username <auth-user-name>env[OS_USERNAME].--os-password <auth-password>env[OS_PASSWORD].--os-tenant-name <auth-tenant-name>env[OS_TENANT_NAME].--os-project-name <auth-project-name>env[OS_PROJECT_NAME].--os-tenant-id <auth-tenant-id>env[OS_TENANT_ID].--os-project-id <auth-project-id>env[OS_PROJECT_ID].--os-user-domain-id <auth-user-domain-id>env[OS_USER_DOMAIN_ID].--os-user-domain-name <auth-user-domain-name>env[OS_USER_DOMAIN_NAME].--os-project-domain-id <auth-project-domain-id>env[OS_PROJECT_DOMAIN_ID].--os-project-domain-name <auth-project-domain-name>env[OS_PROJECT_DOMAIN_NAME].--os-auth-url <auth-url>env[OS_AUTH_URL].--os-region-name <region-name>env[OS_REGION_NAME].--os-token <token>env[OS_TOKEN].--bypass-url <bypass-url>env[OS_MANILA_BYPASS_URL].--service-type <service-type>--service-name <service-name>env[OS_MANILA_SERVICE_NAME].--share-service-name <share-service-name>env[OS_MANILA_SHARE_SERVICE_NAME].--endpoint-type <endpoint-type>env[OS_MANILA_ENDPOINT_TYPE] or publicURL.--os-share-api-version <share-api-ver>env[OS_SHARE_API_VERSION].--os-cacert <ca-certificate>env[OS_CACERT].--retries <retries>--os-cert <certificate>env[OS_CERT].usage: manila access-allow [--access-level <access_level>]
<share> <access_type> <access_to>
Allow access to the share.
Positional arguments:
<share><access_type><access_to>Optional arguments:
--access-level <access_level>, --access_level <access_level>usage: manila access-deny <share> <id>
Deny access to a share.
Positional arguments:
<share><id>usage: manila access-list [--columns <columns>] <share>
Show access list for share.
Positional arguments:
<share>Optional arguments:
--columns <columns>usage: manila availability-zone-list [--columns <columns>]
List all availability zones.
Optional arguments:
--columns <columns>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] [--availability-zone <availability-zone>]
[--share-group <share-group>]
<share_protocol> <size>
Creates a new share (NFS, CIFS, CephFS, GlusterFS or HDFS).
Positional arguments:
<share_protocol><size>Optional arguments:
--snapshot-id <snapshot-id>, --snapshot_id <snapshot-id>--name <name>--metadata [<key=value> [<key=value> ...]]--share-network <network-info>, --share_network <network-info>--description <description>--share-type <share-type>, --share_type <share-type>, --volume-type <share-type>, --volume_type <share-type>--public--availability-zone <availability-zone>, --availability_zone <availability-zone>, --az <availability-zone>--share-group <share-group>, --share_group <share-group>, --group <share-group>usage: manila delete [--share-group <share-group>] <share> [<share> ...]
Remove one or more shares.
Positional arguments:
<share>Optional arguments:
--share-group <share-group>, --share_group <share-group>, --group <share-group>usage: manila endpoints
Discover endpoints that get returned from the authenticate services.
usage: manila extend <share> <new_size>
Increases the size of an existing share.
Positional arguments:
<share><new_size>usage: manila extra-specs-list [--columns <columns>]
Print a list of current ‘share types and extra specs’ (Admin Only).
Optional arguments:
--columns <columns>usage: manila force-delete <share> [<share> ...]
Attempt force-delete of share, regardless of state (Admin only).
Positional arguments:
<share>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]
[--share-group <share_group>] [--columns <columns>]
List NAS shares with filters.
Optional arguments:
--all-tenants [<0|1>]--name <name>--status <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>--metadata [<key=value> [<key=value> ...]]--extra-specs [<key=value> [<key=value> ...]], --extra_specs [<key=value> [<key=value> ...]]--share-type <share_type>, --volume-type <share_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>--limit <limit>--offset <offset>--sort-key <sort_key>, --sort_key <sort_key>--sort-dir <sort_dir>, --sort_dir <sort_dir>--snapshot <snapshot>--host <host>--share-network <share_network>, --share_network <share_network>--project-id <project_id>, --project_id <project_id>--public--share-group <share_group>, --share_group <share_group>, --group <share_group>--columns <columns>usage: manila list-extensions
List all the os-api extensions that are available.
usage: manila manage [--name <name>] [--description <description>]
[--share_type <share-type>]
[--driver_options [<key=value> [<key=value> ...]]]
[--public]
<service_host> <protocol> <export_path>
Manage share not handled by Manila (Admin only).
Positional arguments:
<service_host><protocol><export_path>Optional arguments:
--name <name>--description <description>--share_type <share-type>, --share-type <share-type>--driver_options [<key=value> [<key=value> ...]], --driver-options [<key=value> [<key=value> ...]]--publicusage: manila message-delete <message> [<message> ...]
Remove one or more messages.
Positional arguments:
<message>usage: manila message-list [--resource_id <resource_id>]
[--resource_type <type>] [--action_id <id>]
[--detail_id <id>] [--request_id <request_id>]
[--level <level>] [--limit <limit>]
[--offset <offset>] [--sort-key <sort_key>]
[--sort-dir <sort_dir>] [--columns <columns>]
Lists all messages.
Optional arguments:
--resource_id <resource_id>, --resource-id <resource_id>, --resource <resource_id>--resource_type <type>, --resource-type <type>--action_id <id>, --action-id <id>, --action <id>--detail_id <id>, --detail-id <id>, --detail <id>--request_id <request_id>, --request-id <request_id>, --request <request_id>--level <level>, --message_level <level>, --message-level <level>--limit <limit>--offset <offset>--sort-key <sort_key>, --sort_key <sort_key>--sort-dir <sort_dir>, --sort_dir <sort_dir>--columns <columns>usage: manila message-show <message>
Show details about a message.
Positional arguments:
<message>usage: manila metadata <share> <action> <key=value> [<key=value> ...]
Set or delete metadata on a share.
Positional arguments:
<share><action><key=value>usage: manila metadata-show <share>
Show metadata of given share.
Positional arguments:
<share>usage: manila metadata-update-all <share> <key=value> [<key=value> ...]
Update all metadata of a share.
Positional arguments:
<share><key=value>usage: manila migration-cancel <share>
Cancels migration of a given share when copying (Admin only, Experimental).
Positional arguments:
<share>usage: manila migration-complete <share>
Completes migration for a given share (Admin only, Experimental).
Positional arguments:
<share>usage: manila migration-get-progress <share>
Gets migration progress of a given share when copying (Admin only, Experimental).
Positional arguments:
<share>usage: manila migration-start [--force_host_assisted_migration <True|False>]
--preserve-metadata <True|False>
--preserve-snapshots <True|False> --writable
<True|False> --nondisruptive <True|False>
[--new_share_network <new_share_network>]
[--new_share_type <new_share_type>]
<share> <host@backend#pool>
Migrates share to a new host (Admin only, Experimental).
Positional arguments:
<share><host@backend#pool>Optional arguments:
--force_host_assisted_migration <True|False>, --force-host-assisted-migration <True|False>--preserve-metadata <True|False>, --preserve_metadata <True|False>--preserve-snapshots <True|False>, --preserve_snapshots <True|False>--writable <True|False>--nondisruptive <True|False>--new_share_network <new_share_network>, --new-share-network <new_share_network>--new_share_type <new_share_type>, --new-share-type <new_share_type>usage: manila pool-list [--host <host>] [--backend <backend>] [--pool <pool>]
[--columns <columns>] [--detail]
[--share-type <share_type>]
List all backend storage pools known to the scheduler (Admin only).
Optional arguments:
--host <host>--backend <backend>--pool <pool>--columns <columns>--detail, --detailed--share-type <share_type>, --share_type <share_type>, --share-type-id <share_type>, --share_type_id <share_type>usage: manila quota-class-show <class>
List the quotas for a quota class.
Positional arguments:
<class>usage: manila quota-class-update [--shares <shares>] [--snapshots <snapshots>]
[--gigabytes <gigabytes>]
[--snapshot-gigabytes <snapshot_gigabytes>]
[--share-networks <share-networks>]
[--share-groups <share-groups>]
[--share-group-snapshots <share-group-snapshots>]
<class-name>
Update the quotas for a quota class (Admin only).
Positional arguments:
<class-name>Optional arguments:
--shares <shares>--snapshots <snapshots>--gigabytes <gigabytes>--snapshot-gigabytes <snapshot_gigabytes>, --snapshot_gigabytes <snapshot_gigabytes>--share-networks <share-networks>, --share_networks <share-networks>--share-groups <share-groups>, --share_groups <share-groups>--share-group-snapshots <share-group-snapshots>, --share_group_snapshots <share-group-snapshots>usage: manila quota-defaults [--tenant <tenant-id>]
List the default quotas for a tenant.
Optional arguments:
--tenant <tenant-id>usage: manila quota-delete [--tenant <tenant-id>] [--user <user-id>]
[--share-type <share-type>]
Delete quota for a tenant/user. The quota will revert back to default (Admin only).
Optional arguments:
--tenant <tenant-id>--user <user-id>--share-type <share-type>, --share_type <share-type>usage: manila quota-show [--tenant <tenant-id>] [--user <user-id>]
[--share-type <share-type>] [--detail]
List the quotas for a tenant/user.
Optional arguments:
--tenant <tenant-id>--user <user-id>--share-type <share-type>, --share_type <share-type>--detailusage: manila quota-update [--user <user-id>] [--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-type <share-type>] [--force]
<tenant_id>
Update the quotas for a tenant/user (Admin only).
Positional arguments:
<tenant_id>Optional arguments:
--user <user-id>--shares <shares>--snapshots <snapshots>--gigabytes <gigabytes>--snapshot-gigabytes <snapshot_gigabytes>, --snapshot_gigabytes <snapshot_gigabytes>--share-networks <share-networks>, --share_networks <share-networks>--share-groups <share-groups>, --share_groups <share-groups>--share-group-snapshots <share-group-snapshots>, --share_group_snapshots <share-group-snapshots>--share-type <share-type>, --share_type <share-type>--forceusage: manila rate-limits [--columns <columns>]
Print a list of rate limits for a user.
Optional arguments:
--columns <columns>usage: manila reset-state [--state <state>] <share>
Explicitly update the state of a share (Admin only).
Positional arguments:
<share>Optional arguments:
--state <state>usage: manila reset-task-state [--task-state <task_state>] <share>
Explicitly update the task state of a share (Admin only, Experimental).
Positional arguments:
<share>Optional arguments:
--task-state <task_state>, --task_state <task_state>, --state <task_state>usage: manila revert-to-snapshot <snapshot>
Revert a share to the specified snapshot.
Positional arguments:
<snapshot>usage: manila security-service-create [--dns-ip <dns_ip>] [--server <server>]
[--domain <domain>] [--user <user>]
[--password <password>] [--name <name>]
[--description <description>]
<type>
Create security service used by tenant.
Positional arguments:
<type>Optional arguments:
--dns-ip <dns_ip>--server <server>--domain <domain>--user <user>--password <password>--name <name>--description <description>usage: manila security-service-delete <security-service>
[<security-service> ...]
Delete one or more security services.
Positional arguments:
<security-service>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>]
[--columns <columns>]
Get a list of security services.
Optional arguments:
--all-tenants [<0|1>]--share-network <share_network>, --share_network <share_network>--status <status>--name <name>--type <type>--user <user>--dns-ip <dns_ip>, --dns_ip <dns_ip>--server <server>--domain <domain>--detailed [<0|1>]--offset <offset>--limit <limit>--columns <columns>usage: manila security-service-show <security-service>
Show security service.
Positional arguments:
<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>
Update security service.
Positional arguments:
<security-service>Optional arguments:
--dns-ip <dns-ip>--server <server>--domain <domain>--user <user>--password <password>--name <name>--description <description>usage: manila service-disable <hostname> <binary>
Disables ‘manila-share’ or ‘manila-scheduler’ services (Admin only).
Positional arguments:
<hostname><binary>usage: manila service-enable <hostname> <binary>
Enables ‘manila-share’ or ‘manila-scheduler’ services (Admin only).
Positional arguments:
<hostname><binary>usage: manila service-list [--host <hostname>] [--binary <binary>]
[--status <status>] [--state <state>]
[--zone <zone>] [--columns <columns>]
List all services (Admin only).
Optional arguments:
--host <hostname>--binary <binary>--status <status>--state <state>--zone <zone>--columns <columns>usage: manila share-export-location-list [--columns <columns>] <share>
List export locations of a given share.
Positional arguments:
<share>Optional arguments:
--columns <columns>usage: manila share-export-location-show <share> <export_location>
Show export location of the share.
Positional arguments:
<share><export_location>usage: manila share-group-create [--name <name>] [--description <description>]
[--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>]
Creates a new share group (Experimental).
Optional arguments:
--name <name>--description <description>--share-types <share_types>, --share_types <share_types>--share-group-type <share_group_type>, --share_group_type <share_group_type>, --type <share_group_type>--share-network <share_network>, --share_network <share_network>--source-share-group-snapshot <source_share_group_snapshot>, --source_share_group_snapshot <source_share_group_snapshot>--availability-zone <availability-zone>, --availability_zone <availability-zone>, --az <availability-zone>usage: manila share-group-delete [--force] <share_group> [<share_group> ...]
Remove one or more share groups (Experimental).
Positional arguments:
<share_group>Optional arguments:
--forceusage: manila share-group-list [--all-tenants [<0|1>]] [--name <name>]
[--status <status>]
[--share-server-id <share_server_id>]
[--share-group-type <share_group_type>]
[--snapshot <snapshot>] [--host <host>]
[--share-network <share_network>]
[--project-id <project_id>] [--limit <limit>]
[--offset <offset>] [--sort-key <sort_key>]
[--sort-dir <sort_dir>] [--columns <columns>]
List share groups with filters (Experimental).
Optional arguments:
--all-tenants [<0|1>]--name <name>--status <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>--share-group-type <share_group_type>, --share-group-type-id <share_group_type>, --share_group_type <share_group_type>, --share_group_type_id <share_group_type>--snapshot <snapshot>--host <host>--share-network <share_network>, --share_network <share_network>--project-id <project_id>, --project_id <project_id>--limit <limit>--offset <offset>--sort-key <sort_key>, --sort_key <sort_key>--sort-dir <sort_dir>, --sort_dir <sort_dir>--columns <columns>usage: manila share-group-reset-state [--state <state>] <share_group>
Explicitly update the state of a share group (Admin only, Experimental).
Positional arguments:
<share_group>Optional arguments:
--state <state>usage: manila share-group-show <share_group>
Show details about a share group (Experimental).
Positional arguments:
<share_group>usage: manila share-group-snapshot-create [--name <name>]
[--description <description>]
<share_group>
Creates a new share group snapshot (Experimental).
Positional arguments:
<share_group>Optional arguments:
--name <name>--description <description>usage: manila share-group-snapshot-delete [--force]
<share_group_snapshot>
[<share_group_snapshot> ...]
Remove one or more share group snapshots (Experimental).
Positional arguments:
<share_group_snapshot>Optional arguments:
--forceusage: manila share-group-snapshot-list [--all-tenants [<0|1>]]
[--name <name>] [--status <status>]
[--share-group-id <share_group_id>]
[--limit <limit>] [--offset <offset>]
[--sort-key <sort_key>]
[--sort-dir <sort_dir>]
[--detailed DETAILED]
[--columns <columns>]
List share group snapshots with filters (Experimental).
Optional arguments:
--all-tenants [<0|1>]--name <name>--status <status>--share-group-id <share_group_id>, --share_group_id <share_group_id>--limit <limit>--offset <offset>--sort-key <sort_key>, --sort_key <sort_key>--sort-dir <sort_dir>, --sort_dir <sort_dir>--detailed DETAILED--columns <columns>usage: manila share-group-snapshot-list-members [--columns <columns>]
<share_group_snapshot>
List members of a share group snapshot (Experimental).
Positional arguments:
<share_group_snapshot>Optional arguments:
--columns <columns>usage: manila share-group-snapshot-reset-state [--state <state>]
<share_group_snapshot>
Explicitly update the state of a share group snapshot (Admin only, Experimental).
Positional arguments:
<share_group_snapshot>Optional arguments:
--state <state>usage: manila share-group-snapshot-show <share_group_snapshot>
Show details about a share group snapshot (Experimental).
Positional arguments:
<share_group_snapshot>usage: manila share-group-snapshot-update [--name <name>]
[--description <description>]
<share_group_snapshot>
Update a share group snapshot (Experimental).
Positional arguments:
<share_group_snapshot>Optional arguments:
--name <name>--description <description>usage: manila share-group-type-access-add <share_group_type> <project_id>
Adds share group type access for the given project (Admin only).
Positional arguments:
<share_group_type><project_id>usage: manila share-group-type-access-list <share_group_type>
Print access information about a share group type (Admin only).
Positional arguments:
<share_group_type>usage: manila share-group-type-access-remove <share_group_type> <project_id>
Removes share group type access for the given project (Admin only).
Positional arguments:
<share_group_type><project_id>usage: manila share-group-type-create [--is_public <is_public>]
<name> <share_types>
Create a new share group type (Admin only).
Positional arguments:
<name><share_types>Optional arguments:
--is_public <is_public>, --is-public <is_public>usage: manila share-group-type-delete <id>
Delete a specific share group type (Admin only).
Positional arguments:
<id>usage: manila share-group-type-key <share_group_type> <action>
[<key=value> [<key=value> ...]]
Set or unset group_spec for a share group type (Admin only).
Positional arguments:
<share_group_type><action><key=value>usage: manila share-group-type-list [--all] [--columns <columns>]
Print a list of available ‘share group types’.
Optional arguments:
--all--columns <columns>usage: manila share-group-type-specs-list [--columns <columns>]
Print a list of ‘share group types specs’ (Admin Only).
Optional arguments:
--columns <columns>usage: manila share-group-update [--name <name>] [--description <description>]
<share_group>
Update a share group (Experimental).
Positional arguments:
<share_group>Optional arguments:
--name <name>--description <description>usage: manila share-instance-export-location-list [--columns <columns>]
<instance>
List export locations of a given share instance.
Positional arguments:
<instance>Optional arguments:
--columns <columns>usage: manila share-instance-export-location-show <instance> <export_location>
Show export location for the share instance.
Positional arguments:
<instance><export_location>usage: manila share-instance-force-delete <instance> [<instance> ...]
Force-delete the share instance, regardless of state (Admin only).
Positional arguments:
<instance>usage: manila share-instance-list [--share-id <share_id>]
[--columns <columns>]
List share instances (Admin only).
Optional arguments:
--share-id <share_id>, --share_id <share_id>--columns <columns>usage: manila share-instance-reset-state [--state <state>] <instance>
Explicitly update the state of a share instance (Admin only).
Positional arguments:
<instance>Optional arguments:
--state <state>usage: manila share-instance-show <instance>
Show details about a share instance (Admin only).
Positional arguments:
<instance>usage: manila share-network-create [--neutron-net-id <neutron-net-id>]
[--neutron-subnet-id <neutron-subnet-id>]
[--name <name>]
[--description <description>]
Create description for network used by the tenant.
Optional arguments:
--neutron-net-id <neutron-net-id>, --neutron-net_id <neutron-net-id>, --neutron_net_id <neutron-net-id>, --neutron_net-id <neutron-net-id>--neutron-subnet-id <neutron-subnet-id>, --neutron-subnet_id <neutron-subnet-id>, --neutron_subnet_id <neutron-subnet-id>, --neutron_subnet-id <neutron-subnet-id>--name <name>--description <description>usage: manila share-network-delete <share-network> [<share-network> ...]
Delete one or more share networks.
Positional arguments:
<share-network>usage: manila share-network-list [--all-tenants [<0|1>]]
[--project-id <project_id>] [--name <name>]
[--created-since <created_since>]
[--created-before <created_before>]
[--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 <cidr>] [--ip-version <ip_version>]
[--offset <offset>] [--limit <limit>]
[--columns <columns>]
Get a list of network info.
Optional arguments:
--all-tenants [<0|1>]--project-id <project_id>, --project_id <project_id>--name <name>--created-since <created_since>, --created_since <created_since>--created-before <created_before>, --created_before <created_before>--security-service <security_service>, --security_service <security_service>--neutron-net-id <neutron_net_id>, --neutron_net_id <neutron_net_id>, --neutron_net-id <neutron_net_id>, --neutron-net_id <neutron_net_id>--neutron-subnet-id <neutron_subnet_id>, --neutron_subnet_id <neutron_subnet_id>, --neutron-subnet_id <neutron_subnet_id>, --neutron_subnet-id <neutron_subnet_id>--network-type <network_type>, --network_type <network_type>--segmentation-id <segmentation_id>, --segmentation_id <segmentation_id>--cidr <cidr>--ip-version <ip_version>, --ip_version <ip_version>--offset <offset>--limit <limit>--columns <columns>usage: manila share-network-security-service-add <share-network>
<security-service>
Associate security service with share network.
Positional arguments:
<share-network><security-service>usage: manila share-network-security-service-list [--columns <columns>]
<share-network>
Get list of security services associated with a given share network.
Positional arguments:
<share-network>Optional arguments:
--columns <columns>usage: manila share-network-security-service-remove <share-network>
<security-service>
Dissociate security service from share network.
Positional arguments:
<share-network><security-service>usage: manila share-network-show <share-network>
Get a description for network used by the tenant.
Positional arguments:
<share-network>usage: manila share-network-update [--neutron-net-id <neutron-net-id>]
[--neutron-subnet-id <neutron-subnet-id>]
[--name <name>]
[--description <description>]
<share-network>
Update share network data.
Positional arguments:
<share-network>Optional arguments:
--neutron-net-id <neutron-net-id>, --neutron-net_id <neutron-net-id>, --neutron_net_id <neutron-net-id>, --neutron_net-id <neutron-net-id>--neutron-subnet-id <neutron-subnet-id>, --neutron-subnet_id <neutron-subnet-id>, --neutron_subnet_id <neutron-subnet-id>, --neutron_subnet-id <neutron-subnet-id>--name <name>--description <description>usage: manila share-replica-create [--availability-zone <availability-zone>]
[--share-network <network-info>]
<share>
Create a share replica (Experimental).
Positional arguments:
<share>Optional arguments:
--availability-zone <availability-zone>, --availability_zone <availability-zone>, --az <availability-zone>--share-network <network-info>, --share_network <network-info>usage: manila share-replica-delete [--force] <replica> [<replica> ...]
Remove one or more share replicas (Experimental).
Positional arguments:
<replica>Optional arguments:
--forceusage: manila share-replica-list [--share-id <share_id>] [--columns <columns>]
List share replicas (Experimental).
Optional arguments:
--share-id <share_id>, --share_id <share_id>, --si <share_id>--columns <columns>usage: manila share-replica-promote <replica>
Promote specified replica to ‘active’ replica_state (Experimental).
Positional arguments:
<replica>usage: manila share-replica-reset-replica-state
[--replica-state <replica_state>]
<replica>
Explicitly update the ‘replica_state’ of a share replica (Experimental).
Positional arguments:
<replica>Optional arguments:
--replica-state <replica_state>, --replica_state <replica_state>, --state <replica_state>usage: manila share-replica-reset-state [--state <state>] <replica>
Explicitly update the ‘status’ of a share replica (Experimental).
Positional arguments:
<replica>Optional arguments:
--state <state>usage: manila share-replica-resync <replica>
Attempt to update the share replica with its ‘active’ mirror (Experimental).
Positional arguments:
<replica>usage: manila share-replica-show <replica>
Show details about a replica (Experimental).
Positional arguments:
<replica>usage: manila share-server-delete <id> [<id> ...]
Delete one or more share servers (Admin only).
Positional arguments:
<id>usage: manila share-server-details <id>
Show share server details (Admin only).
Positional arguments:
<id>usage: manila share-server-list [--host <hostname>] [--status <status>]
[--share-network <share_network>]
[--project-id <project_id>]
[--columns <columns>]
List all share servers (Admin only).
Optional arguments:
--host <hostname>--status <status>--share-network <share_network>--project-id <project_id>--columns <columns>usage: manila share-server-show <id>
Show share server info (Admin only).
Positional arguments:
<id>usage: manila show <share>
Show details about a NAS share.
Positional arguments:
<share>usage: manila shrink <share> <new_size>
Decreases the size of an existing share.
Positional arguments:
<share><new_size>usage: manila snapshot-access-allow <snapshot> <access_type> <access_to>
Allow read only access to a snapshot.
Positional arguments:
<snapshot><access_type><access_to>usage: manila snapshot-access-deny <snapshot> <id> [<id> ...]
Deny access to a snapshot.
Positional arguments:
<snapshot><id>usage: manila snapshot-access-list [--columns <columns>] <snapshot>
Show access list for a snapshot.
Positional arguments:
<snapshot>Optional arguments:
--columns <columns>usage: manila snapshot-create [--force <True|False>] [--name <name>]
[--description <description>]
<share>
Add a new snapshot.
Positional arguments:
<share>Optional arguments:
--force <True|False>--name <name>--description <description>usage: manila snapshot-delete <snapshot> [<snapshot> ...]
Remove one or more snapshots.
Positional arguments:
<snapshot>usage: manila snapshot-export-location-list [--columns <columns>] <snapshot>
List export locations of a given snapshot.
Positional arguments:
<snapshot>Optional arguments:
--columns <columns>usage: manila snapshot-export-location-show <snapshot> <export_location>
Show export location of the share snapshot.
Positional arguments:
<snapshot><export_location>usage: manila snapshot-force-delete <snapshot> [<snapshot> ...]
Attempt force-deletion of one or more snapshots. Regardless of the state (Admin only).
Positional arguments:
<snapshot>usage: manila snapshot-instance-export-location-list [--columns <columns>]
<instance>
List export locations of a given snapshot instance.
Positional arguments:
<instance>Optional arguments:
--columns <columns>usage: manila snapshot-instance-export-location-show <snapshot_instance>
<export_location>
Show export location of the share instance snapshot.
Positional arguments:
<snapshot_instance><export_location>usage: manila snapshot-instance-list [--snapshot <snapshot>]
[--columns <columns>]
[--detailed <detailed>]
List share snapshot instances.
Optional arguments:
--snapshot <snapshot>--columns <columns>--detailed <detailed>usage: manila snapshot-instance-reset-state [--state <state>]
<snapshot_instance>
Explicitly update the state of a share snapshot instance.
Positional arguments:
<snapshot_instance>Optional arguments:
--state <state>usage: manila snapshot-instance-show <snapshot_instance>
Show details about a share snapshot instance.
Positional arguments:
<snapshot_instance>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>] [--columns <columns>]
List all the snapshots.
Optional arguments:
--all-tenants [<0|1>]--name <name>--status <status>--share-id <share_id>, --share_id <share_id>--usage [any|used|unused]--limit <limit>--offset <offset>--sort-key <sort_key>, --sort_key <sort_key>--sort-dir <sort_dir>, --sort_dir <sort_dir>--columns <columns>usage: manila snapshot-manage [--name <name>] [--description <description>]
[--driver_options [<key=value> [<key=value> ...]]]
<share> <provider_location>
Manage share snapshot not handled by Manila (Admin only).
Positional arguments:
<share><provider_location>Optional arguments:
--name <name>--description <description>--driver_options [<key=value> [<key=value> ...]], --driver-options [<key=value> [<key=value> ...]]usage: manila snapshot-rename [--description <description>]
<snapshot> [<name>]
Rename a snapshot.
Positional arguments:
<snapshot><name>Optional arguments:
--description <description>usage: manila snapshot-reset-state [--state <state>] <snapshot>
Explicitly update the state of a snapshot (Admin only).
Positional arguments:
<snapshot>Optional arguments:
--state <state>usage: manila snapshot-show <snapshot>
Show details about a snapshot.
Positional arguments:
<snapshot>usage: manila snapshot-unmanage <snapshot> [<snapshot> ...]
Unmanage one or more share snapshots (Admin only).
Positional arguments:
<snapshot>usage: manila type-access-add <share_type> <project_id>
Adds share type access for the given project (Admin only).
Positional arguments:
<share_type><project_id>usage: manila type-access-list <share_type>
Print access information about the given share type (Admin only).
Positional arguments:
<share_type>usage: manila type-access-remove <share_type> <project_id>
Removes share type access for the given project (Admin only).
Positional arguments:
<share_type><project_id>usage: manila type-create [--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> [<key=value> ...]]]
[--is_public <is_public>]
<name> <spec_driver_handles_share_servers>
Create a new share type (Admin only).
Positional arguments:
<name><spec_driver_handles_share_servers>Optional arguments:
--snapshot_support <snapshot_support>, --snapshot-support <snapshot_support>--create_share_from_snapshot_support <create_share_from_snapshot_support>, --create-share-from-snapshot-support <create_share_from_snapshot_support>--revert_to_snapshot_support <revert_to_snapshot_support>, --revert-to-snapshot-support <revert_to_snapshot_support>--mount_snapshot_support <mount_snapshot_support>, --mount-snapshot-support <mount_snapshot_support>--extra-specs [<key=value> [<key=value> ...]], --extra_specs [<key=value> [<key=value> ...]]--is_public <is_public>, --is-public <is_public>usage: manila type-delete <id> [<id> ...]
Delete one or more specific share types (Admin only).
Positional arguments:
<id>usage: manila type-key <stype> <action> [<key=value> [<key=value> ...]]
Set or unset extra_spec for a share type (Admin only).
Positional arguments:
<stype><action><key=value>usage: manila type-list [--all] [--columns <columns>]
Print a list of available ‘share types’.
Optional arguments:
--all--columns <columns>usage: manila unmanage <share>
Unmanage share (Admin only).
Positional arguments:
<share>usage: manila update [--name <name>] [--description <description>]
[--is-public <is_public>]
<share>
Rename a share.
Positional arguments:
<share>Optional arguments:
--name <name>--description <description>--is-public <is_public>, --is_public <is_public>
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.