diff options
author | Christian Breunig <christian@breunig.cc> | 2024-01-14 12:33:07 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-14 12:33:07 +0100 |
commit | 2db98a47a066e53972c3c7727a4618ef72a91951 (patch) | |
tree | e5ccd4336c67d9a37c599785d71bc72e705a14bd /data | |
parent | 9b866fdb970aae782cf0a5d55d7117450e0c37eb (diff) | |
parent | 7349927908206fa83a7295d643f56950309efb4f (diff) | |
download | vyos-1x-2db98a47a066e53972c3c7727a4618ef72a91951.tar.gz vyos-1x-2db98a47a066e53972c3c7727a4618ef72a91951.zip |
Merge pull request #2819 from c-po/T591-srv6-bgp-improvements
bgp: T591: SRv6 improvements
Diffstat (limited to 'data')
-rw-r--r-- | data/templates/frr/bgpd.frr.j2 | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/data/templates/frr/bgpd.frr.j2 b/data/templates/frr/bgpd.frr.j2 index 679ba8b04..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 %} @@ -436,6 +439,9 @@ router bgp {{ system_as }} {{ 'vrf ' ~ vrf if vrf is vyos_defined }} {% if afi_config.route_map.vpn.import is vyos_defined %} route-map vpn import {{ afi_config.route_map.vpn.import }} {% endif %} +{% if afi_config.sid.vpn.export is vyos_defined %} + sid vpn export {{ afi_config.sid.vpn.export }} +{% endif %} {% if afi_config.vni is vyos_defined %} {% for vni, vni_config in afi_config.vni.items() %} vni {{ vni }} |