manila/manila/api/views
Rodrigo Barbieri d877b61c5e Add manage/unmanage of shares in DHSS=True
This patch adds Manage/Unmanage of share servers in
Manila. It also updates the Manage Share API to accept
a "share_server_id" parameter, and updates Unmanage
of Share and Snapshots API to allow unmanaging of
shares and snapshots in DHSS=True.

Managed share servers are not deleted automatically
by manila, and if a single share is unmanaged in
DHSS=True, the respective share server will not be
deleted automatically as well.

Managing share servers require that the driver
implements 2 functions:
- get_share_server_network_info: obtain IPs from
  share server.
- manage_server: perform required operations to
  manage and return dict of backend_details.

Unmanaging share servers require that the driver
overrides unmanage_server function.

The IPs obtained from the backend are validated
by the Network plugin, so ports with the exact
IPs must exist in the subnet and admin subnet
associated with the share network specified
when managing the share server (unless
StandaloneNetworkPlugin is used).

It is recommended to rename the backend resource
if possible when managing the share server, to
prevent issues with re-managing a share server
that has already been managed.

This patch bumps the API microversion to 2.49.

APIImpact
DocImpact

Depends-On: I17c74b2aa242918188eeff368232c762a4b31093
Partially-implements: bp manage-unmanage-with-share-servers
Change-Id: I108961e7436ba13550ef2b8f02079c6e599a6166
2019-03-05 16:03:29 -03:00
..
__init__.py Address H104 File contains nothing but comments 2014-07-14 10:19:15 +02:00
availability_zones.py Fix grammatical mistake, Changed character from "an" to "a" 2016-01-08 07:11:22 +00:00
export_locations.py Separate APIs for share & replica export locations 2019-01-07 01:51:16 -08:00
limits.py Replace oslo_utils.timeutils.isotime 2017-05-30 12:48:44 +00:00
messages.py User Messages 2017-07-13 13:05:57 +02:00
quota_class_sets.py Add share groups and share group snapshots quotas 2017-07-26 11:32:43 +03:00
quota_sets.py Add share groups and share group snapshots quotas 2017-07-26 11:32:43 +03:00
scheduler_stats.py Fix issues with get_pool scheduler API 2015-03-16 16:32:15 +00:00
security_service.py Add ou to security service 2018-04-24 15:04:40 -07:00
services.py Port services to core API 2015-11-09 13:54:48 +00:00
share_accesses.py Support metadata for access rule resource 2018-07-20 23:31:48 +08:00
share_group_snapshots.py Fix ShareSnapshotInstance DB table 2017-06-16 14:21:55 +03:00
share_group_types.py Retrieve is_default value to fix empty display in CLI 2018-07-24 12:00:58 +08:00
share_groups.py [Share Groups] Add two new fields to SG API object 2017-06-06 10:13:36 +00:00
share_instance.py Fix share instance list API display error 2017-05-24 17:39:13 +08:00
share_migration.py Share migration Newton improvements 2016-08-31 12:38:14 -03:00
share_networks.py Remove NovaNetworkPlugin 2017-01-13 08:11:16 -05:00
share_replicas.py Only return share host for admins using shares API 2017-02-16 18:13:31 +00:00
share_servers.py Add manage/unmanage of shares in DHSS=True 2019-03-05 16:03:29 -03:00
share_snapshot_export_locations.py Add mountable snapshots support 2017-01-24 17:26:45 -02:00
share_snapshot_instances.py Add snapshot instances admin APIs 2016-07-29 11:21:35 +08:00
share_snapshots.py Add mountable snapshots support 2017-01-24 17:26:45 -02:00
shares.py Add count info in /shares and /shares/detail response 2017-12-13 01:46:17 +00:00
types.py Retrieve is_default value to fix empty display in CLI 2018-07-24 12:00:58 +08:00
versions.py Clean up removed hacking rule from [flake8] ignore lists 2016-01-14 23:27:17 +08:00