This patch makes OVS and Linuxbridge interface drivers to set MTU on
plug() attempt if the device already exists. This helps when network MTU
changes (which happens after some configuration file changes).
This will allow to update MTU values on agent restart, without the need
to bind all ports to new nodes, that would involve migrating agents. It
will also help in case when you have no other nodes to migrate to (in
single node mode).
Both OVS and Linuxbridge interface drivers are updated.
Other drivers (in-tree IVS as well as 3party drivers) will use the
default set_mtu implementation, that only warns about the missing
feature (once per process startup).
DocImpact suggest to restart agents after MTU config changes instead of rewiring router/DHCP ports.
Reviewed: https:/ /review. openstack. org/405532 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=5c8dffa7fb6 c95a04a7b50c7d6 e63c9a2729231b
Committed: https:/
Submitter: Jenkins
Branch: master
commit 5c8dffa7fb6c95a 04a7b50c7d6e63c 9a2729231b
Author: Ihar Hrachyshka <email address hidden>
Date: Tue Nov 29 22:24:29 2016 +0000
Update MTU on existing devices
This patch makes OVS and Linuxbridge interface drivers to set MTU on
plug() attempt if the device already exists. This helps when network MTU
changes (which happens after some configuration file changes).
This will allow to update MTU values on agent restart, without the need
to bind all ports to new nodes, that would involve migrating agents. It
will also help in case when you have no other nodes to migrate to (in
single node mode).
Both OVS and Linuxbridge interface drivers are updated.
Other drivers (in-tree IVS as well as 3party drivers) will use the
default set_mtu implementation, that only warns about the missing
feature (once per process startup).
DocImpact suggest to restart agents after MTU config changes instead of
rewiring router/DHCP ports.
Related: If438e4816b425e 6c5021a55567dca aa77d1fffff 4910dda7a4fb498 b7987714be3 facec38f87114c2 ddf548f05f1
Related: If09eda334cddc7
Closes-Bug: #1649845
Change-Id: I3c6d6cb55c5808