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

@@ -96,7 +96,7 @@ class brctl(utilsBase):
##battrs['mcsnoop'] = broutlines[12].split('mc snooping')[1].strip()
#battrs['mclmt'] = broutlines[13].split('mc last member timer')[1].split()[0].strip()
except Exception, e:
self.logger.warn(str(e))
self.logger.warn('%s: error while processing bridge attributes: %s' % (bridgename, str(e)))
pass
linkCache.update_attrdict([bridgename, 'linkinfo'], battrs)
@@ -121,8 +121,7 @@ class brctl(utilsBase):
#bportattrs['mcrouters'] = bplines[6].split('mc router')[1].split()[0].strip()
#bportattrs['mc fast leave'] = bplines[6].split('mc fast leave')[1].strip()
except Exception, e:
self.logger.warn(str(e))
pass
self.logger.warn('%s: error while processing bridge attributes: %s' % (bridgename, str(e)))
bports[pname] = bportattrs
linkCache.update_attrdict([bridgename, 'linkinfo', 'ports'], bports)