CLI commands — python-manilaclient — branch stable/2026.2
Branch stable/2026.2 @ d18a7e966 (6.3.0 + 2 maintenance commits) — repository https://opendev.org/openstack/python-manilaclient — analysed on 2026-11-01
python-manilaclient exposes no API of its own. It adds **154 openstack share … commands** to the openstack CLI, and a Python API that those commands call. Its contract with the outside world is the HTTP requests it sends to Manila: see interactions and the client contract.
[observed] below means seen with the real shell against the local stub, which is not Manila. It shows what the client sends and how it reacts, and says nothing about what a real service answers.
1. Shared mechanics
Loading
- Entry points:
openstack.cli.extension: share = manilaclient.osc.plugin (pyproject.toml:36-37), and one line per command in openstack.share.v2 (pyproject.toml:39). - Command group: OSC builds
openstack.share.v2 from the major part of the version option (openstackclient:openstackclient/shell.py:102). The minor part does not change which commands load. All 154 are always loaded. - Client:
make_client (manilaclient/osc/plugin.py:63) resolves the endpoint, runs discovery with a temporary client at 2.98, then builds the real client at the negotiated version. See 03 § 4. - Global options:
--os-share-api-version, default OS_SHARE_API_VERSION or 2.98, and --os-endpoint-override (manilaclient/osc/plugin.py:124-148).
Legacy CLI and Python API
- No legacy shell.
manilaclient/shell.py and the manila command were removed by commit e448fc8 (2026-01-16), which is in this branch. The package has no console_scripts (pyproject.toml:33-39). doc/source/cli/decoder.rst:7 keeps the old-to-new mapping for reference. - Python API used by the commands:
manilaclient.v2.client.Client (manilaclient/v2/client.py:55), with 32 manager attributes (manilaclient/v2/client.py:227-290). Every command goes through one or more managers. Their routes per version are in [_rewrite/manager-routes_stable-2026.2.json](_rewrite/manager-routes_stable-2026.2.json). - **
manilaclient.client.Client** (manilaclient/client.py:45) is the versioned factory for library users. make_client uses it for the discovery client (manilaclient/osc/plugin.py:101). - **
manilaclient/v1/** holds thin modules for old callers. API_VERSIONS only lists 2.0 to 2.98 (manilaclient/osc/plugin.py:35-37), so commands never reach them. - Library-only methods: 15 manager methods have no command calling them directly, for example
share_servers.details, quota_classes.get and every update_all_metadata (generated by build_contract_stable-2026.2.py).
Microversion gates
There are two levels, and a user sees different messages from them.
| Level | How it looks | Example message | Source |
|---|
| The command | if share_client.api_version < APIVersion("2.84"): 86 gate sites across the commands, on 43 microversions | Setting share mount point name is available only for API microversion >= 2.84 | manilaclient/osc/v2/share.py:276 |
| The manager | @api_versions.wraps("2.80"); no variant for the version raises UnsupportedVersion | API version '2.72' is not supported on 'manilaclient.v2.share_backups.ShareBackupManager.list' method. [observed] | manilaclient/api_versions.py:446-456 |
A command with no gate of its own, such as share backup list, therefore prints a Python method name. The lowest version at which each command succeeded on the stub is in § 3 and in [_rewrite/version-sweep_stable-2026.2.json](_rewrite/version-sweep_stable-2026.2.json).
Name or ID
Two helpers exist, and the commands mix them. See 03 § 5 for the requests.
| Helper | Used by | Order |
|---|
manilaclient.common.apiclient.utils.find_resource | share, share type, share access, share migration, and others | integer, UUID, find(human_id), find(name) (manilaclient/common/apiclient/utils.py:21) |
osc_lib.utils.find_resource | share backup, share group, share network, share snapshot, and others | get(value) catching every exception, integer, find(name), full list (osc-lib:osc_lib/utils/__init__.py:204) |
Some commands take an ID only and do no lookup: share restore (despite its help text, see 02 § 4), share replica show, share access show, share lock set, share transfer accept, share snapshot instance set.
find matches on name. A user message has no name, so share message show <text> can only work with an ID [observed].
Output
Lister (31 commands) and ShowOne (48 commands) go through the cliff formatters. The other 75 are command.Command and print nothing on success.links is usually removed. metadata is displayed as properties on shares, snapshots, replicas and subnets (manilaclient/osc/v2/share.py:825-834).- The table formatter gets flattened strings:
format_properties, convert_dict_list_to_string (manilaclient/osc/utils.py:45, manilaclient/common/cliutils.py:279). Other formatters get the original structures, so the JSON output and the table output differ in type for those fields (manilaclient/osc/v2/share.py:828-832). share snapshot list --count prints Total number of snapshots: N directly and refuses any formatter other than table (manilaclient/osc/v2/share_snapshots.py:576, manilaclient/osc/v2/share_snapshots.py:612).
Failure handling in commands with several targets
Delete and similar commands loop over their arguments, log Failed to … for each failure, and raise one summary at the end, such as 1 of 2 shares failed to delete. (manilaclient/osc/v2/share.py:449-455). share snapshot abandon is an exception: its lookup is outside the try, so a missing first snapshot stops the batch (manilaclient/osc/v2/share_snapshots.py:723).
2. Functional description by family
Line numbers point at the take_action of the class, or at a precise rule.
Shares (share create|delete|list|show|set|unset|resize|adopt|abandon|restore|revert)
- create (
manilaclient/osc/v2/share.py:226):- Purpose: create a share of a protocol and size.
- Rules: the name
None is refused (manilaclient/osc/v2/share.py:230). Without --share-type and --snapshot-id, it reads the default type with GET /types/default (manilaclient/osc/v2/share.py:242). From a snapshot, the size is the larger of --size and the snapshot size (manilaclient/osc/v2/share.py:272). --scheduler-hint same_host=a,b resolves each share to its ID (manilaclient/osc/v2/share.py:305-324). --mount-point-name needs 2.84, --encryption-key-ref 2.90, --scheduler-hint 2.65. - Flow:
POST /shares [observed]. With --wait, polls until available. Then GET /shares/{id}, always. See scenario 2. - Outcome: usually
creating in the display; the final status arrives later on the service.
- list (
manilaclient/osc/v2/share.py:633): GET /shares/detail. Each resource option is resolved first, so a filter can add lookups. --project implies all_tenants. The list is sorted on the client by --sort (manilaclient/osc/v2/share.py:777). Filters with their gates: --soft-deleted 2.69, --export-location 2.35, --encryption-key-ref 2.90, --availability-zone 2.97, --name~ and --description~ 2.36. - show (
manilaclient/osc/v2/share.py:804): the share, then GET /shares/{id}/export_locations. Fails below 2.9, because that manager starts there [observed]. - set (
manilaclient/osc/v2/share.py:913): POST /shares/{id}/metadata, PUT /shares/{id}, reset_status, and **always reset_task_state** (defect). - unset (
manilaclient/osc/v2/share.py:1004): PUT with null name or description; one DELETE /shares/{id}/metadata/{key} per key. - resize (
manilaclient/osc/v2/share.py:1079): compares with the current size, then sends shrink or extend; --force needs 2.64. An equal size is an error raised locally. - adopt / abandon (
manilaclient/osc/v2/share.py:1211, manilaclient/osc/v2/share.py:1300): POST /shares/manage and the unmanage action. --public crashes on the client (defect). - delete (
manilaclient/osc/v2/share.py:406): DELETE /shares/{id}, force_delete with --force, soft_delete with --soft (2.69). --share-group is added as ?share_group_id=. - restore (
manilaclient/osc/v2/share.py:1811): 2.69, action restore. - revert (
manilaclient/osc/v2/share.py:1580): finds the snapshot, reads its share_id, finds the share, sends revert (2.27).
stateDiagram-v2
[*] --> creating: share create (POST /shares)
creating --> available: Manila service, seen by polling or show
creating --> error: Manila service
available --> extending: share resize, larger
available --> shrinking: share resize, smaller
extending --> available: Manila service
shrinking --> available: Manila service
available --> reverting: share revert
reverting --> available: Manila service
available --> deleting: share delete
deleting --> [*]: Manila service, GET gives 404
available --> recycle_bin: share delete --soft (is_soft_deleted flag)
recycle_bin --> available: share restore
error --> available: share set --status (admin)
The statuses come from Manila, and the client only waits on available, error, manage_error and backup_restoring_error (manilaclient/osc/v2/share.py:1269, manilaclient/osc/v2/share_backups.py:359). The diagram is [inferred] from those states and from reverse-spec-manila; the client code has no state machine.
Access rules (share access create|delete|list|show|set|unset)
- create (
manilaclient/osc/v2/share_access_rules.py:126): action allow_access. The manager validates the rule locally, by access type (manilaclient/v2/shares.py:902): ip must parse as an address or network, user follows a name pattern, cert is 1 to 64 characters, cephx has its own pattern. Accepted types widen with the version: cephx at 2.13, ipv6 handling at 2.38. Locks need 2.82, properties 2.45. - list (
manilaclient/osc/v2/share_access_rules.py:318): GET /share-access-rules?share_id= from 2.45, otherwise the access_list action. Filters need 2.82. - set (
manilaclient/osc/v2/share_access_rules.py:472): --property is a PUT /share-access-rules/{id}/metadata (2.45), --access-level a PUT /share-access-rules/{id} with update_access (2.88).
Snapshots (share snapshot …, 18 commands)
create, delete (force_delete with --force), set, unset, list, show, adopt and abandon (POST /snapshots/manage, action unmanage), access create|delete|list (allow_access, deny_access, GET …/access-list; mountable snapshots, 2.32), export location list|show, instance list|show|set, instance export location list|show (manilaclient/osc/v2/share_snapshots.py:81, manilaclient/osc/v2/share_snapshot_instances.py:42). create crashes below 2.73 (defect). Snapshot instances use /snapshot-instances.
Replicas and instances
- **
share replica …** (manilaclient/osc/v2/share_replicas.py:87): POST /share-replicas. --share-network needs 2.72, --scheduler-hint only_host= 2.67 and refuses any other key (manilaclient/osc/v2/share_replicas.py:102), --property 2.95. list --property sends a filter, then filters again on the client (manilaclient/osc/v2/share_replicas.py:281-289). promote accepts --quiesce-wait-time from 2.75. set covers reset_replica_state, reset_status and metadata. - **
share instance …** (manilaclient/osc/v2/share_instances.py:49): admin views through /share_instances, with an underscore. delete is always a force_delete. set only offers --status.
Networks and security services
- **
share network create|delete|list|set|show|unset** (manilaclient/osc/v2/share_networks.py:341): Neutron names are resolved at create, not at set. show adds GET /security-services?share_network_id= (manilaclient/osc/v2/share_networks.py:259). set is the richest command: --status, and --new-security-service with --current-security-service choose between add, replace and their --check-only forms (2.63), whose result is **printed through LOG.error on purpose** (manilaclient/osc/v2/share_networks.py:641-645). Every use fails below 2.63 (defect). - **
share network subnet create|delete|set|show|unset** (manilaclient/osc/v2/share_network_subnets.py:105): nested under /share-networks/{id}/subnets. --check-only and --restart-check (2.70) send an action on the network instead of a POST; properties need 2.78. - **
share security service …** (manilaclient/osc/v2/security_services.py:110): --ou 2.44, --default-ad-site 2.76. For active_directory, --server and --default-ad-site are mutually exclusive, checked on the client. set without any option sends nothing and fails with One or more set operations failed: Must specify fields to be updated [observed, case security-service-set-noop]. - **
share server …** (manilaclient/osc/v2/share_servers.py:51): admin. The manager's get reads backend_details and copies it into flat details: fields (manilaclient/v2/share_servers.py:120-122). migration start|show|cancel|complete need 2.57. --check-only can start a real migration (defect).
Types, groups, pools and administration
- **
share type …** (manilaclient/osc/v2/share_types.py:162): the second positional is the driver_handles_share_servers boolean. Boolean extra specs are checked on the client (manilaclient/osc/utils.py:71). Display splits required_extra_specs from the others, and turns share_type_access:is_public into visibility. access create|delete|list use POST /types/{id}/action and GET /types/{id}/share_type_access; the list refuses a public type on the client. - **
share group …, share group snapshot …, share group type …** (manilaclient/osc/v2/share_groups.py:91, manilaclient/osc/v2/share_group_snapshots.py:60, manilaclient/osc/v2/share_group_types.py:81): 2.31 and above, experimental below 2.55. These 22 commands also exist, unloaded, in python-openstackclient; see § 4. - **
share qos type …** (manilaclient/osc/v2/qos_types.py:80): 2.94. - **
share pool list, share availability zone list, share limits show, share service list|set|ensure shares** (manilaclient/osc/v2/share_pools.py:74, manilaclient/osc/v2/availability_zones.py:29, manilaclient/osc/v2/share_limits.py:45, manilaclient/osc/v2/services.py:150): read-mostly administration. share service set needs --enable or --disable to send anything; without them it exits 0 silently [observed, case service-set-noop]. ensure shares needs 2.86. - **
share quota set|show|delete** (manilaclient/osc/v2/quotas.py:174): --class targets quota-class-sets and treats the positional as a class name. Each counter has a gate, from 2.39 to 2.90. All empty is refused on the client.
Backups, transfers, locks, messages, migration
- **
share backup …** (manilaclient/osc/v2/share_backups.py:68): 2.80, always experimental. restore --target-share needs 2.91. - **
share transfer …** (manilaclient/osc/v2/share_transfers.py:64): 2.77. accept takes the transfer ID and the auth_key. - **
share lock …** (manilaclient/osc/v2/resource_locks.py:88): 2.81. Resource types known to the client: share, access_rule (manilaclient/osc/v2/resource_locks.py:49). - **
share message …** (manilaclient/osc/v2/messages.py:55): 2.37; --since and --before 2.52. - **
share migration start|show|cancel|complete** (manilaclient/osc/v2/share.py:1698, manilaclient/osc/v2/share.py:1789): 2.22 (start 2.29). show uses the action below 2.98, and GET /shares/{id}/migration-progress from 2.98. --writable, --preserve-metadata, --preserve-snapshots and --nondisruptive are the strings True or False in the JSON body, not booleans [observed]. - **
share export location list|show|set|unset, share properties show** (manilaclient/osc/v2/share.py:1388, manilaclient/osc/v2/share.py:1547): properties need 2.87.
3. All commands
Generated by [_rewrite/build_contract_stable-2026.2.py](_rewrite/build_contract_stable-2026.2.py).
- Gates in the command: microversions tested in
take_action. - Lowest version exit 0: the lowest of 2.0 to 2.98 at which the command exits 0 on the stub, with its minimal arguments and a filled body. It reflects the path of those arguments only, and a filled body proves nothing about a real service.
- Requests observed at 2.98: the first distinct requests, with the action name.
{id} stands for a UUID or a name given to the command. The probe passes the name x for most arguments, which is why several commands start with listings.
manilaclient/osc/v2/availability_zones.py (1 commands)
| Command | Purpose | Defined at | Output | Args (required) | Gates in the command | Lowest version exit 0 | Requests observed at 2.98 |
|---|
share availability zone list | List all availability zones | manilaclient/osc/v2/availability_zones.py:20 | list | 0 (0) | | 2.0 | GET /availability-zones |
manilaclient/osc/v2/messages.py (3 commands)
| Command | Purpose | Defined at | Output | Args (required) | Gates in the command | Lowest version exit 0 | Requests observed at 2.98 |
|---|
share message delete | Remove one or more messages | manilaclient/osc/v2/messages.py:40 | none | 1 (1) | | 2.37 | GET /messages/{id}; DELETE /messages/{id} |
share message list | Lists all messages | manilaclient/osc/v2/messages.py:78 | list | 9 (0) | 2.52 | 2.37 | GET /messages |
share message show | Show details about a message | manilaclient/osc/v2/messages.py:198 | single | 1 (1) | | 2.37 | GET /messages/{id} |
manilaclient/osc/v2/qos_types.py (6 commands)
| Command | Purpose | Defined at | Output | Args (required) | Gates in the command | Lowest version exit 0 | Requests observed at 2.98 |
|---|
share qos type create | Create new qos type | manilaclient/osc/v2/qos_types.py:48 | single | 3 (1) | | 2.94 | POST /qos-types |
share qos type delete | Delete a qos type | manilaclient/osc/v2/qos_types.py:100 | none | 1 (1) | | 2.94 | GET /qos-types; DELETE /qos-types/{id} |
share qos type list | List qos types | manilaclient/osc/v2/qos_types.py:259 | list | 8 (0) | | 2.94 | GET /qos-types |
share qos type set | Set qos type description or specs | manilaclient/osc/v2/qos_types.py:145 | none | 3 (1) | | 2.94 | GET /qos-types; PUT /qos-types/{id} |
share qos type show | Display qos type details | manilaclient/osc/v2/qos_types.py:364 | single | 1 (1) | | 2.94 | GET /qos-types |
share qos type unset | Unset qos type specs | manilaclient/osc/v2/qos_types.py:206 | none | 3 (1) | | 2.94 | GET /qos-types; PUT /qos-types/{id} |
manilaclient/osc/v2/quotas.py (3 commands)
| Command | Purpose | Defined at | Output | Args (required) | Gates in the command | Lowest version exit 0 | Requests observed at 2.98 |
|---|
share quota delete | Delete Quota | manilaclient/osc/v2/quotas.py:406 | none | 3 (1) | 2.39 | 2.0 | GET /projects/{id}; DELETE /quota-sets/{project_id} |
share quota set | Set Quota for a project, or project/user or project/share-type or a class. | manilaclient/osc/v2/quotas.py:21 | none | 16 (1) | 2.39, 2.40, 2.53, 2.62, 2.90 | 2.0 | GET /projects/{id}; PUT /quota-sets/{project_id} |
share quota show | Show Quota | manilaclient/osc/v2/quotas.py:309 | single | 5 (1) | 2.39 | 2.0 | GET /projects/{id}; GET /quota-sets/{project_id} |
manilaclient/osc/v2/resource_locks.py (6 commands)
| Command | Purpose | Defined at | Output | Args (required) | Gates in the command | Lowest version exit 0 | Requests observed at 2.98 |
|---|
share lock create | Lock a resource action from occurring on a resource | manilaclient/osc/v2/resource_locks.py:55 | single | 4 (2) | | 2.81 | GET /shares/{id}; POST /resource-locks |
share lock delete | Remove one or more resource locks | manilaclient/osc/v2/resource_locks.py:110 | none | 1 (1) | | 2.81 | GET /resource-locks; DELETE /resource-locks/{id} |
share lock list | Lists all resource locks | manilaclient/osc/v2/resource_locks.py:145 | list | 17 (0) | | 2.81 | GET /resource-locks |
share lock set | Update resource lock properties | manilaclient/osc/v2/resource_locks.py:384 | none | 3 (1) | | 2.81 | PUT /resource-locks/{id} |
share lock show | Show details about a resource lock | manilaclient/osc/v2/resource_locks.py:357 | single | 1 (1) | | 2.81 | GET /resource-locks |
share lock unset | Remove resource lock properties | manilaclient/osc/v2/resource_locks.py:423 | none | 2 (1) | | 2.81 | PUT /resource-locks/{id} |
manilaclient/osc/v2/security_services.py (6 commands)
| Command | Purpose | Defined at | Output | Args (required) | Gates in the command | Lowest version exit 0 | Requests observed at 2.98 |
|---|
share security service create | Create security service used by project. | manilaclient/osc/v2/security_services.py:26 | single | 10 (1) | 2.44, 2.76 | 2.0 | POST /security-services |
share security service delete | Delete one or more security services. | manilaclient/osc/v2/security_services.py:156 | none | 1 (1) | | 2.0 | GET /security-services/{id}; DELETE /security-services/{id} |
share security service list | List security services. | manilaclient/osc/v2/security_services.py:476 | list | 14 (0) | 2.44, 2.76 | 2.0 | GET /security-services |
share security service set | Set security service. | manilaclient/osc/v2/security_services.py:226 | none | 10 (1) | 2.44, 2.76 | 2.0 | GET /security-services/{id}; PUT /security-services/{id} |
share security service show | Show security service. | manilaclient/osc/v2/security_services.py:197 | single | 1 (1) | | 2.0 | GET /security-services/{id} |
share security service unset | Unset security service. | manilaclient/osc/v2/security_services.py:352 | none | 10 (1) | 2.44, 2.76 | 2.0 | GET /security-services/{id}; PUT /security-services/{id} |
manilaclient/osc/v2/services.py (3 commands)
| Command | Purpose | Defined at | Output | Args (required) | Gates in the command | Lowest version exit 0 | Requests observed at 2.98 |
|---|
share service ensure shares | Run ensure shares in a back end (Admin only). | manilaclient/osc/v2/services.py:193 | none | 1 (1) | 2.86 | 2.86 | POST /services/ensure-shares |
share service list | List share services (Admin only). | manilaclient/osc/v2/services.py:103 | list | 6 (0) | 2.83, 2.93 | 2.0 | GET /services |
share service set | Enable/Disable share service (Admin only). | manilaclient/osc/v2/services.py:20 | none | 5 (2) | 2.83 | 2.0 | PUT /services/enable |
manilaclient/osc/v2/share.py (20 commands)
| Command | Purpose | Defined at | Output | Args (required) | Gates in the command | Lowest version exit 0 | Requests observed at 2.98 |
|---|
share abandon | Abandon a share | manilaclient/osc/v2/share.py:1280 | none | 2 (1) | | 2.0 | GET /shares/detail; POST /shares/{id}/action (unmanage) |
share adopt | Adopt a share | manilaclient/osc/v2/share.py:1122 | single | 11 (3) | 2.8, 2.49, 2.92 | 2.0 | POST /shares/manage |
share create | Create new share | manilaclient/osc/v2/share.py:98 | single | 15 (2) | 2.65, 2.84, 2.90 | 2.0 | GET /types/default; POST /shares |
share delete | Delete a share | manilaclient/osc/v2/share.py:362 | none | 5 (1) | 2.69 | 2.0 | GET /shares/detail; DELETE /shares/{id} |
share export location list | List export location of a share | manilaclient/osc/v2/share.py:1375 | list | 1 (1) | | 2.9 | GET /shares/detail; GET /shares/{id}/export_locations |
share export location set | Set an export location property. | manilaclient/osc/v2/share.py:1407 | none | 3 (2) | 2.87 | 2.87 | GET /shares/detail; POST /shares/{id}/export_locations/{id}/metadata |
share export location show | Show export location of a share | manilaclient/osc/v2/share.py:1336 | single | 2 (2) | | 2.9 | GET /shares/detail; GET /shares/{id}/export_locations/{id} |
share export location unset | Unset a share export location property | manilaclient/osc/v2/share.py:1468 | none | 3 (2) | 2.87 | 2.87 | GET /shares/detail; DELETE /shares/{id}/export_locations/{id}/metadata/{key} |
share list | List shares | manilaclient/osc/v2/share.py:458 | list | 26 (0) | 2.35, 2.36, 2.69, 2.90, 2.97 | 2.0 | GET /shares/detail |
share migration cancel | Cancels migration of a given share when copying | manilaclient/osc/v2/share.py:1724 | none | 1 (1) | | 2.22 | GET /shares/detail; POST /shares/{id}/action (migration_cancel) |
share migration complete | Completes migration for a given share | manilaclient/osc/v2/share.py:1748 | none | 1 (1) | | 2.22 | GET /shares/detail; POST /shares/{id}/action (migration_complete) |
share migration show | Gets migration progress of a given share when copying | manilaclient/osc/v2/share.py:1768 | single | 1 (1) | | 2.22 | GET /shares/detail; GET /shares/{id}/migration-progress |
share migration start | Migrates share to a new host. | manilaclient/osc/v2/share.py:1603 | none | 9 (6) | | 2.29 | GET /shares/detail; POST /shares/{id}/action (migration_start) |
share properties show | Show share properties | manilaclient/osc/v2/share.py:1535 | single | 1 (1) | | 2.0 | GET /shares/detail; GET /shares/{id}/metadata |
share resize | Resize a share | manilaclient/osc/v2/share.py:1045 | none | 4 (2) | 2.64 | 2.0 | GET /shares/detail; POST /shares/{id}/action (extend) |
share restore | Restores this share or more shares from the recycle bin | manilaclient/osc/v2/share.py:1796 | none | 1 (1) | 2.69 | 2.69 | POST /shares/{id}/action (restore) |
share revert | Revert a share to the specified snapshot. | manilaclient/osc/v2/share.py:1557 | none | 2 (1) | | 2.27 | GET /snapshots/detail; GET /shares/{id}; POST /shares/{id}/action (revert) |
share set | Set share properties | manilaclient/osc/v2/share.py:843 | none | 7 (1) | | 2.22 | GET /shares/detail; PUT /shares/{id}; POST /shares/{id}/action (reset_task_state) |
share show | Display share details | manilaclient/osc/v2/share.py:792 | single | 1 (1) | | 2.9 | GET /shares/detail; GET /shares/{id}/export_locations |
share unset | Unset share properties | manilaclient/osc/v2/share.py:974 | none | 4 (1) | | 2.0 | GET /shares/detail; PUT /shares/{id} |
manilaclient/osc/v2/share_access_rules.py (6 commands)
| Command | Purpose | Defined at | Output | Args (required) | Gates in the command | Lowest version exit 0 | Requests observed at 2.98 |
|---|
share access create | Create new share access rule | manilaclient/osc/v2/share_access_rules.py:41 | single | 9 (3) | 2.45, 2.82 | 2.0 | GET /shares/detail; POST /shares/{id}/action (allow_access) |
share access delete | Delete a share access rule | manilaclient/osc/v2/share_access_rules.py:202 | none | 4 (2) | 2.82 | 2.0 | GET /shares/detail; POST /shares/{id}/action (deny_access) |
share access list | List share access rule | manilaclient/osc/v2/share_access_rules.py:268 | list | 6 (1) | 2.21, 2.33, 2.45, 2.82 | 2.0 | GET /shares/detail; GET /share-access-rules |
share access set | Set properties to share access rule. Available for API microversion 2.45 and higher | manilaclient/osc/v2/share_access_rules.py:433 | none | 3 (1) | 2.45, 2.88 | 2.45 | GET /share-access-rules/{id}; PUT /share-access-rules/{id}/metadata |
share access show | Display a share access rule. Available for API microversion 2.45 and higher | manilaclient/osc/v2/share_access_rules.py:389 | single | 1 (1) | 2.45 | 2.45 | GET /share-access-rules/{id} |
share access unset | Unset properties of share access rule. Available for API microversion 2.45 and higher | manilaclient/osc/v2/share_access_rules.py:519 | none | 2 (1) | 2.45 | 2.45 | GET /share-access-rules/{id}; DELETE /share-access-rules/{id}/metadata/{key} |
manilaclient/osc/v2/share_backups.py (7 commands)
| Command | Purpose | Defined at | Output | Args (required) | Gates in the command | Lowest version exit 0 | Requests observed at 2.98 |
|---|
share backup create | Create a backup of the given share | manilaclient/osc/v2/share_backups.py:32 | single | 4 (1) | | 2.80 | GET /shares/{id}; POST /share-backups |
share backup delete | Delete one or more share backups | manilaclient/osc/v2/share_backups.py:87 | none | 2 (1) | | 2.80 | GET /share-backups/{id}; DELETE /share-backups/{id} |
share backup list | List share backups | manilaclient/osc/v2/share_backups.py:145 | list | 11 (0) | | 2.80 | GET /share-backups |
share backup restore | Attempt to restore share backup | manilaclient/osc/v2/share_backups.py:307 | none | 3 (1) | 2.91 | 2.80 | GET /share-backups/{id}; POST /share-backups/{id}/action (restore) |
share backup set | Set share backup properties | manilaclient/osc/v2/share_backups.py:365 | none | 4 (1) | | 2.80 | GET /share-backups/{id}; PUT /share-backups/{id} |
share backup show | Show details of a backup | manilaclient/osc/v2/share_backups.py:286 | single | 1 (1) | | 2.80 | GET /share-backups/{id} |
share backup unset | Unset share backup properties | manilaclient/osc/v2/share_backups.py:451 | none | 3 (1) | | 2.80 | GET /share-backups/{id}; PUT /share-backups/{id} |
manilaclient/osc/v2/share_group_snapshots.py (7 commands)
| Command | Purpose | Defined at | Output | Args (required) | Gates in the command | Lowest version exit 0 | Requests observed at 2.98 |
|---|
share group snapshot create | Create a share group snapshot of the given share group | manilaclient/osc/v2/share_group_snapshots.py:26 | single | 4 (1) | | 2.31 | GET /share-groups/{id}; POST /share-group-snapshots |
share group snapshot delete | Delete one or more share group snapshot | manilaclient/osc/v2/share_group_snapshots.py:91 | none | 3 (1) | | 2.31 | GET /share-group-snapshots/{id}; DELETE /share-group-snapshots/{id} |
share group snapshot list | List share group snapshots | manilaclient/osc/v2/share_group_snapshots.py:328 | list | 8 (0) | | 2.31 | GET /share-group-snapshots/detail |
share group snapshot members list | List members of share group snapshot | manilaclient/osc/v2/share_group_snapshots.py:441 | list | 1 (1) | | 2.31 | GET /share-group-snapshots/{id} |
share group snapshot set | Set share group snapshot properties | manilaclient/osc/v2/share_group_snapshots.py:186 | none | 4 (1) | | 2.31 | GET /share-group-snapshots/{id}; PUT /share-group-snapshots/{id} |
share group snapshot show | Show details about a share group snapshot | manilaclient/osc/v2/share_group_snapshots.py:157 | single | 1 (1) | | 2.31 | GET /share-group-snapshots/{id} |
share group snapshot unset | Unset a share group snapshot property | manilaclient/osc/v2/share_group_snapshots.py:277 | none | 3 (1) | | 2.31 | GET /share-group-snapshots/{id}; PUT /share-group-snapshots/{id} |
manilaclient/osc/v2/share_group_type_access.py (3 commands)
| Command | Purpose | Defined at | Output | Args (required) | Gates in the command | Lowest version exit 0 | Requests observed at 2.98 |
|---|
share group type access create | Allow a project to access a share group type (Admin only). | manilaclient/osc/v2/share_group_type_access.py:26 | none | 3 (2) | | 2.31 | GET /share-group-types; GET /projects/{id}; POST /share-group-types/{id}/action (addProjectAccess) |
share group type access delete | Deny a project to access a share group type (Admin only). | manilaclient/osc/v2/share_group_type_access.py:124 | none | 3 (2) | | 2.31 | GET /share-group-types; GET /projects/{id}; POST /share-group-types/{id}/action (removeProjectAccess) |
share group type access list | Get access list for share group type (Admin only). | manilaclient/osc/v2/share_group_type_access.py:90 | list | 1 (1) | | 2.31 | GET /share-group-types; GET /share-group-types/{id}/access |
manilaclient/osc/v2/share_group_types.py (6 commands)
| Command | Purpose | Defined at | Output | Args (required) | Gates in the command | Lowest version exit 0 | Requests observed at 2.98 |
|---|
share group type create | Create new share group type | manilaclient/osc/v2/share_group_types.py:36 | single | 4 (2) | | 2.31 | GET /types; POST /share-group-types |
share group type delete | Delete a share group type | manilaclient/osc/v2/share_group_types.py:131 | none | 1 (1) | | 2.31 | GET /share-group-types; DELETE /share-group-types/{id} |
share group type list | List share types | manilaclient/osc/v2/share_group_types.py:177 | list | 2 (0) | | 2.31 | GET /share-group-types |
share group type set | Set share group type properties | manilaclient/osc/v2/share_group_types.py:276 | none | 2 (1) | | 2.31 | GET /share-group-types; POST /share-group-types/{id}/group-specs |
share group type show | Show share group types | manilaclient/osc/v2/share_group_types.py:237 | single | 1 (1) | | 2.31 | GET /share-group-types; GET /share-group-types/{id} |
share group type unset | Unset share group type extra specs | manilaclient/osc/v2/share_group_types.py:333 | none | 2 (2) | | 2.31 | GET /share-group-types; DELETE /share-group-types/{id}/group-specs/{key} |
manilaclient/osc/v2/share_groups.py (6 commands)
| Command | Purpose | Defined at | Output | Args (required) | Gates in the command | Lowest version exit 0 | Requests observed at 2.98 |
|---|
share group create | Create new share group | manilaclient/osc/v2/share_groups.py:26 | single | 8 (0) | | 2.31 | POST /share-groups |
share group delete | Delete one or more share groups | manilaclient/osc/v2/share_groups.py:157 | none | 3 (1) | | 2.31 | GET /share-groups/{id}; DELETE /share-groups/{id} |
share group list | List share groups | manilaclient/osc/v2/share_groups.py:226 | list | 16 (0) | 2.36 | 2.31 | GET /share-groups/detail |
share group set | Explicitly set share group status | manilaclient/osc/v2/share_groups.py:469 | none | 4 (1) | | 2.31 | GET /share-groups/{id}; PUT /share-groups/{id} |
share group show | Show details about a share group | manilaclient/osc/v2/share_groups.py:436 | single | 1 (1) | | 2.31 | GET /share-groups/{id} |
share group unset | Unset a share group property | manilaclient/osc/v2/share_groups.py:540 | none | 3 (1) | | 2.31 | GET /share-groups/{id}; PUT /share-groups/{id} |
manilaclient/osc/v2/share_instance_export_locations.py (2 commands)
| Command | Purpose | Defined at | Output | Args (required) | Gates in the command | Lowest version exit 0 | Requests observed at 2.98 |
|---|
share instance export location list | List share instance export locations | manilaclient/osc/v2/share_instance_export_locations.py:22 | list | 1 (1) | | 2.9 | GET /share_instances/{id}; GET /share_instances/{id}/export_locations |
share instance export location show | Show export location for a share instance. | manilaclient/osc/v2/share_instance_export_locations.py:62 | single | 2 (2) | | 2.9 | GET /share_instances/{id}; GET /share_instances/{id}/export_locations/{id} |
manilaclient/osc/v2/share_instances.py (4 commands)
| Command | Purpose | Defined at | Output | Args (required) | Gates in the command | Lowest version exit 0 | Requests observed at 2.98 |
|---|
share instance delete | Forces the deletion of a share instance | manilaclient/osc/v2/share_instances.py:28 | none | 2 (1) | | 2.3 | GET /share_instances; POST /share_instances/{id}/action (force_delete) |
share instance list | List share instances | manilaclient/osc/v2/share_instances.py:89 | list | 2 (0) | 2.35 | 2.3 | GET /share_instances |
share instance set | Explicitly reset share instance status | manilaclient/osc/v2/share_instances.py:154 | none | 2 (1) | | 2.3 | GET /share_instances/{id}; POST /share_instances/{id}/action (reset_status) |
share instance show | Show share instance | manilaclient/osc/v2/share_instances.py:202 | single | 1 (1) | | 2.9 | GET /share_instances/{id}; GET /share_instances/{id}/export_locations |
manilaclient/osc/v2/share_limits.py (1 commands)
| Command | Purpose | Defined at | Output | Args (required) | Gates in the command | Lowest version exit 0 | Requests observed at 2.98 |
|---|
share limits show | Show a list of share limits for a user. | manilaclient/osc/v2/share_limits.py:21 | list | 2 (0) | | 2.0 | GET /limits |
manilaclient/osc/v2/share_network_subnets.py (5 commands)
| Command | Purpose | Defined at | Output | Args (required) | Gates in the command | Lowest version exit 0 | Requests observed at 2.98 |
|---|
share network subnet create | Create a share network subnet | manilaclient/osc/v2/share_network_subnets.py:30 | single | 7 (1) | 2.70, 2.78 | 2.78 | GET /share-networks/{id}; POST /share-networks/{id}/subnets |
share network subnet delete | Delete a share network subnet | manilaclient/osc/v2/share_network_subnets.py:208 | none | 2 (2) | | 2.0 | GET /share-networks/{id}; DELETE /share-networks/{id}/subnets/{id} |
share network subnet set | Set share network subnet properties | manilaclient/osc/v2/share_network_subnets.py:303 | none | 3 (2) | 2.78 | 2.78 | GET /share-networks/{id}; POST /share-networks/{id}/subnets/{id}/metadata |
share network subnet show | Show share network subnet | manilaclient/osc/v2/share_network_subnets.py:256 | single | 2 (2) | | 2.0 | GET /share-networks/{id}; GET /share-networks/{id}/subnets/{id} |
share network subnet unset | Unset a share network subnet property | manilaclient/osc/v2/share_network_subnets.py:363 | none | 3 (2) | 2.78 | 2.78 | GET /share-networks/{id}; DELETE /share-networks/{id}/subnets/{id}/metadata/{key} |
manilaclient/osc/v2/share_networks.py (6 commands)
| Command | Purpose | Defined at | Output | Args (required) | Gates in the command | Lowest version exit 0 | Requests observed at 2.98 |
|---|
share network create | Create a share network | manilaclient/osc/v2/share_networks.py:285 | single | 5 (0) | 2.51 | 2.0 | POST /share-networks |
share network delete | Delete one or more share networks | manilaclient/osc/v2/share_networks.py:403 | none | 2 (1) | | 2.0 | GET /share-networks/{id}; DELETE /share-networks/{id} |
share network list | List share networks | manilaclient/osc/v2/share_networks.py:30 | list | 17 (0) | 2.36 | 2.0 | GET /share-networks/detail |
share network set | Set share network properties | manilaclient/osc/v2/share_networks.py:454 | none | 10 (1) | 2.63 | 2.63 | GET /share-networks/{id}; PUT /share-networks/{id} |
share network show | Show details about a share network | manilaclient/osc/v2/share_networks.py:221 | single | 1 (1) | | 2.0 | GET /share-networks/{id}; GET /security-services |
share network unset | Unset a share network property | manilaclient/osc/v2/share_networks.py:737 | none | 4 (1) | | 2.0 | GET /share-networks/{id}; PUT /share-networks/{id} |
manilaclient/osc/v2/share_pools.py (1 commands)
| Command | Purpose | Defined at | Output | Args (required) | Gates in the command | Lowest version exit 0 | Requests observed at 2.98 |
|---|
share pool list | List all backend storage pools known to the scheduler (Admin only). | manilaclient/osc/v2/share_pools.py:21 | list | 5 (0) | 2.23 | 2.0 | GET /scheduler-stats/pools |
manilaclient/osc/v2/share_replica_export_locations.py (2 commands)
| Command | Purpose | Defined at | Output | Args (required) | Gates in the command | Lowest version exit 0 | Requests observed at 2.98 |
|---|
share replica export location list | List export locations of a share replica. | manilaclient/osc/v2/share_replica_export_locations.py:18 | list | 1 (1) | | 2.47 | GET /share-replicas/{id}; GET /share-replicas/{id}/export-locations |
share replica export location show | Show details of a share replica's export location. | manilaclient/osc/v2/share_replica_export_locations.py:57 | single | 2 (2) | | 2.47 | GET /share-replicas/{id}; GET /share-replicas/{id}/export-locations/{id} |
manilaclient/osc/v2/share_replicas.py (8 commands)
| Command | Purpose | Defined at | Output | Args (required) | Gates in the command | Lowest version exit 0 | Requests observed at 2.98 |
|---|
share replica create | Create a replica of the given share | manilaclient/osc/v2/share_replicas.py:28 | single | 6 (1) | 2.67, 2.72, 2.95 | 2.11 | GET /shares/{id}; POST /share-replicas |
share replica delete | Delete one or more share replicas | manilaclient/osc/v2/share_replicas.py:159 | none | 3 (1) | | 2.11 | GET /share-replicas/{id}; DELETE /share-replicas/{id} |
share replica list | List share replicas | manilaclient/osc/v2/share_replicas.py:230 | list | 2 (0) | 2.95 | 2.11 | GET /share-replicas/detail |
share replica promote | Promote specified replica to 'active' replica_state. | manilaclient/osc/v2/share_replicas.py:568 | none | 3 (1) | 2.75 | 2.11 | GET /share-replicas/{id}; POST /share-replicas/{id}/action (promote) |
share replica resync | Attempt to update the share replica with its 'active' mirror. | manilaclient/osc/v2/share_replicas.py:629 | none | 1 (1) | | 2.11 | GET /share-replicas/{id}; POST /share-replicas/{id}/action (resync) |
share replica set | Explicitly set share replica status and/or replica-state and/or property | manilaclient/osc/v2/share_replicas.py:379 | none | 4 (1) | 2.95 | 2.11 | GET /share-replicas/{id}; POST /share-replicas/{id}/action (reset_status) |
share replica show | Show details about a replica | manilaclient/osc/v2/share_replicas.py:322 | single | 1 (1) | | 2.47 | GET /share-replicas/{id}; GET /share-replicas/{id}/export-locations |
share replica unset | Unset a share replica property | manilaclient/osc/v2/share_replicas.py:507 | none | 2 (1) | 2.95 | 2.95 | GET /share-replicas/{id}; DELETE /share-replicas/{id}/metadata/{key} |
manilaclient/osc/v2/share_servers.py (10 commands)
| Command | Purpose | Defined at | Output | Args (required) | Gates in the command | Lowest version exit 0 | Requests observed at 2.98 |
|---|
share server abandon | Remove one or more share server(s) (Admin only). | manilaclient/osc/v2/share_servers.py:376 | none | 3 (1) | | 2.49 | GET /share-servers/{id}; POST /share-servers/{id}/action (unmanage) |
share server adopt | Adopt share server not handled by Manila (Admin only). | manilaclient/osc/v2/share_servers.py:266 | single | 6 (3) | 2.51 | 2.51 | GET /share-networks/{id}; POST /share-servers/manage |
share server delete | Delete one or more share servers | manilaclient/osc/v2/share_servers.py:30 | none | 2 (1) | | 2.0 | GET /share-servers/{id}; DELETE /share-servers/{id} |
share server list | List all share servers (Admin only). | manilaclient/osc/v2/share_servers.py:117 | list | 8 (0) | 2.49, 2.51, 2.57 | 2.0 | GET /share-servers |
share server migration cancel | Cancels migration of a given share server when copying | manilaclient/osc/v2/share_servers.py:557 | none | 1 (1) | 2.57 | 2.57 | GET /share-servers/{id}; POST /share-servers/{id}/action (migration_cancel) |
share server migration complete | Completes migration for a given share server | manilaclient/osc/v2/share_servers.py:589 | none | 1 (1) | 2.57 | 2.57 | GET /share-servers/{id}; POST /share-servers/{id}/action (migration_complete) |
share server migration show | Gets migration progress of a given share server when copying | manilaclient/osc/v2/share_servers.py:617 | single | 1 (1) | 2.57 | 2.57 | POST /share-servers/{id}/action (migration_get_progress) |
share server migration start | Migrates share server to a new host. | manilaclient/osc/v2/share_servers.py:653 | single | 7 (5) | 2.57 | 2.57 | GET /share-servers/{id}; POST /share-servers/{id}/action (migration_start) |
share server set | Set share server properties (Admin only). | manilaclient/osc/v2/share_servers.py:445 | none | 3 (1) | 2.57 | 2.57 | GET /share-servers/{id}; POST /share-servers/{id}/action (reset_status); POST /share-servers/{id}/action (reset_task_state) |
share server show | Show details about a share server (Admin only). | manilaclient/osc/v2/share_servers.py:87 | single | 1 (1) | | 2.0 | GET /share-servers/{id} |
manilaclient/osc/v2/share_snapshot_instance_export_locations.py (2 commands)
| Command | Purpose | Defined at | Output | Args (required) | Gates in the command | Lowest version exit 0 | Requests observed at 2.98 |
|---|
share snapshot instance export location list | List export locations from a share snapshot instance. | manilaclient/osc/v2/share_snapshot_instance_export_locations.py:20 | list | 1 (1) | | 2.32 | GET /snapshot-instances; GET /snapshot-instances/{id}/export-locations |
share snapshot instance export location show | Show export location of the share snapshot instance. | manilaclient/osc/v2/share_snapshot_instance_export_locations.py:59 | single | 2 (2) | | 2.32 | GET /snapshot-instances; GET /snapshot-instances/{id}/export-locations/{id} |
manilaclient/osc/v2/share_snapshot_instances.py (3 commands)
| Command | Purpose | Defined at | Output | Args (required) | Gates in the command | Lowest version exit 0 | Requests observed at 2.98 |
|---|
share snapshot instance list | List all share snapshot instances | manilaclient/osc/v2/share_snapshot_instances.py:21 | list | 2 (0) | | 2.19 | GET /snapshot-instances |
share snapshot instance set | Explicitly update the state of a share snapshot instance. | manilaclient/osc/v2/share_snapshot_instances.py:122 | none | 2 (1) | | 2.19 | POST /snapshot-instances/{id}/action (reset_status) |
share snapshot instance show | Show details about a share snapshot instance. | manilaclient/osc/v2/share_snapshot_instances.py:76 | single | 1 (1) | | 2.32 | GET /snapshot-instances/{id}; GET /snapshot-instances/{id}/export-locations |
manilaclient/osc/v2/share_snapshots.py (13 commands)
| Command | Purpose | Defined at | Output | Args (required) | Gates in the command | Lowest version exit 0 | Requests observed at 2.98 |
|---|
share snapshot abandon | Abandon share snapshot(s) | manilaclient/osc/v2/share_snapshots.py:698 | none | 2 (1) | | 2.12 | GET /snapshots/{id}; POST /snapshots/{id}/action (unmanage) |
share snapshot access create | Allow access to a snapshot | manilaclient/osc/v2/share_snapshots.py:753 | single | 3 (3) | | 2.32 | GET /snapshots/{id}; POST /snapshots/{id}/action (allow_access) |
share snapshot access delete | Delete access to a snapshot | manilaclient/osc/v2/share_snapshots.py:802 | none | 2 (2) | | 2.32 | GET /snapshots/{id}; POST /snapshots/{id}/action (deny_access) |
share snapshot access list | Show access list for a snapshot | manilaclient/osc/v2/share_snapshots.py:854 | list | 1 (1) | | 2.32 | GET /snapshots/{id}; GET /snapshots/{id}/access-list |
share snapshot adopt | Adopt a share snapshot | manilaclient/osc/v2/share_snapshots.py:619 | single | 6 (2) | | 2.12 | GET /shares/{id}; POST /snapshots/manage |
share snapshot create | Create a snapshot of the given share | manilaclient/osc/v2/share_snapshots.py:29 | single | 6 (1) | 2.73 | 2.73 | GET /shares/{id}; POST /snapshots |
share snapshot delete | Delete one or more share snapshots | manilaclient/osc/v2/share_snapshots.py:117 | none | 3 (1) | | 2.0 | GET /snapshots/{id}; DELETE /snapshots/{id} |
share snapshot export location list | List export locations of a given snapshot | manilaclient/osc/v2/share_snapshots.py:887 | list | 1 (1) | | 2.32 | GET /snapshots/{id}; GET /snapshots/{id}/export-locations |
share snapshot export location show | Show export location of the share snapshot | manilaclient/osc/v2/share_snapshots.py:920 | single | 2 (2) | | 2.32 | GET /snapshots/{id}; GET /snapshots/{id}/export-locations/{id} |
share snapshot list | List snapshots | manilaclient/osc/v2/share_snapshots.py:415 | list | 14 (0) | 2.36, 2.79 | 2.0 | GET /snapshots/detail |
share snapshot set | Set share snapshot properties | manilaclient/osc/v2/share_snapshots.py:234 | none | 5 (1) | | 2.0 | GET /snapshots/{id}; PUT /snapshots/{id} |
share snapshot show | Show details about a share snapshot | manilaclient/osc/v2/share_snapshots.py:182 | single | 1 (1) | | 2.32 | GET /snapshots/{id}; GET /snapshots/{id}/export-locations |
share snapshot unset | Unset a share snapshot property | manilaclient/osc/v2/share_snapshots.py:350 | none | 4 (1) | | 2.0 | GET /snapshots/{id}; PUT /snapshots/{id} |
manilaclient/osc/v2/share_transfers.py (5 commands)
| Command | Purpose | Defined at | Output | Args (required) | Gates in the command | Lowest version exit 0 | Requests observed at 2.98 |
|---|
share transfer accept | Accepts a share transfer | manilaclient/osc/v2/share_transfers.py:280 | none | 3 (2) | | 2.77 | POST /share-transfers/{id}/accept |
share transfer create | Create a new share transfer | manilaclient/osc/v2/share_transfers.py:46 | single | 2 (1) | | 2.77 | GET /shares/{id}; POST /share-transfers |
share transfer delete | Remove one or more transfers | manilaclient/osc/v2/share_transfers.py:76 | none | 1 (1) | | 2.77 | GET /share-transfers/detail; DELETE /share-transfers/{id} |
share transfer list | Lists all transfers | manilaclient/osc/v2/share_transfers.py:114 | list | 11 (0) | | 2.77 | GET /share-transfers |
share transfer show | Show details about a share transfer | manilaclient/osc/v2/share_transfers.py:251 | single | 1 (1) | | 2.77 | GET /share-transfers/detail |
manilaclient/osc/v2/share_type_access.py (3 commands)
| Command | Purpose | Defined at | Output | Args (required) | Gates in the command | Lowest version exit 0 | Requests observed at 2.98 |
|---|
share type access create | Add access for share type | manilaclient/osc/v2/share_type_access.py:21 | none | 2 (2) | | 2.0 | GET /types; POST /types/{id}/action (addProjectAccess) |
share type access delete | Delete access from share type | manilaclient/osc/v2/share_type_access.py:92 | none | 2 (2) | | 2.0 | GET /types; POST /types/{id}/action (removeProjectAccess) |
share type access list | Get access list for share type | manilaclient/osc/v2/share_type_access.py:58 | list | 1 (1) | | 2.0 | GET /types; GET /types/{id}/share_type_access |
manilaclient/osc/v2/share_types.py (6 commands)
| Command | Purpose | Defined at | Output | Args (required) | Gates in the command | Lowest version exit 0 | Requests observed at 2.98 |
|---|
share type create | Create new share type | manilaclient/osc/v2/share_types.py:75 | single | 9 (2) | 2.41 | 2.0 | POST /types |
share type delete | Delete a share type | manilaclient/osc/v2/share_types.py:228 | none | 1 (1) | | 2.0 | GET /types; DELETE /types/{id} |
share type list | List share types | manilaclient/osc/v2/share_types.py:417 | list | 2 (0) | 2.43 | 2.0 | GET /types |
share type set | Set share type properties | manilaclient/osc/v2/share_types.py:272 | none | 5 (1) | 2.50 | 2.50 | GET /types; PUT /types/{id} |
share type show | Display share type details | manilaclient/osc/v2/share_types.py:484 | single | 1 (1) | | 2.0 | GET /types |
share type unset | Unset share type extra specs | manilaclient/osc/v2/share_types.py:381 | none | 2 (2) | | 2.0 | GET /types; DELETE /types/{id}/extra_specs/{key} |
4. Relation with openstackclient.share.v2
python-openstackclient holds 40 commands in its own openstack.share.v2 group (openstackclient:pyproject.toml:680), a copy of part of this plugin: share group*, share lock, share message, share security service, share service. They are never loaded [observed in the OSC spec]: openstackclient.share.v2 is listed in IGNORED_MODULES with a FIXME that says the implementation is not complete (openstackclient:openstackclient/shell.py:43), and openstackclient/share/client.py is not in openstack.cli.base (openstackclient:pyproject.toml:40-46). So share commands always come from this plugin, which OSC requires (openstackclient:requirements.txt:12). All 40 names exist here, and these 114 exist only here: share itself, access, snapshots, replicas, instances, networks, servers, types, backups, transfers, QoS, quotas and migration.
A class-by-class comparison of the 40 gives 24 identical once type annotations are removed. Most of the other 16 differ in message text or _() wrapping. These differences matter:
| Point | This plugin | openstackclient.share.v2 | Source |
|---|
| Version negotiation | discovery, default 2.98, lowered to the server maximum | no discovery, default 2, version as given | manilaclient/osc/plugin.py:63, openstackclient:openstackclient/share/client.py:38, openstackclient:openstackclient/share/client.py:30 |
| Endpoint override | --os-endpoint-override | none | manilaclient/osc/plugin.py:136, openstackclient:openstackclient/share/client.py:68 |
share service list | --ensuring; Ensuring column from 2.93 | no --ensuring; column from 2.86 | manilaclient/osc/v2/services.py:160, manilaclient/osc/v2/services.py:182, openstackclient:openstackclient/share/v2/services.py:174 |
share lock list | --project-domain, --user-domain | absent | manilaclient/osc/v2/resource_locks.py:286, openstackclient:openstackclient/share/v2/resource_locks.py:176 |
share group type create --public | strutils.bool_from_string(default=True) | envvars.bool_from_str | manilaclient/osc/v2/share_group_types.py:106, openstackclient:openstackclient/share/v2/share_group_types.py:111 |
Both use manilaclient managers, so the wire format is the same on the shared commands [inferred: read from the code; the OSC copy cannot run through the normal shell].
Source: reverse-spec-python-manilaclient/01-cli-commands_stable-2026.2.md. The _rewrite/ and _inventory/ files are not published on the site.