Fix devstack's bash script, fix 2 logical expressions

Change-Id: I5b2a100d78edef8c0f14cc19a5185d6c65a094df
This commit is contained in:
Edan David 2017-07-16 02:33:54 -04:00
parent f45ec1941d
commit 7378c5f662
1 changed files with 2 additions and 2 deletions

View File

@ -58,14 +58,14 @@ function configure_neutron_ml2_mlnx {
iniset /$Q_PLUGIN_CONF_FILE eswitch physical_interface_mappings $PHYSICAL_INTERFACE_MAPPINGS
fi
iniset /$Q_PLUGIN_CONF_FILE securitygroup noop
if [[ $UPDATE_CLIENT_ID ]]; then
if [[ -n "${UPDATE_CLIENT_ID}" ]]; then
iniset /$NEUTRON_DCHP_CONF DEFAULT dhcp_broadcast_reply True
fi
fi
if is_service_enabled eswitchd; then
configure_eswitchd
fi
if is_service_enabled mlnx_dnsmasq && [[ ! $UPDATE_CLIENT_ID ]]; then
if is_service_enabled mlnx_dnsmasq && [[ -z "${UPDATE_CLIENT_ID}" ]]; then
configure_mlnx_dnsmasq
fi
}