fix L3 regression for new-netvirt CSIT with stable/mitaka 64/48164/3
authorTal Rosenzweig <tal.rosenzweig@hpe.com>
Wed, 9 Nov 2016 14:53:30 +0000 (16:53 +0200)
committerAlon Kochba <alonko@hpe.com>
Wed, 9 Nov 2016 15:16:04 +0000 (17:16 +0200)
Fix regression in CSIT, introduced by changes to devstack
local.conf [1] while adding networking-odl_v2 support.
The router still needs to be explicitly configured in
mitaka, in later versions it is automatically configured.

[1] https://git.opendaylight.org/gerrit/#/c/46871/

Change-Id: Id77a8e4fb6f3af57c6c5fd0ce094a6238cf5bfa2
Signed-off-by: Tal Rosenzweig <tal.rosenzweig@hpe.com>
jjb/integration/include-raw-integration-deploy-openstack-run-test.sh

index cf360572480d9e412a62d07435fb169b49b6d648..780df97688ce782cc2d65c828efd9b5456520b54 100644 (file)
@@ -65,6 +65,15 @@ ODL_MODE=externalodl
 LIBVIRT_TYPE=qemu
 
 EOF
+
+if [ "${ODL_ML2_BRANCH}" == "stable/mitaka" ]; then
+cat >> ${local_conf_file_name} << EOF
+[[post-config|\$NEUTRON_CONF]]
+[DEFAULT]
+service_plugins = networking_odl.l3.l3_odl.OpenDaylightL3RouterPlugin
+EOF
+fi
+
 if [ "${ODL_ML2_DRIVER_VERSION}" == "v2" ]; then
     echo "ODL_V2DRIVER=True" >> ${local_conf_file_name}
 fi