summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNataliia S. <81954790+natali-rs1985@users.noreply.github.com>2026-02-03 16:52:17 +0200
committerGitHub <noreply@github.com>2026-02-03 16:52:17 +0200
commita12905c3010520db3c1d7e652c90853940be5e75 (patch)
tree50c621bacd8cf9c70091e1c8c744eaa95691d090 /src
parente7b45505a57dbbc2ec4cab31156b4110dcb4f508 (diff)
parent5299c50f2e85c9e4c3cbf28ac9cf31cd7d10a896 (diff)
downloadvyos-1x-a12905c3010520db3c1d7e652c90853940be5e75.tar.gz
vyos-1x-a12905c3010520db3c1d7e652c90853940be5e75.zip
Merge pull request #4965 from natali-rs1985/T8207
vpp: T8207: Enable ip6-icmp-ra-punt feature on interfaces with DHCPv6 address configured
Diffstat (limited to 'src')
-rwxr-xr-xsrc/conf_mode/interfaces_ethernet.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/conf_mode/interfaces_ethernet.py b/src/conf_mode/interfaces_ethernet.py
index f01de48a1..554f0fa41 100755
--- a/src/conf_mode/interfaces_ethernet.py
+++ b/src/conf_mode/interfaces_ethernet.py
@@ -458,6 +458,14 @@ def apply(ethernet):
else:
vpp_api.disable_dhcp_client(ifname)
+ # Enable ip6-icmp-ra-punt feature for DHCPv6-configured interfaces.
+ if 'dhcpv6' in ethernet.get('address', []) or (
+ 'autoconf' in ethernet.get('ipv6', {}).get('address', {})
+ ):
+ vpp_api.enable_icmpv6_ra_punt(ifname)
+ else:
+ vpp_api.disable_icmpv6_ra_punt(ifname)
+
# If the interface is managed by the VPP DPDK driver, synchronize runtime
# parameters between Linux and the corresponding VPP LCP interface
# Find LCP pair