|
...
|
...
|
@@ -62,7 +62,9 @@ function neutron_plugin_configure_plugin_agent {
|
|
62
|
62
|
LB_INTERFACE_MAPPINGS=$PHYSICAL_NETWORK:$LB_PHYSICAL_INTERFACE
|
|
63
|
63
|
fi
|
|
64
|
64
|
if [[ "$PUBLIC_BRIDGE" != "" ]] && [[ "$PUBLIC_PHYSICAL_NETWORK" != "" ]]; then
|
|
65
|
|
- iniset /$Q_PLUGIN_CONF_FILE linux_bridge bridge_mappings "$PUBLIC_PHYSICAL_NETWORK:$PUBLIC_BRIDGE"
|
|
|
65
|
+ if is_service_enabled q-l3 || is_service_enabled neutron-l3; then
|
|
|
66
|
+ iniset /$Q_PLUGIN_CONF_FILE linux_bridge bridge_mappings "$PUBLIC_PHYSICAL_NETWORK:$PUBLIC_BRIDGE"
|
|
|
67
|
+ fi
|
|
66
|
68
|
fi
|
|
67
|
69
|
if [[ "$LB_INTERFACE_MAPPINGS" != "" ]]; then
|
|
68
|
70
|
iniset /$Q_PLUGIN_CONF_FILE linux_bridge physical_interface_mappings $LB_INTERFACE_MAPPINGS
|