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

Disable old LACP bypass options

Ticket: CM-9266
Reviewed-by: trivial
Testing-done:

For now disable old LACP bypass options so that ifreload does
not give errors, as the corresponding sysfs nodes do not exist in
the latest 4.1.y kernel.
This commit is contained in:
wkok
2016-02-10 20:58:23 -08:00
parent 57eca61da5
commit a63b57d5a5

View File

@ -82,24 +82,24 @@ class bond(moduleBase):
{'help' : 'slave priority for lacp fall back',
'compat' : True,
'example' : ['bond-lacp-fallback-priority swp1=1 swp2=1 swp3=2']},
'bond-lacp-bypass-allow':
{'help' : 'allow lacp bypass',
'validvals' : ['0', '1'],
'default' : '0',
'example' : ['bond-lacp-bypass-allow 0']},
'bond-lacp-bypass-period':
{'help' : 'grace period (seconds) for lacp bypass',
'validrange' : ['0', '900'],
'default' : '0',
'example' : ['bond-lacp-bypass-period 100']},
'bond-lacp-bypass-priority':
{'help' : 'slave priority for lacp bypass',
'example' : ['bond-lacp-bypass-priority swp1=1 swp2=1 swp3=2']},
'bond-lacp-bypass-all-active':
{'help' : 'allow all slaves to be active in lacp bypass irrespective of priority',
'validvals' : ['0', '1'],
'default' : '0',
'example' : ['bond-lacp-bypass-all-active 1']},
#'bond-lacp-bypass-allow':
# {'help' : 'allow lacp bypass',
# 'validvals' : ['0', '1'],
# 'default' : '0',
# 'example' : ['bond-lacp-bypass-allow 0']},
#'bond-lacp-bypass-period':
# {'help' : 'grace period (seconds) for lacp bypass',
# 'validrange' : ['0', '900'],
# 'default' : '0',
# 'example' : ['bond-lacp-bypass-period 100']},
#'bond-lacp-bypass-priority':
# {'help' : 'slave priority for lacp bypass',
# 'example' : ['bond-lacp-bypass-priority swp1=1 swp2=1 swp3=2']},
#'bond-lacp-bypass-all-active':
# {'help' : 'allow all slaves to be active in lacp bypass irrespective of priority',
# 'validvals' : ['0', '1'],
# 'default' : '0',
# 'example' : ['bond-lacp-bypass-all-active 1']},
'bond-slaves' :
{'help' : 'bond slaves',
'required' : True,