manila/manila/tests
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
..
api Share migration Newton improvements 2016-08-31 12:38:14 -03:00
cmd Test: make enforce_type=True in CONF.set_override 2016-05-12 11:27:30 +05:30
common Fix keystone v3 issues for all clients 2016-03-18 14:42:33 +01:00
compute service instance: also recognize instance name 2016-03-16 12:48:17 +01:00
consistency_group Fix share server info in CGs created from CGs 2016-05-09 16:58:44 +00:00
data Share migration Newton improvements 2016-08-31 12:38:14 -03:00
db add access_key to share_access_map 2016-08-22 20:41:19 +05:30
integrated replace string format arguments with function parameters 2016-02-12 23:07:50 +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 neutron driver for binding 2016-08-17 15:20:11 +02:00
scheduler Share migration Newton improvements 2016-08-31 12:38:14 -03:00
share Share migration Newton improvements 2016-08-31 12:38:14 -03:00
var Renamed cinder to manila. 2013-09-02 09:59:07 +03:00
volume Test: make enforce_type=True in CONF.set_override 2016-05-12 11:27:30 +05:30
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 Data Replication: Ensure Snapshots across replicas 2016-03-18 20:29:11 -04: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 Trivial: Remove unused logging import 2015-12-28 21:44:26 -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 Add snapshot instances admin APIs 2016-07-29 11:21:35 +08: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 Fix context warning spam of scheduler and share logs 2016-05-17 05:35:09 -04:00
test_exception.py Data Replication: Ensure Snapshots across replicas 2016-03-18 20:29:11 -04:00
test_hacking.py Do not supply logging arguments as tuple. 2016-06-09 17:22:36 -04: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_utils.py Remove vim headers 2014-10-06 15:00:27 +02:00
test_test.py Drop use of 'oslo' namespace package 2015-04-29 16:51:33 +03:00
test_utils.py Use is_valid_ipv4 and is_valid_ipv6 from oslo.utils 2016-06-10 22:53:25 +08:00
test_wsgi.py Set TCP keepalive options 2016-03-08 12:40:43 +01:00
utils.py Fix unstable DB migration tests 2016-03-10 22:03:16 +02:00