summaryrefslogtreecommitdiff
path: root/src/conf_mode
diff options
context:
space:
mode:
authorhagbard-01 <39653662+hagbard-01@users.noreply.github.com>2019-09-13 09:05:53 -0700
committerGitHub <noreply@github.com>2019-09-13 09:05:53 -0700
commit213213a4c0078bf349cac51d20aca2a32d2f038f (patch)
tree8ff5c9ba1f0858b5492d088ed68837ef4e9040d3 /src/conf_mode
parent5d432809cb44c49c5164f06f8795e9f7ed87854f (diff)
parentfb1689e20ab9967a4c1e24279f5d4d736b256e83 (diff)
downloadvyos-1x-213213a4c0078bf349cac51d20aca2a32d2f038f.tar.gz
vyos-1x-213213a4c0078bf349cac51d20aca2a32d2f038f.zip
Merge pull request #128 from DmitriyEshenko/patch-8
[bonding] T1660 Adding additional check. Some bonding mode don't supp…
Diffstat (limited to 'src/conf_mode')
-rwxr-xr-xsrc/conf_mode/interface-bonding.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/conf_mode/interface-bonding.py b/src/conf_mode/interface-bonding.py
index dc0363fb7..447debe0f 100755
--- a/src/conf_mode/interface-bonding.py
+++ b/src/conf_mode/interface-bonding.py
@@ -355,7 +355,8 @@ def apply(bond):
b.del_port(intf)
# ARP link monitoring frequency
- b.arp_interval = bond['arp_mon_intvl']
+ if bond['mode'] not in ['802.3ad', 'balance-tlb', 'balance-alb']:
+ b.arp_interval = bond['arp_mon_intvl']
# reset miimon on arp-montior deletion
if bond['arp_mon_intvl'] == 0:
# reset miimon to default