manila/manila/tests
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 Fix the misspelling of "except" 2019-01-04 17:30:30 +08: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
integrated Update auth_uri option to www_authenticate_uri 2018-04-19 14:09:21 +00:00
message Removes use of timeutils.set_time_override 2017-09-15 23:31:33 +08:00
monkey_patch_example Removed ignored checks from tox.ini and fixed pep8 issues 2016-02-14 14:56:55 +02:00
network 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 Allow configuring availability_zones in share types 2019-02-13 17:39:48 +00:00
var Renamed cinder to manila. 2013-09-02 09:59:07 +03:00
volume Deprecate old keystone session config opts 2018-12-20 17:29:40 -08:00
wsgi Add possibility to run 'manila-api' with wsgi web servers 2017-04-10 12:49:20 +03:00
xenapi Renamed cinder to manila. 2013-09-02 09:59:07 +03:00
__init__.py Removed ignored checks from tox.ini and fixed pep8 issues 2016-02-14 14:56:55 +02:00
conf_fixture.py Manila share driver for Inspur AS13000 series. 2018-07-03 18:35:55 +08:00
db_utils.py Merge "Fix grammatical mistake, Changed character from "a" to "an"" 2017-07-19 03:05:44 +00:00
declare_conf.py Switch to using oslo_* instead of oslo.* 2015-01-27 09:19:50 +01:00
fake_client_exception_class.py Fix keystone v3 issues for all clients 2016-03-18 14:42:33 +01:00
fake_compute.py Remove unused server_get() method 2016-01-21 09:16:14 +01:00
fake_driver.py Add manage/unmanage of shares in DHSS=True 2019-03-05 16:03:29 -03:00
fake_network.py Replaces uuid.uuid4 with uuidutils.generate_uuid() 2016-11-14 10:51:24 -05:00
fake_notifier.py Disable notifications 2017-07-17 12:45:11 -03:00
fake_service_instance.py Fix tap device disappear after node restart 2018-03-13 09:57:04 +08:00
fake_share.py Add manage/unmanage of shares in DHSS=True 2019-03-05 16:03:29 -03:00
fake_utils.py Enable some off-by-default checks 2017-08-03 16:13:32 +08:00
fake_volume.py Trivial: Remove unused logging import 2015-12-28 21:44:26 -05:00
fake_zfssa.py Add share manage/unmanage of Oracle ZFSSA driver 2016-07-05 15:58:18 -04:00
policy.json [policy in code] Add support for share instance export location resource 2017-11-16 04:39:00 +00:00
runtime_conf.py Switch to using oslo_* instead of oslo.* 2015-01-27 09:19:50 +01:00
test_api.py Fix imports for py34 compatibility 2015-08-05 17:32:13 +03:00
test_conf.py Removed unnecessary setUp() calls in tests 2017-08-02 12:47:34 +00:00
test_context.py Remove unit test that is not relevant anymore 2017-01-28 12:02:24 +02:00
test_coordination.py coordination: use tooz builtin heartbeat feature 2017-05-17 10:38:53 +02:00
test_exception.py Add manage/unmanage of shares in DHSS=True 2019-03-05 16:03:29 -03:00
test_hacking.py Fix the duplicate hacking check M312 and H203 2017-08-13 08:01:42 +08:00
test_manager.py Use class name in invocation of super 2018-06-06 17:47:18 -07:00
test_misc.py Don't translate LOG messages in testsuite 2014-10-28 19:46:09 +01:00
test_network.py Add manage/unmanage of shares in DHSS=True 2019-03-05 16:03:29 -03:00
test_policy.py [policy in code] Add support for share instance export location resource 2017-11-16 04:39:00 +00:00
test_quota.py Use class name in invocation of super 2018-06-06 17:47:18 -07:00
test_rpc.py Removed unnecessary setUp() calls in tests 2017-08-02 12:47:34 +00:00
test_service.py Use class name in invocation of super 2018-06-06 17:47:18 -07:00
test_test.py Fix test_rpc_consumer_isolation for oslo.messaging 5.31.0 2017-09-08 16:22:45 -04:00
test_test_utils.py Remove vim headers 2014-10-06 15:00:27 +02:00
test_utils.py Fix sshpool.remove 2019-02-18 14:31:18 -08:00
utils.py NetApp cDOT: Add Intra-Vserver migration support 2017-01-21 13:06:30 -05:00