From 86c36e073dd31cfee4b9c8e6cddacf8b1c7d19dc Mon Sep 17 00:00:00 2001 From: Mark McClain Date: Fri, 5 Oct 2012 15:51:19 -0400 Subject: [PATCH] Add control_exchange option to common/config.py fixes bug 1062517 Follows the instructions in the openstack/common/rpc/__init__.py and defines a control_exchange option. Change-Id: I92c50e1aea44954b2c9d62db1df536b9044b6951 --- quantum/common/config.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/quantum/common/config.py b/quantum/common/config.py index 1ca191aa9..3032c3322 100644 --- a/quantum/common/config.py +++ b/quantum/common/config.py @@ -50,7 +50,11 @@ core_opts = [ cfg.IntOpt('max_subnet_host_routes', default=20), cfg.StrOpt('state_path', default='.'), cfg.IntOpt('dhcp_lease_duration', default=120), - cfg.BoolOpt('allow_overlapping_ips', default=False) + cfg.BoolOpt('allow_overlapping_ips', default=False), + cfg.StrOpt('control_exchange', + default='quantum', + help='AMQP exchange to connect to if using RabbitMQ or Qpid') + ] # Register the configuration options -- 2.45.2