]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Update migrate_volume API to use versionedobjects
authorThang Pham <thang.g.pham@gmail.com>
Tue, 29 Sep 2015 14:12:35 +0000 (07:12 -0700)
committerThang Pham <thang.g.pham@gmail.com>
Thu, 3 Dec 2015 16:27:16 +0000 (16:27 +0000)
commit12e4d9236d3ed74c8062abd11ce4fc834e5a8404
tree509e1d366bcc2d90f17a3c465af6405846a1754a
parent1b3a5ea89369c13047715cc18a77fcb69262463d
Update migrate_volume API to use versionedobjects

The following patch updates migrate_volume,
migrate_volume_completion, and update_migrated_volume
APIs to use volume versionedobjects.  Changes were
made to be backwards compatible with older RPC clients.
It only includes changes to the core cinder code.
Changes in the drivers are left to each driver
maintainer to update.

Note that this patch DOES NOT try to use object dot
notation everywhere, since it would increase the
size of the patch.  Instead, it will be done in
subsequent patches.

Change-Id: I21fe68193c934a7ef3688274ab35f664a08cac7e
Partial-Implements: blueprint cinder-objects
Closes-Bug: #1521085
cinder/scheduler/manager.py
cinder/scheduler/rpcapi.py
cinder/tests/unit/api/contrib/test_admin_actions.py
cinder/tests/unit/scheduler/test_rpcapi.py
cinder/tests/unit/test_volume.py
cinder/tests/unit/test_volume_rpcapi.py
cinder/volume/api.py
cinder/volume/manager.py
cinder/volume/rpcapi.py