]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Move queue_get_for() from db to rpc.
authorRussell Bryant <rbryant@redhat.com>
Tue, 29 May 2012 20:35:35 +0000 (16:35 -0400)
committerJenkins <jenkins@review.openstack.org>
Wed, 18 Jul 2012 17:27:56 +0000 (17:27 +0000)
commit22a9da3cc4b0cc17d8d3483b95dc57ed43bf0ecb
treeec3733d2983d5f61af6f5cd538ab0f4bf72b3190
parent14a30e0b829a24e21d9c547d2e3fd773b1eab675
Move queue_get_for() from db to rpc.

Part of blueprint common-rpc.

The function queue_get_for() is a utility function used by various
consumers of the rpc API.  This function lived in the db API, but never
ended up using anything from the database.  This patch moves it into the
rpc API so that it can be used by other users of rpc once it moves into
openstack-common.

Change-Id: If92675beecff5471b416a929c161b810e3c71939
Reviewed-on: https://review.openstack.org/9906
Reviewed-by: Vish Ishaya <vishvananda@gmail.com>
Approved: John Griffith <john.griffith@solidfire.com>
Tested-by: Jenkins
bin/cinder-manage
cinder/db/api.py
cinder/db/sqlalchemy/api.py
cinder/rpc/__init__.py
cinder/scheduler/driver.py
cinder/tests/scheduler/test_scheduler.py
cinder/volume/api.py