manila/manila/tests/api/v2
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
..
__init__.py Add new URLs for APIs ported from extensions 2015-12-01 12:15:06 +02:00
test_availability_zones.py Modify use of assertTrue(A in B) 2016-09-20 09:11:20 +08:00
test_cgsnapshots.py Replaces uuid.uuid4 with uuidutils.generate_uuid() 2016-11-14 10:51:24 -05:00
test_consistency_groups.py Replaces uuid.uuid4 with uuidutils.generate_uuid() 2016-11-14 10:51:24 -05:00
test_quota_class_sets.py Add new URLs for APIs ported from extensions 2015-12-01 12:15:06 +02:00
test_quota_sets.py Add the ability to check the tenant quota in detail 2016-12-28 10:32:24 +08:00
test_services.py Add new URLs for APIs ported from extensions 2015-12-01 12:15:06 +02:00
test_share_export_locations.py Update export location retrieval APIs 2016-03-02 09:32:28 -05:00
test_share_instance_export_locations.py Update export location retrieval APIs 2016-03-02 09:32:28 -05:00
test_share_instances.py Allow share status reset to migration status 2016-12-28 20:26:00 +08:00
test_share_networks.py Remove NovaNetworkPlugin 2017-01-13 08:11:16 -05:00
test_share_replicas.py Add Replication admin APIs and driver i/f changes 2016-02-25 09:31:54 -05:00
test_share_snapshot_instances.py Add snapshot instances admin APIs 2016-07-29 11:21:35 +08:00
test_share_snapshots.py Add user_id and project_id to snapshot APIs 2016-06-16 18:38:15 -04:00
test_share_types.py Implement share revert to snapshot 2017-01-17 15:06:01 -05:00
test_shares.py Share Migration Ocata Improvements 2017-01-20 09:45:14 -02:00