Invoke create_nova_conf_neutron from odl-compute post-install

only if nova is enabled.

Change-Id: I4627ab97eccd7fd4a2ffc31b6a0bb939b2343659
This commit is contained in:
Flavio Fernandes 2014-06-16 00:36:03 -04:00
parent 906ffb7b77
commit 51783ccf38

View File

@ -40,7 +40,9 @@ if is_service_enabled odl-compute; then
elif [[ "$1" == "stack" && "$2" == "install" ]]; then
install_opendaylight-compute
elif [[ "$1" == "stack" && "$2" == "post-config" ]]; then
create_nova_conf_neutron
if is_service_enabled nova; then
create_nova_conf_neutron
fi
elif [[ "$1" == "stack" && "$2" == "extra" ]]; then
echo_summary "Initializing OpenDaylight"
ODL_LOCAL_IP=${ODL_LOCAL_IP:-$HOST_IP}