diff options
author | Christian Breunig <christian@breunig.cc> | 2023-08-17 12:13:26 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-17 12:13:26 +0200 |
commit | d4e9652083ce5fc0dda9a2714231cdffe58b33f3 (patch) | |
tree | da2965221346c1c0b820f698764eb3052ab29190 /data/templates/frr | |
parent | 65ea7cef9fe922581e286bc539c4dc1e223c9d32 (diff) | |
parent | 77ef9f800421d65f90f953ca4d75d0f996ed2e3d (diff) | |
download | vyos-1x-d4e9652083ce5fc0dda9a2714231cdffe58b33f3.tar.gz vyos-1x-d4e9652083ce5fc0dda9a2714231cdffe58b33f3.zip |
Merge pull request #2152 from fett0/T5466
T5466: L3VPN label allocation mode
Diffstat (limited to 'data/templates/frr')
-rw-r--r-- | data/templates/frr/bgpd.frr.j2 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/data/templates/frr/bgpd.frr.j2 b/data/templates/frr/bgpd.frr.j2 index 4535758da..a41f4e280 100644 --- a/data/templates/frr/bgpd.frr.j2 +++ b/data/templates/frr/bgpd.frr.j2 @@ -349,6 +349,9 @@ router bgp {{ system_as }} {{ 'vrf ' ~ vrf if vrf is vyos_defined }} {% if afi_config.label.vpn.export is vyos_defined %} label vpn export {{ afi_config.label.vpn.export }} {% endif %} +{% if afi_config.label.vpn.allocation_mode.per_nexhop is vyos_defined %} + label vpn export allocation-mode per-nexthop +{% endif %} {% if afi_config.local_install is vyos_defined %} {% for interface in afi_config.local_install.interface %} local-install {{ interface }} |