cinder/cinder/tests/unit/db
Vincent Hou 474f70e9ed Implement the update_migrated_volume for the drivers
This patch implements update_migrated_volume for LVM, Storwize
and updates Dell, StorPool and Infortrend drivers accordingly. It
makes sure that after a successful volume migration, the cinder
volume name(id) is the same as the backend volume name(id). Other
back-end drivers can take this patch as a reference to implement
update_migrated_volume.

PS: Not applicable to multi-attached volumes, since we need to wait
until the multi-attach lands in Nova.

This patch also adds a unit test for the StorPool driver's
update_migrated_volume() implementation.

Co-Authored-By: Peter Penchev <openstack-dev@storpool.com>
Change-Id: I69707340ddf2b55286ff0d84319529b2f502cefa
Partial-Bug: #1450649
2015-07-02 22:14:55 +08:00
..
__init__.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
fakes.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_finish_migration.py Implement the update_migrated_volume for the drivers 2015-07-02 22:14:55 +08:00
test_name_id.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_purge.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_qos_specs.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_transfers.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00