mirror of
https://github.com/CumulusNetworks/ifupdown2.git
synced 2024-05-06 15:54:50 +00:00
address: don't process_mtu for openvswitch interfaces
Openvswitch already manage mtu if ovs-mtu is defined. (Ovs manage mtu in userland, and sync mtu for some interfaces in kernel). If mtu is changed by address module, before the ovs userland mtu, this give packets drop.
This commit is contained in:
@@ -201,6 +201,9 @@ class openvswitch(Addon, moduleBase):
|
||||
self._ovs_vsctl(ifaceobj, [cmd])
|
||||
|
||||
def get_dependent_ifacenames (self, ifaceobj, ifaceobjs_all=None):
|
||||
if not self._is_ovs_bridge(ifaceobj):
|
||||
return None
|
||||
ifaceobj.link_privflags |= ifaceLinkPrivFlags.OPENVSWITCH
|
||||
return None
|
||||
|
||||
def _up (self, ifaceobj):
|
||||
|
Reference in New Issue
Block a user