]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Update retype API to use versionedobjects
authorThang Pham <thang.g.pham@gmail.com>
Sun, 27 Sep 2015 02:09:39 +0000 (19:09 -0700)
committerThang Pham <thang.g.pham@gmail.com>
Thu, 12 Nov 2015 12:55:52 +0000 (04:55 -0800)
commit8ae1483370d110fc0daf90da85d06103a15d00f4
tree3e63cbdbb64d1a83332f0441bd559c79b264d677
parentdabc7dedbb367b2eddf8db24bec6a91174d4245e
Update retype API to use versionedobjects

The following patch updates retype API 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: Ie79abf085349b496930fb75a76f299e65587ba6d
Partial-Implements: blueprint cinder-objects
cinder/scheduler/manager.py
cinder/scheduler/rpcapi.py
cinder/tests/unit/scheduler/test_rpcapi.py
cinder/tests/unit/scheduler/test_scheduler.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