manila/manila/policies
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 Separate APIs for share & replica export locations 2019-01-07 01:51:16 -08:00
availability_zone.py [policy in code] Add support for AZ, scheduler and message resource [9/10] 2017-12-20 06:22:02 +00:00
base.py [policy in code] Add support for share type resource [2/10] 2017-12-11 01:07:39 +00:00
message.py [policy in code] Add support for AZ, scheduler and message resource [9/10] 2017-12-20 06:22:02 +00:00
quota_class_set.py [policy in code] Add support for service and quota resource [5/10] 2017-12-14 01:37:19 +00:00
quota_set.py [policy in code] Add support for service and quota resource [5/10] 2017-12-14 01:37:19 +00:00
scheduler_stats.py [policy in code] Add support for AZ, scheduler and message resource [9/10] 2017-12-20 06:22:02 +00:00
security_service.py [policy in code] Add support for replicas, networks and security services [7/10] 2017-12-19 12:22:18 +00:00
service.py [policy in code] Add support for service and quota resource [5/10] 2017-12-14 01:37:19 +00:00
share_access.py Support metadata for access rule resource 2018-07-20 23:31:48 +08:00
share_access_metadata.py Support metadata for access rule resource 2018-07-20 23:31:48 +08:00
share_export_location.py [policy in code] Add support for share and type extra resource [8/10] 2017-12-20 01:34:28 +00:00
share_group.py [policy in code] Add support for group resource [6/10] 2017-12-19 11:59:59 +00:00
share_group_snapshot.py [policy in code] Add support for group resource [6/10] 2017-12-19 11:59:59 +00:00
share_group_type.py [policy in code] Add support for group resource [6/10] 2017-12-19 11:59:59 +00:00
share_group_types_spec.py [policy in code] Add support for group resource [6/10] 2017-12-19 11:59:59 +00:00
share_instance.py [policy in code] Add support for share and type extra resource [8/10] 2017-12-20 01:34:28 +00:00
share_instance_export_location.py [policy in code] Add support for share instance export location resource 2017-11-16 04:39:00 +00:00
share_network.py [policy in code] Add support for replicas, networks and security services [7/10] 2017-12-19 12:22:18 +00:00
share_replica.py [policy in code] Add support for replicas, networks and security services [7/10] 2017-12-19 12:22:18 +00:00
share_replica_export_location.py Separate APIs for share & replica export locations 2019-01-07 01:51:16 -08:00
share_server.py Add manage/unmanage of shares in DHSS=True 2019-03-05 16:03:29 -03:00
share_snapshot.py [policy in code] Add support for snapshot resource [4/10] 2017-12-13 06:56:11 +00:00
share_snapshot_export_location.py [policy in code] Add support for snapshot resource [4/10] 2017-12-13 06:56:11 +00:00
share_snapshot_instance.py [policy in code] Add support for snapshot resource [4/10] 2017-12-13 06:56:11 +00:00
share_snapshot_instance_export_location.py [policy in code] Add support for snapshot resource [4/10] 2017-12-13 06:56:11 +00:00
share_type.py [policy in code] Add support for share type resource [2/10] 2017-12-11 01:07:39 +00:00
share_types_extra_spec.py [policy in code] Add support for share and type extra resource [8/10] 2017-12-20 01:34:28 +00:00
shares.py Add policy to create/update public shares 2019-02-18 12:56:12 -08:00