diff options
author | Julia Kreger <juliaashleykreger@gmail.com> | 2019-09-21 17:16:58 -0700 |
---|---|---|
committer | Dmitry Tantsur <dtantsur@protonmail.com> | 2019-10-23 11:09:25 +0200 |
commit | 4dab3dde694da0f6327ec92e3e56e4f9d47ef54e (patch) | |
tree | 661dcfcaf47d7101e03f5a678e967a86dcf589aa /devstack/settings | |
parent | f7caa625c72801e3c2b53be9e7014ef3f968501f (diff) | |
download | ironic-4dab3dde694da0f6327ec92e3e56e4f9d47ef54e.tar.gz |
Change MTU logic to allow for lower MTUs automatically
Conflicts:
zuul.d/ironic-jobs.yaml
Change-Id: I40d357e716b589585493824cfd963fd5f579bd81
(cherry picked from commit cf074202e50426365c761326c8d2ccfcce4ad916)
Diffstat (limited to 'devstack/settings')
-rw-r--r-- | devstack/settings | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/devstack/settings b/devstack/settings index 9783efdd6..cafa85384 100644 --- a/devstack/settings +++ b/devstack/settings @@ -9,4 +9,8 @@ source $DEST/ironic/devstack/common_settings local_mtu=$(ip link show | sed -ne 's/.*mtu \([0-9]\+\).*/\1/p' | sort -n | head -1) # 50 bytes is overhead for vxlan (which is greater than GRE # allowing us to use either overlay option with this MTU. -PUBLIC_BRIDGE_MTU=${OVERRIDE_PUBLIC_BRIDGE_MTU:-$((local_mtu - 50))} +# However, if traffic is flowing over IPv6 tunnels, then +# The overhead is essentially another 100 bytes. In order to +# handle both cases, lets go ahead and drop the maximum by +# 100 bytes. +PUBLIC_BRIDGE_MTU=${OVERRIDE_PUBLIC_BRIDGE_MTU:-$((local_mtu - 100))} |