Initialize the control_exchange setting

The definition of the control_exchange option
was commented out in openstack.common.rpc because
each application needs to set its own default.
Adding the value here puts ceilometer on the
"ceilometer" exchange, just as the other OpenStack
projects are on their own project-specific exchange.

Change-Id: If420422f0c65f6c579827c59504c936bc7c926a8
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
This commit is contained in:
Doug Hellmann 2012-10-07 18:26:00 -04:00
parent 262ef977c4
commit 3bce0da4cd

View File

@ -30,6 +30,9 @@ PUBLISH_OPTS = [
default='metering',
help='the topic ceilometer uses for metering messages',
),
cfg.StrOpt('control_exchange',
default='ceilometer',
help='AMQP exchange to connect to if using RabbitMQ or Qpid'),
]