Fix Neutron configuration if Ceilometer is enabled
Previously if Ceilometer service was enabled,
configuration option to enable Neutron network
notifications was not set. This fixes it.
Change-Id: Ia53d9db1828ef2daa0ce637b2a2635795856502c
Closes-Bug: #1340754
diff --git a/lib/neutron b/lib/neutron
index 6039872..4ab0269 100644
--- a/lib/neutron
+++ b/lib/neutron
@@ -296,6 +296,9 @@
if is_service_enabled q-meta; then
_configure_neutron_metadata_agent
fi
+ if is_service_enabled ceilometer; then
+ _configure_neutron_ceilometer_notifications
+ fi
_configure_neutron_debug_command
}
@@ -722,6 +725,10 @@
}
+function _configure_neutron_ceilometer_notifications {
+ iniset $NEUTRON_CONF DEFAULT notification_driver neutron.openstack.common.notifier.rpc_notifier
+}
+
function _configure_neutron_lbaas {
neutron_agent_lbaas_configure_common
neutron_agent_lbaas_configure_agent