From: Srinivas Rachakonda Date: Thu, 12 Jul 2018 07:53:14 +0000 (+0530) Subject: enable driver_type gre and ml2_gre X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F67%2F73967%2F24;p=releng%2Fbuilder.git enable driver_type gre and ml2_gre Change-Id: I90e1818115b1ec8cbbb13a4c1cd12ca1f8014545 Signed-off-by: Srinivas Rachakonda --- diff --git a/jjb/defaults.yaml b/jjb/defaults.yaml index d63f8986b..27e67e78f 100644 --- a/jjb/defaults.yaml +++ b/jjb/defaults.yaml @@ -56,6 +56,7 @@ enable-openstack-services: '' enable-openstack-compute-services: '' enable-openstack-network-services: 'neutron,neutron-api,neutron-dhcp,neutron-metadata-agent' + enable-gre-type-driver: 'no' ipsec-vxlan-tunnels-enabled: 'no' lbaas-service-provider: '' num-openstack-sites: 1 diff --git a/jjb/integration/integration-deploy-openstack-run-test.sh b/jjb/integration/integration-deploy-openstack-run-test.sh index ab62ce905..fd6cccd34 100644 --- a/jjb/integration/integration-deploy-openstack-run-test.sh +++ b/jjb/integration/integration-deploy-openstack-run-test.sh @@ -318,7 +318,13 @@ minimize_polling=True physical_network_mtus = ${PUBLIC_PHYSICAL_NETWORK}:1400 path_mtu = 1458 EOF - + if [ "${ENABLE_GRE_TYPE_DRIVERS}" == "yes" ]; then + cat >> ${local_conf_file_name} << EOF +type_drivers = local,flat,vlan,gre,vxlan +[ml2_type_gre] +tunnel_id_ranges = 1:1000 +EOF + fi if [ "${ENABLE_NETWORKING_L2GW}" == "yes" ]; then cat >> ${local_conf_file_name} << EOF diff --git a/jjb/integration/integration-templates.yaml b/jjb/integration/integration-templates.yaml index 7ad19c5e7..2d5752e38 100644 --- a/jjb/integration/integration-templates.yaml +++ b/jjb/integration/integration-templates.yaml @@ -1117,6 +1117,10 @@ default: '{odl-ml2-port-binding}' description: 'Method of networking-odl port-binding (pseudo-agentdb-binding or legacy-port-binding or network-topology)' + - string: + name: ENABLE_GRE_TYPE_DRIVERS + default: '{enable-gre-type-driver}' + description: 'Enable gre tunnel' - string: name: DEVSTACK_KUBERNETES_PLUGIN_REPO default: '{devstack-kubernetes-plugin-repo}'