Skip to content

Commit f5d3bdb

Browse files
author
Ihar Hrachyshka
committed
Configure infrastructure MTU with global_physnet_mtu
The network_device_mtu option will be removed from Neutron in Newton. The global_physnet_mtu option was introduced in Mitaka. Before Mitaka, Neutron did not have any multinode jobs that would require setting the infrastructure MTU for inter-node connectivity. Change-Id: I337b284076a794027fbd63796119d56bd1923cf2 Related-Bug: #1603493
1 parent 0abeea1 commit f5d3bdb

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

devstack-vm-gate.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -568,7 +568,7 @@ EOF
568568
# ensure local.conf exists to remove conditional logic
569569
touch local.conf
570570
if [[ $DEVSTACK_GATE_NEUTRON -eq "1" ]]; then
571-
echo -e "[[post-config|\$NEUTRON_CONF]]\n[DEFAULT]\nnetwork_device_mtu=$EXTERNAL_BRIDGE_MTU" >> local.conf
571+
echo -e "[[post-config|\$NEUTRON_CONF]]\n[DEFAULT]\nglobal_physnet_mtu=$EXTERNAL_BRIDGE_MTU" >> local.conf
572572
fi
573573

574574
# get this in our base config
@@ -606,7 +606,7 @@ else
606606
# ensure local.conf exists to remove conditional logic
607607
touch local.conf
608608
if [[ $DEVSTACK_GATE_NEUTRON -eq "1" ]]; then
609-
echo -e "[[post-config|\$NEUTRON_CONF]]\n[DEFAULT]\nnetwork_device_mtu=$EXTERNAL_BRIDGE_MTU" >> local.conf
609+
echo -e "[[post-config|\$NEUTRON_CONF]]\n[DEFAULT]\nglobal_physnet_mtu=$EXTERNAL_BRIDGE_MTU" >> local.conf
610610
fi
611611
fi
612612

0 commit comments

Comments
 (0)