summaryrefslogtreecommitdiff
path: root/src/conf_mode/interfaces_bonding.py
diff options
context:
space:
mode:
authorNataliia S. <81954790+natali-rs1985@users.noreply.github.com>2025-11-13 16:46:19 +0200
committerGitHub <noreply@github.com>2025-11-13 16:46:19 +0200
commit23e61833f4ac2a0dce040520c1324bab8c025209 (patch)
treec89d6f2d0e86740379f2be7dd122d42d8f83896d /src/conf_mode/interfaces_bonding.py
parent99274f653d9973d83e56b158305d359ae2b74826 (diff)
parentccf4972f8dd9ddf370fe6376480c1244a138c4bd (diff)
downloadvyos-1x-23e61833f4ac2a0dce040520c1324bab8c025209.tar.gz
vyos-1x-23e61833f4ac2a0dce040520c1324bab8c025209.zip
Merge pull request #4835 from natali-rs1985/T7731
T7731: Static ARP entries are missing after an interface status change
Diffstat (limited to 'src/conf_mode/interfaces_bonding.py')
-rwxr-xr-xsrc/conf_mode/interfaces_bonding.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/conf_mode/interfaces_bonding.py b/src/conf_mode/interfaces_bonding.py
index 4a2317f85..68c2885bc 100755
--- a/src/conf_mode/interfaces_bonding.py
+++ b/src/conf_mode/interfaces_bonding.py
@@ -175,6 +175,10 @@ def get_config(config=None):
tmp = has_vrf_configured(conf, interface)
if tmp: bond['member']['interface'][interface].update({'has_vrf' : ''})
+ # Protocols static arp dependency
+ if 'static_arp' in bond:
+ set_dependents('static_arp', conf)
+
return bond
@@ -279,7 +283,7 @@ def apply(bond):
else:
b.update(bond)
- if dict_search('member.interface_remove', bond):
+ if dict_search('member.interface_remove', bond) or 'static_arp' in bond:
try:
call_dependents()
except ConfigError: