]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Add version to scheduler rpc API.
authorRussell Bryant <rbryant@redhat.com>
Wed, 16 May 2012 20:40:05 +0000 (16:40 -0400)
committerMark McLoughlin <markmc@redhat.com>
Thu, 19 Jul 2012 16:20:18 +0000 (17:20 +0100)
commit863b6afe12fb409f4866299bb7c975db7c2ad72e
treec3942122dae859ab4d473322829d27eab1d44c18
parentec6e9e4fde537eedb25946734b07297ba6c63c94
Add version to scheduler rpc API.

Part of blueprint versioned-rpc-apis.

One side effect of this change was that cinder.scheduler.api was removed
in favor of cinder.scheduler.rpcapi.  In this case, the api was just a
direct wrapper around rpc usage.  For other APIs, I've been following
the pattern that the rpcapi module provides the rpc client wrapper, and
if any other client-side logic is needed, that's where an api module is
used.

Change-Id: Ibd0292936f9afc77aeb5d040660bfa857861eed1
cinder/manager.py
cinder/scheduler/api.py [deleted file]
cinder/scheduler/manager.py
cinder/scheduler/rpcapi.py [new file with mode: 0644]
cinder/tests/scheduler/test_rpcapi.py [new file with mode: 0644]
cinder/tests/test_quota.py