aboutsummaryrefslogtreecommitdiff
path: root/ansible/roles/neutron/templates
diff options
context:
space:
mode:
Diffstat (limited to 'ansible/roles/neutron/templates')
-rw-r--r--ansible/roles/neutron/templates/neutron.conf.j25
1 files changed, 3 insertions, 2 deletions
diff --git a/ansible/roles/neutron/templates/neutron.conf.j2 b/ansible/roles/neutron/templates/neutron.conf.j2
index 024ad09e6..472431e1b 100644
--- a/ansible/roles/neutron/templates/neutron.conf.j2
+++ b/ansible/roles/neutron/templates/neutron.conf.j2
@@ -91,9 +91,10 @@ memcached_servers = {% for host in groups['memcached'] %}{% if orchestration_eng
{% endif %}
[oslo_messaging_notifications]
-{% if enable_ceilometer | bool %}
+{% if enable_ceilometer | bool or enable_designate | bool %}
driver = messagingv2
-topics = notifications
+{% set topics=["notifications" if enable_ceilometer|bool else "", "notifications_designate" if enable_designate|bool else ""] %}
+topcis = {{ topics|reject("equalto", "")|list|join(",") }}
{% else %}
driver = noop
{% endif %}