Skip to content

Commit 5df5bd6

Browse files
Jenkinsopenstack-gerrit
authored andcommitted
Merge "Neutron: MTU settings are now sane, so remove from DevStack"
2 parents 7124b21 + 087ed52 commit 5df5bd6

2 files changed

Lines changed: 9 additions & 16 deletions

File tree

doc/source/guides/neutron.rst

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -455,13 +455,18 @@ Miscellaneous Tips
455455
Non-Standard MTU on the Physical Network
456456
----------------------------------------
457457

458-
DevStack defaults to assume that the MTU on the physical network
459-
is 1500. A different MTU can be specified by adding the following to
460-
the `localrc` part of `local.conf` on each machine.
458+
Neutron by default uses a MTU of 1500 bytes, which is
459+
the standard MTU for Ethernet.
460+
461+
A different MTU can be specified by adding the following to
462+
the Neutron section of `local.conf`. For example,
463+
if you have network equipment that supports jumbo frames, you could
464+
set the MTU to 9000 bytes by adding the following
461465

462466
::
463467

464-
Q_ML2_PLUGIN_PATH_MTU=1500
468+
[[post-config|/$Q_PLUGIN_CONF_FILE]]
469+
global_physnet_mtu = 9000
465470

466471

467472
Disabling Next Generation Firewall Tools

lib/neutron_plugins/ml2

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,6 @@ Q_ML2_PLUGIN_EXT_DRIVERS=${Q_ML2_PLUGIN_EXT_DRIVERS-port_security}
4040
# L3 Plugin to load for ML2
4141
ML2_L3_PLUGIN=${ML2_L3_PLUGIN:-neutron.services.l3_router.l3_router_plugin.L3RouterPlugin}
4242

43-
# Underlying path MTU for physical network managing br-tun; use '-' instead of
44-
# ':-' to allow people to explicitly override this to blank, to disable
45-
# automatic MTU calculation for tunnelled tenant networks
46-
Q_ML2_PLUGIN_PATH_MTU=${Q_ML2_PLUGIN_PATH_MTU-1500}
47-
48-
4943
function populate_ml2_config {
5044
CONF=$1
5145
SECTION=$2
@@ -83,12 +77,6 @@ function neutron_plugin_configure_service {
8377
echo "WARNING - The ml2 plugin is using local tenant networks, with no connectivity between hosts."
8478
fi
8579

86-
# Enable ml2 mtu calculation mechanism for networks by providing path mtu
87-
# value for physical devices that are used for br-tun traffic
88-
if [[ "$ENABLE_TENANT_TUNNELS" == "True" ]] && [[ "$Q_ML2_PLUGIN_PATH_MTU" != "" ]]; then
89-
iniset /$Q_PLUGIN_CONF_FILE ml2 path_mtu "$Q_ML2_PLUGIN_PATH_MTU"
90-
fi
91-
9280
# Allow for overrding VLAN configuration (for example, to configure provider
9381
# VLANs) by first checking if Q_ML2_PLUGIN_VLAN_TYPE_OPTIONS is set.
9482
if [ "$Q_ML2_PLUGIN_VLAN_TYPE_OPTIONS" == "" ]; then

0 commit comments

Comments
 (0)