Add VLAN private network support to devstack 05/49905/2
authorAlon Kochba <alonko@hpe.com>
Sun, 1 Jan 2017 15:23:12 +0000 (17:23 +0200)
committerRevital Aronis <revital.aronis@hpe.com>
Wed, 18 Jan 2017 14:07:30 +0000 (16:07 +0200)
Add ML2_VLAN_RANGES configuration to devstack local.conf,
to support configuration of any VLAN networks using the
physical_network physnet1.

Change-Id: I03c637f529763e36046d45e26cd528d4b1d7776d
Signed-off-by: Alon Kochba <alonko@hpe.com>
jjb/integration/include-raw-integration-deploy-openstack-run-test.sh

index b795d05156e263424369439b7bee44932362ce7c..b7c88dae6ea4393dc3bbd739bd3e7754b0d3bcdf 100644 (file)
@@ -125,6 +125,7 @@ if [ "${ODL_ENABLE_L3_FWD}" == "yes" ]; then
 cat >> ${local_conf_file_name} << EOF
 PUBLIC_BRIDGE=${PUBLIC_BRIDGE}
 PUBLIC_PHYSICAL_NETWORK=physnet1 # FIXME this should be a parameter
+ML2_VLAN_RANGES=physnet1
 ODL_PROVIDER_MAPPINGS=${ODL_PROVIDER_MAPPINGS}
 
 disable_service q-l3
@@ -149,6 +150,11 @@ cat >> ${local_conf_file_name} << EOF
 [agent]
 minimize_polling=True
 
+[ml2]
+# Needed for VLAN provider tests - because our provider networks are always encapsulated in VXLAN (br-physnet1)
+# MTU(1440) + VXLAN(50) + VLAN(4) = 1494 < MTU eth0/br-phynset1(1500)
+physical_network_mtus = physnet1:1440
+
 [[post-config|/etc/neutron/dhcp_agent.ini]]
 [DEFAULT]
 force_metadata = True