to enable l2gw services for integration project.
Change-Id: I71ca8d298b1b181ff7a1621587bd9168a318ecf3
Signed-off-by: abbas <abbas.pareedkunju@tcs.com>
public-physical-network: 'physnet1'
+ enable-networking-l2gw: 'no'
+
+ disable-odl-l3-service-plugin: 'no'
+
enable-openstack-services: 'q-svc,q-dhcp,q-meta,n-cauth,tempest'
disable-openstack-services: 'swift,cinder,n-net,q-vpn,n-cpu'
EOF
+if [ "${ENABLE_NETWORKING_L2GW}" == "yes" ]; then
+cat >> ${local_conf_file_name} << EOF
+
+enable_plugin networking-l2gw ${NETWORKING_L2GW_DRIVER} ${ODL_ML2_BRANCH}
+NETWORKING_L2GW_SERVICE_DRIVER=L2GW:OpenDaylight:networking_odl.l2gateway.driver.OpenDaylightL2gwDriver:default
+ENABLED_SERVICES+=,neutron,q-svc,nova,q-meta
+
+EOF
+fi
if [ "${ODL_ML2_DRIVER_VERSION}" == "v2" ]; then
echo "ODL_V2DRIVER=True" >> ${local_conf_file_name}
ODL_PROVIDER_MAPPINGS=${ODL_PROVIDER_MAPPINGS}
disable_service q-l3
-Q_L3_ENABLED=True
-ODL_L3=${ODL_L3}
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}
[[post-config|\$NEUTRON_CONF]]
[DEFAULT]
service_plugins = networking_odl.l3.l3_odl.OpenDaylightL3RouterPlugin
EOF
fi #check for ODL_ML2_BRANCH
+fi #check for DISABLE_ODL_L3_PLUGIN
fi #ODL_ENABLE_L3_FWD check
name: PUBLIC_PHYSICAL_NETWORK
default: '{public-physical-network}'
description: 'provider physical network used for flat/vlan networks'
+ - string:
+ name: ENABLE_NETWORKING_L2GW
+ default: '{enable-networking-l2gw}'
+ description: 'Enable networking L2gw'
+ - string:
+ 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'
scm:
- integration-gerrit-scm:
basedir: 'test'
name: PUBLIC_PHYSICAL_NETWORK
default: '{public-physical-network}'
description: 'provider physical network used for flat/vlan networks'
+ - string:
+ name: ENABLE_NETWORKING_L2GW
+ default: '{enable-networking-l2gw}'
+ description: 'Enable networking L2gw'
+ - string:
+ 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'
scm:
- integration-gerrit-scm:
basedir: 'test'
enable-haproxy: 'yes'
install-features: 'odl-jolokia,odl-netvirt-openstack'
- testplan: '{project}-{topology}-openstack.txt'
+ testplan: '{project}-{topology}-l2gw-openstack.txt'
functionality:
- upstream-transparent:
odl-enable-l3: 'yes'
+ enable-networking-l2gw: 'yes'
+
+ disable-odl-l3-service-plugin: 'yes'
+
public-bridge: 'br-physnet1'
public-physical-network: 'physnet1'
- enable-openstack-services: 'q-svc,q-dhcp,q-meta,n-cauth,tempest'
+ enable-openstack-services: 'q-svc,q-dhcp,q-meta,n-cauth,tempest,l2gw-plugin'
disable-openstack-services: 'swift,cinder,n-net,q-vpn,n-cpu'
public-physical-network: 'physnet1'
+ enable-networking-l2gw: 'no'
+
+ disable-odl-l3-service-plugin: 'no'
+
enable-openstack-services: 'q-svc,q-dhcp,q-meta,n-cauth,tempest'
disable-openstack-services: 'swift,cinder,n-net,q-vpn,n-cpu'
public-physical-network: 'physnet1'
+ enable-networking-l2gw: 'no'
+
+ disable-odl-l3-service-plugin: 'no'
+
enable-openstack-services: 'q-svc,q-dhcp,q-meta,n-cauth,tempest'
disable-openstack-services: 'swift,cinder,n-net,q-vpn,n-cpu'
email-recipients: 'jenkins@lists.opendaylight.org'
odl-ml2-driver-repo: 'https://github.com/openstack/networking-odl'
+ networking-l2gw-repo: 'http://git.openstack.org/openstack/networking-l2gw'
server-name: 'OpenDaylight'
git-url: 'ssh://jenkins-$SILO@git.opendaylight.org:29418'
public-physical-network: 'physnet1'
+ enable-networking-l2gw: 'no'
+
+ disable-odl-l3-service-plugin: 'no'
+
security-group-mode: 'none'
robot-options: ''