From fb1689e20ab9967a4c1e24279f5d4d736b256e83 Mon Sep 17 00:00:00 2001 From: Eshenko Dmitriy Date: Fri, 13 Sep 2019 18:54:30 +0300 Subject: [bonding] T1660 Adding additional check. Some bonding mode don't support arp_interval --- src/conf_mode/interface-bonding.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') 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 -- cgit v1.2.3