Rely on namespaced vars for rabbitmq

The namespaced vars already exist and should be used.

Further, doing so provides additional deployment flexibility
so that we may support multi-RabbitMQ cluster environments.

Change-Id: I3a481f523beea3029b392be88199b07d932edef0
This commit is contained in:
Travis Truman 2016-07-08 16:33:12 -04:00
parent d7ccb4687a
commit c2f95902f3
2 changed files with 6 additions and 3 deletions

View File

@ -180,12 +180,12 @@ root_helper = sudo {{ neutron_bin }}/neutron-rootwrap /etc/neutron/rootwrap.conf
# Messaging service
[oslo_messaging_rabbit]
rabbit_port = {{ rabbitmq_port }}
rabbit_port = {{ neutron_rabbitmq_port }}
rabbit_userid = {{ neutron_rabbitmq_userid }}
rabbit_password = {{ neutron_rabbitmq_password }}
rabbit_virtual_host = {{ neutron_rabbitmq_vhost }}
rabbit_hosts = {{ rabbitmq_servers }}
rabbit_use_ssl = {{ rabbitmq_use_ssl }}
rabbit_hosts = {{ neutron_rabbitmq_servers }}
rabbit_use_ssl = {{ neutron_rabbitmq_use_ssl }}
# Concurrency (locking mechanisms)
[oslo_concurrency]

View File

@ -43,6 +43,9 @@ neutron_provider_networks:
neutron_rabbitmq_password: secrete
neutron_rabbitmq_userid: neutron
neutron_rabbitmq_vhost: /neutron
neutron_rabbitmq_port: 5671
neutron_rabbitmq_servers: 10.100.100.2
neutron_rabbitmq_use_ssl: true
neutron_requirements_git_install_branch: master
neutron_service_password: secrete
neutron_venv_tag: testing