mirror of
https://github.com/CumulusNetworks/ifupdown2.git
synced 2024-05-06 15:54:50 +00:00
ifupdown2 needs to set fdelay before maxage in bridge mstpctl.py addon module
Ticket: CM-8725 Reviewed By: roopa Testing Done: tested with user's config on amd64 platform When setting mstpctl params from user given fdelay and maxage, ifreload and ifup is setting maxage before fdelay. Since there is a check for (Bridge Foward Delay - 1 second) >= Bridge Max Age fdelay must be set before maxage because the fdelay is a default value.
This commit is contained in:
@ -153,8 +153,8 @@ class mstpctl(moduleBase):
|
||||
# XXX: This can be encoded in the modules dict above
|
||||
_attrs_map = OrderedDict([('mstpctl-treeprio' , 'treeprio'),
|
||||
('mstpctl-ageing' , 'ageing'),
|
||||
('mstpctl-maxage' , 'maxage'),
|
||||
('mstpctl-fdelay' , 'fdelay'),
|
||||
('mstpctl-maxage' , 'maxage'),
|
||||
('mstpctl-maxhops' , 'maxhops'),
|
||||
('mstpctl-txholdcount' , 'txholdcount'),
|
||||
('mstpctl-forcevers', 'forcevers'),
|
||||
|
Reference in New Issue
Block a user