From 76f0f9ae27a55deea9d50ae31619b6b2822bf5ea Mon Sep 17 00:00:00 2001 From: Dennis Mueller Date: Wed, 20 Jul 2016 13:57:33 +0200 Subject: [PATCH] Added ceilometer decision in neutron.conf for event notifications Changes the oslo_messaging_notifications driver of neutron if ceilometer is enabled Change-Id: I16667ceb6fe75aff7f324d342e5075e1b028c70e Closes-Bug: 1604793 --- ansible/roles/neutron/templates/neutron.conf.j2 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ansible/roles/neutron/templates/neutron.conf.j2 b/ansible/roles/neutron/templates/neutron.conf.j2 index d50ac538dc..f84226656e 100644 --- a/ansible/roles/neutron/templates/neutron.conf.j2 +++ b/ansible/roles/neutron/templates/neutron.conf.j2 @@ -82,4 +82,9 @@ memcached_servers = {% for host in groups['memcached'] %}{{ hostvars[host]['ansi [oslo_messaging_notifications] +{% if enable_ceilometer | bool %} +driver = messagingv2 +topics = notifications +{% else %} driver = noop +{% endif %}