Merge "enable driver_type gre and ml2_gre"
[releng/builder.git] / jjb / integration / integration-deploy-openstack-run-test.sh
index dc09fba4ce0cfcc3cdda2aa2affc967058bb6509..7b7c12360c9e1e15c036ce824d650b6df42a02bb 100644 (file)
@@ -317,7 +317,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