manila/manila/tests/api
Rodrigo Barbieri 9639e72692 Share migration Newton improvements
At Austin 2016 summit there were several improvements to
Share migration feature discussed. This patch implements
these changes.

Changes are:
- Added 'Writable' API parameter: user chooses whether share must
remain writable during migration.
- Added 'Preserve Metadata' API parameter: user chooses whether
share must preserve all file metadata on migration.
- Added 'Non-disruptive' API parameter: user chooses whether
migration of share must be performed non-disruptively.
- Removed existing 'Notify', thus removing 1-phase migration
possibility.
- Renamed existing 'Force Host Copy' parameter to 'Force
Host-assisted Migration'.
- Renamed all 'migration_info' and 'migration_get_info' entries to
'connection_info' and 'connection_get_info'.
- Updated driver interfaces with the new API parameters, drivers
must respect them.
- Changed share/api => scheduler RPCAPI back to asynchronous.
- Added optional SHA-256 validation to perform additional check if
bytes were corrupted during copying.
- Added mount options configuration to Data Service so CIFS shares
can be mounted.
- Driver may override _get_access_mapping if supports a different
access_type/protocol combination than what is defined by default.
- Added CIFS share protocol support and 'user' access type
support to Data Service.
- Reset Task State API now allows task_state to be unset using
'None' value.
- Added possibility to change share-network when migrating a share.
- Bumped microversion to 2.22.
- Removed support of all previous versions of Share Migration APIs.

APIImpact
DocImpact

Implements: blueprint newton-migration-improvements
Change-Id: Ief49a46c86ed3c22d3b31021aff86a9ce0ecbe3b
2016-08-31 12:38:14 -03:00
..
contrib Data Replication: Ensure Snapshots across replicas 2016-03-18 20:29:11 -04:00
extensions Remove vim headers 2014-10-06 15:00:27 +02:00
middleware Fix order of arguments in assertEqual 2015-09-29 19:56:49 +09:00
openstack Removed ignored checks from tox.ini and fixed pep8 issues 2016-02-14 14:56:55 +02:00
v1 add access_key to share_access_map 2016-08-22 20:41:19 +05:30
v2 Share migration Newton improvements 2016-08-31 12:38:14 -03:00
views add access_key to share_access_map 2016-08-22 20:41:19 +05:30
__init__.py pep8: Enable H303 and F403 2014-08-23 10:40:52 +02:00
common.py Remove vim headers 2014-10-06 15:00:27 +02:00
fakes.py Pass context down to ViewBuilder method 2016-06-08 10:48:37 -04:00
test_common.py Pass context down to ViewBuilder method 2016-06-08 10:48:37 -04:00
test_extensions.py Fix order of arguments in assertEqual 2015-09-29 19:56:49 +09:00
test_middleware.py Added CORS support to Manila 2015-11-11 10:10:58 -08:00
test_versions.py Clean up removed hacking rule from [flake8] ignore lists 2016-01-14 23:27:17 +08:00
test_wsgi.py Fix order of arguments in assertEqual 2015-09-29 19:56:49 +09:00