diff options
Diffstat (limited to 'docker')
| -rwxr-xr-x | docker/neutron/agents/linux-bridge/start.sh | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/docker/neutron/agents/linux-bridge/start.sh b/docker/neutron/agents/linux-bridge/start.sh index 727db24b5..1aeea4cf5 100755 --- a/docker/neutron/agents/linux-bridge/start.sh +++ b/docker/neutron/agents/linux-bridge/start.sh @@ -5,8 +5,8 @@ set -e . /opt/kolla/config-neutron.sh . /sudoers.sh -: ${BRIDGE_PHYSICAL_INTERFACE:=eth1} -: ${ML2_FLAT_NETWORK:=physnet1} +: ${NEUTRON_FLAT_NETWORK_NAME:=physnet1} +: ${NEUTRON_FLAT_NETWORK_INTERFACE:=eth1} check_required_vars PUBLIC_IP @@ -14,17 +14,13 @@ cfg=/etc/neutron/plugins/ml2/ml2_conf.ini # Configure ml2_conf.ini crudini --set $cfg \ - ml2_type_flat \ - flat_networks \ - "${ML2_FLAT_NETWORK}" -crudini --set $cfg \ vxlan \ local_ip \ "${PUBLIC_IP}" crudini --set $cfg \ linux_bridge \ physical_interface_mappings \ - "${ML2_FLAT_NETWORK}:${BRIDGE_PHYSICAL_INTERFACE}" + "${NEUTRON_FLAT_NETWORK_NAME}:${NEUTRON_FLAT_NETWORK_INTERFACE}" #Initialization scripts expect a symbolic link /usr/bin/ln -s /etc/neutron/plugins/ml2/ml2_conf.ini /etc/neutron/plugin.ini |
