placement/nova
Russell Bryant aba878ca01 Refactor nova.rpc config handling.
This patch does a couple of things:

1) Remove the dependency of nova.rpc on nova.flags.  This is a step
toward decoupling nova.rpc from the rest of nova so that it can be moved
to openstack-common.

2) Refactor nova.rpc so that a configuration object is passed around as
needed instead of depending on nova.flags.FLAGS.

This was done by avoiding changing the nova.rpc API as much as possible
so that existing usage of nova.rpc would not have to be touched.  So,
instead, a config object gets registered, cached, and then passed into
the rpc implementations as needed.  Getting rid of this global config
reference in nova.rpc will require changing the public API and I wanted
to avoid doing that until there was a better reason than this.

Change-Id: I9a7fa67bd12ced877c83e48e31f5ef7263be6815
2012-04-25 17:04:30 -04:00
..
api/openstack/compute/contrib HACKING fixes, all but sqlalchemy. 2012-03-07 12:51:39 +04:00
CA some cleanup. VSA flag status changes. returned some files 2011-07-25 16:26:23 -07:00
compute blueprint host-aggregates: OSAPI/virt integration, via nova.compute.api 2012-01-25 17:09:54 +00:00
db Implement security group quotas. 2012-04-19 01:18:14 -07:00
testing Clear created attributes when tearing down tests 2012-03-07 15:52:40 +00:00
tests Refactor nova.rpc config handling. 2012-04-25 17:04:30 -04:00
test.py Run tools/hacking.py instead of pep8 mandatory. 2012-04-10 13:18:32 +04:00
utils.py Moves usage_from_instance into nova.compute.utils. 2012-04-20 04:09:08 +00:00