]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Volume RPC API Versioning
authorZhiteng Huang <zhiteng.huang@intel.com>
Fri, 9 Nov 2012 17:32:22 +0000 (01:32 +0800)
committerZhiteng Huang <zhiteng.huang@intel.com>
Thu, 15 Nov 2012 15:50:45 +0000 (23:50 +0800)
commit2940ce438f76dba20ff45095c90f0a29292c827c
treea4c136873ba9126b0882f81b3c91d6d9186c72d9
parent4206f0db05fc5ea70cb05bcd46bafbd14c26cce7
Volume RPC API Versioning

Add versioning to Volume Rpc API version.  This is initial version
1.0, which is compatible with previous non-versioned RPC API.

Note: this patch slightly change the db.volume_update() behavior,
which now returns updated volume info.

Change-Id: I78036b6ed97c5bc369d8c85307ecaaad8e31ff90
cinder/db/sqlalchemy/api.py
cinder/scheduler/chance.py
cinder/scheduler/driver.py
cinder/scheduler/simple.py
cinder/tests/scheduler/test_scheduler.py
cinder/tests/test_volume_rpcapi.py [new file with mode: 0644]
cinder/volume/api.py
cinder/volume/manager.py
cinder/volume/rpcapi.py [new file with mode: 0644]