PUBLIC_INTERFACE=br100
EOF
-if [ -z ${DISABLE_ODL_L3_PLUGIN} ] || [ "${DISABLE_ODL_L3_PLUGIN}" == "no" ]; then
if [ "${ODL_ML2_BRANCH}" == "stable/mitaka" ]; then
cat >> ${local_conf_file_name} << EOF
Q_L3_ENABLED=True
ODL_L3=${ODL_L3}
+
+EOF
+if [ "${ENABLE_NETWORKING_L2GW}" == "yes" ]; then
+cat >> ${local_conf_file_name} << EOF
[[post-config|\$NEUTRON_CONF]]
[DEFAULT]
-service_plugins = networking_odl.l3.l3_odl.OpenDaylightL3RouterPlugin
+service_plugins = networking_odl.l3.l3_odl.OpenDaylightL3RouterPlugin, networking_l2gw.services.l2gateway.plugin.L2GatewayPlugin
EOF
+else
+cat >> ${local_conf_file_name} << EOF
+[[post-config|\$NEUTRON_CONF]]
+[DEFAULT]
+service_plugins = networking_odl.l3.l3_odl.OpenDaylightL3RouterPlugin
+EOF
+fi #check for ENABLE_NETWORKING_L2GW
+
fi #check for ODL_ML2_BRANCH
-fi #check for DISABLE_ODL_L3_PLUGIN
fi #ODL_ENABLE_L3_FWD check
name: NETWORKING_L2GW_DRIVER
default: '{networking-l2gw-repo}'
description: 'URL to fetch networking-l2gw driver'
- - string:
- name: DISABLE_ODL_L3_PLUGIN
- default: '{disable-odl-l3-service-plugin}'
- description: 'Disable odl l3 service plugin'
- string:
name: CREATE_INITIAL_NETWORKS
default: '{create-initial-networks}'
name: NETWORKING_L2GW_DRIVER
default: '{networking-l2gw-repo}'
description: 'URL to fetch networking-l2gw driver'
- - string:
- name: DISABLE_ODL_L3_PLUGIN
- default: '{disable-odl-l3-service-plugin}'
- description: 'Disable odl l3 service plugin'
- string:
name: CREATE_INITIAL_NETWORKS
default: '{create-initial-networks}'
enable-networking-l2gw: 'yes'
- disable-odl-l3-service-plugin: 'yes'
-
enable-openstack-services: 'q-svc,q-dhcp,q-meta,n-cauth,tempest,l2gw-plugin'
security-group-mode: '{sg-mode}'
public-bridge: 'br-physnet1'
public-physical-network: 'physnet1'
odl-enable-l3: 'yes'
- disable-odl-l3-service-plugin: 'no'
odl-ml2-driver-version: 'v1'
odl-ml2-port-binding: 'network-topology'
enable-openstack-plugins: 'networking-odl'