Skip to content

Commit

Permalink
Add control_exchange option to common/config.py
Browse files Browse the repository at this point in the history
fixes bug 1062517

Follows the instructions in the openstack/common/rpc/__init__.py and
defines a control_exchange option.

Change-Id: I92c50e1aea44954b2c9d62db1df536b9044b6951
  • Loading branch information
markmcclain committed Oct 5, 2012
1 parent 5ec843b commit 86c36e0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion quantum/common/config.py
Expand Up @@ -50,7 +50,11 @@
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
Expand Down

0 comments on commit 86c36e0

Please sign in to comment.