diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-08-18 11:12:08 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-08-18 12:57:14 +0200 |
commit | 73c0e87109855f9b3372540b4ace03c6fb517c2a (patch) | |
tree | 1431a67fbd2df5fc6b8f24025eb0800304ca08c7 /data/templates | |
parent | 4058e389f1ca1398ad4fca790839c638a58f7aa3 (diff) | |
download | vyos-1x-73c0e87109855f9b3372540b4ace03c6fb517c2a.tar.gz vyos-1x-73c0e87109855f9b3372540b4ace03c6fb517c2a.zip |
bgp: T3759: add l3vpn "label vpn export" commands
Add the following new commands:
* set protocols bgp address-family ipv4-unicast label vpn export (auto | 0-1048575)
* set protocols bgp address-family ipv6-unicast label vpn export (auto | 0-1048575)
Diffstat (limited to 'data/templates')
-rw-r--r-- | data/templates/frr/bgpd.frr.tmpl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/data/templates/frr/bgpd.frr.tmpl b/data/templates/frr/bgpd.frr.tmpl index 2f2e94ce0..3ee6a5cb3 100644 --- a/data/templates/frr/bgpd.frr.tmpl +++ b/data/templates/frr/bgpd.frr.tmpl @@ -321,6 +321,9 @@ router bgp {{ local_as }} {{ 'vrf ' ~ vrf if vrf is defined and vrf is not none {% endfor %} {% endif %} {% endif %} +{% if afi_config.label is defined and afi_config.label.vpn is defined and afi_config.label.vpn.export is defined and afi_config.label.vpn.export is not none %} + label vpn export {{ afi_config.label.vpn.export }} +{% endif %} {% if afi_config.local_install is defined and afi_config.local_install is not none %} {% for interface in afi_config.local_install.interface %} local-install {{ interface }} |