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
This commit is contained in:
Dina Belova 2014-07-11 18:18:12 +04:00
parent fdf1cffbd5
commit 58adaa6b75

View File

@ -296,6 +296,9 @@ function configure_neutron {
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_metadata_agent {
}
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