manila/manila
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
..
api Add manage/unmanage of shares in DHSS=True 2019-03-05 16:03:29 -03:00
cmd Drop param2id() from cmd/manage.py 2019-01-03 14:10:01 +01:00
common Allow configuring availability_zones in share types 2019-02-13 17:39:48 +00:00
compute Deprecate old keystone session config opts 2018-12-20 17:29:40 -08:00
data Fix Host-assisted Share Migration with IPv4+IPv6 2018-02-06 17:23:16 -05:00
db Add manage/unmanage of shares in DHSS=True 2019-03-05 16:03:29 -03:00
hacking Fix the duplicate hacking check M312 and H203 2017-08-13 08:01:42 +08:00
message Enable some off-by-default checks 2017-08-03 16:13:32 +08:00
network Add manage/unmanage of shares in DHSS=True 2019-03-05 16:03:29 -03:00
policies Add manage/unmanage of shares in DHSS=True 2019-03-05 16:03:29 -03:00
scheduler Allow configuring availability_zones in share types 2019-02-13 17:39:48 +00:00
share Add manage/unmanage of shares in DHSS=True 2019-03-05 16:03:29 -03:00
share_group [pylint] Fix/ignore pylint errors in non-test modules 2019-02-25 17:23:15 +00:00
testing Remove run_tests.sh 2018-10-04 09:55:45 -04:00
tests Add manage/unmanage of shares in DHSS=True 2019-03-05 16:03:29 -03:00
volume Deprecate old keystone session config opts 2018-12-20 17:29:40 -08:00
wsgi [pylint] Fix/ignore pylint errors in non-test modules 2019-02-25 17:23:15 +00:00
__init__.py Removed ignored checks from tox.ini and fixed pep8 issues 2016-02-14 14:56:55 +02:00
context.py [policy in code] Add support for share instance export location resource 2017-11-16 04:39:00 +00:00
coordination.py Remove unused configuration options 2017-12-13 22:49:35 +08:00
exception.py Add manage/unmanage of shares in DHSS=True 2019-03-05 16:03:29 -03:00
i18n.py Remove i18n.enable_lazy() translation 2018-11-14 14:09:08 +05:30
manager.py Allow configuration of a back end specific availability zone 2019-01-23 17:13:24 +00:00
opts.py Manila share driver for Inspur AS13000 series. 2018-07-03 18:35:55 +08:00
policy.py Add policy to create/update public shares 2019-02-18 12:56:12 -08:00
quota.py Add share groups and share group snapshots quotas 2017-07-26 11:32:43 +03:00
rpc.py Disable notifications 2017-07-17 12:45:11 -03:00
service.py Allow configuration of a back end specific availability zone 2019-01-23 17:13:24 +00:00
test.py [pylint] Fix/ignore pylint errors in non-test modules 2019-02-25 17:23:15 +00:00
utils.py [pylint] Fix/ignore pylint errors in non-test modules 2019-02-25 17:23:15 +00:00
version.py Remove vim headers 2014-10-06 15:00:27 +02:00