From 42d6a8cd500b2a92e9dbe0e868b84f4b55b1e02b Mon Sep 17 00:00:00 2001 From: Christian Breunig Date: Sun, 14 Jan 2024 11:36:31 +0100 Subject: bgp: T591: add VPN nexthop support per address-family set protocols bgp address-family ipv4-unicast nexthop vpn export set protocols bgp address-family ipv6-unicast nexthop vpn export (cherry picked from commit 7349927908206fa83a7295d643f56950309efb4f) --- data/templates/frr/bgpd.frr.j2 | 3 +++ 1 file changed, 3 insertions(+) (limited to 'data/templates') diff --git a/data/templates/frr/bgpd.frr.j2 b/data/templates/frr/bgpd.frr.j2 index f3ae56903..e02fdd1bb 100644 --- a/data/templates/frr/bgpd.frr.j2 +++ b/data/templates/frr/bgpd.frr.j2 @@ -402,6 +402,9 @@ router bgp {{ system_as }} {{ 'vrf ' ~ vrf if vrf is vyos_defined }} {% if afi_config.flooding.head_end_replication is vyos_defined %} flooding head-end-replication {% endif %} +{% if afi_config.nexthop.vpn.export is vyos_defined %} + nexthop vpn export {{ afi_config.nexthop.vpn.export }} +{% endif %} {% if afi_config.rd.vpn.export is vyos_defined %} rd vpn export {{ afi_config.rd.vpn.export }} {% endif %} -- cgit v1.2.3