manila/manila/tests
Rodrigo Barbieri 53539c0e1d Share Migration Ocata Improvements
Implemented several improvements to share migration
according to spec [1].

Summary of changes:
- Snapshot restriction in API has been changed to return error only
when parameter force-host-assisted-migration is True
- Added preserve_snapshot to API and migration_check_compatibility
driver interface
- Changed all driver-assisted API parameters to be mandatory
- Added validation to prevent 'force_host_assisted_migration' to be
used alongside driver-assisted parameters
- Changed "same host" validation to reject only if the combination
of "host", "new_share_network" and "new_share_type" is the same as
the source
- Updated migration driver interfaces to support snapshots
- Updated zfsonlinux driver, defaulting preserve_snapshots to False
- Updated dummy driver to support preserve_snapshots

Spec update with latest changes since [1] merged
can be found in [2].

APIImpact
DocImpact

[1] I5717e902373d79ed0d55372afdedfaa98134c24e
[2] If02180ec3b5ae05c9ff18c9f5a054c33f13edcdf

Change-Id: I764b389816319ed0ac5178cadbf809cb632035b4
Partially-implements: blueprint ocata-migration-improvements
2017-01-20 09:45:14 -02:00
..
api Share Migration Ocata Improvements 2017-01-20 09:45:14 -02:00
cmd Tooz integration 2017-01-19 14:29:31 -05:00
common Fix keystone v3 issues for all clients 2016-03-18 14:42:33 +01:00
compute Add support of endpoint_type and region_name to clients manila uses 2016-11-02 18:14:04 +02:00
consistency_group Fix share server info in CGs created from CGs 2016-05-09 16:58:44 +00:00
data Refactor Access Rules APIs 2017-01-19 15:02:58 -05:00
db Refactor Access Rules APIs 2017-01-19 15:02:58 -05:00
integrated Replaces uuid.uuid4 with uuidutils.generate_uuid() 2016-11-14 10:51:24 -05:00
monkey_patch_example Removed ignored checks from tox.ini and fixed pep8 issues 2016-02-14 14:56:55 +02:00
network Remove NovaNetworkPlugin 2017-01-13 08:11:16 -05:00
scheduler Share Migration Ocata Improvements 2017-01-20 09:45:14 -02:00
share Share Migration Ocata Improvements 2017-01-20 09:45:14 -02:00
var Renamed cinder to manila. 2013-09-02 09:59:07 +03:00
volume Add support of endpoint_type and region_name to clients manila uses 2016-11-02 18:14:04 +02: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 Add Hitachi HSP driver 2016-08-16 08:44:27 -03:00
db_utils.py Refactor Access Rules APIs 2017-01-19 15:02:58 -05: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 hint how to configure fake_driver in manila-share 2016-05-12 06:32:23 +00:00
fake_network.py Replaces uuid.uuid4 with uuidutils.generate_uuid() 2016-11-14 10:51:24 -05:00
fake_notifier.py Drop use of 'oslo' namespace package 2015-04-29 16:51:33 +03:00
fake_service_instance.py Trivial: Remove unused logging import 2015-12-28 21:44:26 -05:00
fake_share.py Refactor Access Rules APIs 2017-01-19 15:02:58 -05:00
fake_utils.py Merge "replace string format arguments with function parameters" 2016-02-13 03:27:28 +00: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 Move Share Migration code to Data Service 2016-03-03 09:34:29 -03: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 Test: make enforce_type=True in CONF.set_override 2016-05-12 11:27:30 +05:30
test_context.py Remove warnings for dropped context arguments 2016-10-26 22:52:36 +02:00
test_coordination.py Tooz integration 2017-01-19 14:29:31 -05:00
test_exception.py Data Replication: Ensure Snapshots across replicas 2016-03-18 20:29:11 -04:00
test_hacking.py [hacking] Ensure not to use LOG.warn 2016-11-30 06:36:51 +00:00
test_manager.py Fix order of arguments in assertEqual 2015-09-29 10:50:02 +09:00
test_misc.py Don't translate LOG messages in testsuite 2014-10-28 19:46:09 +01:00
test_network.py Add admin network for DHSS=True share drivers 2016-02-16 20:57:03 +02:00
test_policy.py Test: make enforce_type=True in CONF.set_override 2016-05-12 11:27:30 +05:30
test_quota.py Fix context decorator usage in DB API 2016-05-12 12:34:28 +00:00
test_service.py remove default=None for config options 2015-11-08 20:12:25 +08:00
test_test.py Drop use of 'oslo' namespace package 2015-04-29 16:51:33 +03:00
test_test_utils.py Remove vim headers 2014-10-06 15:00:27 +02:00
test_utils.py Refactor Access Rules APIs 2017-01-19 15:02:58 -05:00
test_wsgi.py Merge "Modify use of assertTrue(A in B)" 2016-10-10 13:38:23 +00:00
utils.py Fix unstable DB migration tests 2016-03-10 22:03:16 +02:00