]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Update create_volume API to use versionedobjects
authorThang Pham <thang.g.pham@gmail.com>
Tue, 27 Oct 2015 22:38:54 +0000 (15:38 -0700)
committerThang Pham <thang.g.pham@gmail.com>
Thu, 12 Nov 2015 12:53:42 +0000 (04:53 -0800)
commit032032f0c329b4eddcbf2185399396ff4fd5f00d
tree76df24575c08eb52b7a19a400c58d13f587b5b6e
parent6a942ba647ee17893727e7b3c256ef067c9b5d5e
Update create_volume API to use versionedobjects

The following patch updates create_volume 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.

Co-Authored-By: Michal Dulko <michal.dulko@intel.com>
Change-Id: Ic1b0f09132f8fc500b29650abbd57f18ea8bd9dd
Partial-Implements: blueprint cinder-objects

Change-Id: Ief9c63e8bddb2b40bdef4465b9099cff33d7c3bc
22 files changed:
cinder/api/v1/volumes.py
cinder/api/v2/volumes.py
cinder/scheduler/driver.py
cinder/scheduler/flows/create_volume.py
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_rbd.py
cinder/tests/unit/test_storwize_svc.py
cinder/tests/unit/test_volume.py
cinder/tests/unit/test_volume_rpcapi.py
cinder/tests/unit/test_volume_transfer.py
cinder/tests/unit/utils.py
cinder/tests/unit/volume/flows/fake_volume_api.py
cinder/tests/unit/volume/flows/test_create_volume_flow.py
cinder/volume/api.py
cinder/volume/flows/api/create_volume.py
cinder/volume/flows/manager/create_volume.py
cinder/volume/manager.py
cinder/volume/rpcapi.py
tools/lintstack.py