1
0
mirror of https://github.com/CumulusNetworks/ifupdown2.git synced 2024-05-06 15:54:50 +00:00

new ifupdown2.conf variable to adjust logical devices MTU

Ticket: CM-8736
Reviewed By: Roopa
Testing Done: Smoke tests + the ones from the ticket

By default ifupdown2 will adjust logical devices MTU
based on the physical interface they are running on top of.
set this flag to 0 to disable this behaviour
adjust_logical_dev_mtu=1
This commit is contained in:
Julien Fortin
2016-04-29 21:19:42 +02:00
parent eb3ce8c871
commit 9e0be374dc
6 changed files with 44 additions and 13 deletions

View File

@@ -1036,7 +1036,7 @@ class bridge(moduleBase):
try:
if ifaceobj.get_attr_value_first('bridge-vlan-aware') == 'yes':
if (bridge_just_created or
not self.ipcmd.bridge_is_vlan_aware(ifaceobj.name)):
not self.ipcmd.bridge_is_vlan_aware(ifaceobj.name)):
self.ipcmd.link_set(ifaceobj.name, 'vlan_filtering', '1',
False, "bridge")
if not bridge_just_created: