]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Add 'create_volume' to scheduler RPC API.
authorZhiteng Huang <zhiteng.huang@intel.com>
Thu, 4 Oct 2012 09:34:01 +0000 (17:34 +0800)
committerZhiteng Huang <zhiteng.huang@intel.com>
Mon, 5 Nov 2012 18:51:28 +0000 (02:51 +0800)
commit6602bbfc0854c4b014100c00e1b821f8a3190255
treedad5936c22e3e55cc9c3f9d5286b88210a494fa8
parent3e82bf10ea755e7120ef5934dc22a81b98cc781b
Add 'create_volume' to scheduler RPC API.

Instead of directly call RPC methods, 'create_volume' should be
implemented in scheduler RPC API in order to do versioning.

This increases scheduler RPC version to 1.1

Change-Id: I22d5a097ec3a73c3460f4acd35c602da57f8b52d
cinder/scheduler/manager.py
cinder/scheduler/rpcapi.py
cinder/tests/scheduler/test_rpcapi.py
cinder/volume/api.py