diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-02-14 17:44:03 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-02-14 17:44:03 +0100 |
commit | bbeafa5ed417f25ecbbc3627a346cb9294d66c68 (patch) | |
tree | e105fdb1008306fcf41670b129f564724b811597 /data/templates/frr/bgp.frr.tmpl | |
parent | 97a901dce9be808e918a719b4298e201a9a98ceb (diff) | |
download | vyos-1x-bbeafa5ed417f25ecbbc3627a346cb9294d66c68.tar.gz vyos-1x-bbeafa5ed417f25ecbbc3627a346cb9294d66c68.zip |
bgp: T2315: add CLI options for addpath-tx-(all-paths|bestpath-per-AS)
* protocols bgp 65000 neighbor 192.0.2.1 address-family ipv4-unicast addpath-tx-all
* protocols bgp 65000 neighbor 192.0.2.1 address-family ipv4-unicast addpath-tx-per-as
* protocols bgp 65000 neighbor 2001:db8::1 address-family ipv6-unicast addpath-tx-all
* protocols bgp 65000 neighbor 2001:db8::1 address-family ipv6-unicast addpath-tx-per-as
Diffstat (limited to 'data/templates/frr/bgp.frr.tmpl')
-rw-r--r-- | data/templates/frr/bgp.frr.tmpl | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/data/templates/frr/bgp.frr.tmpl b/data/templates/frr/bgp.frr.tmpl index 56a54ef38..bb8131730 100644 --- a/data/templates/frr/bgp.frr.tmpl +++ b/data/templates/frr/bgp.frr.tmpl @@ -87,6 +87,12 @@ {% elif afi == 'l2vpn_evpn' %} address-family l2vpn evpn {% endif %} +{% if afi_config.addpath_tx_all is defined %} + neighbor {{ neighbor }} addpath-tx-all-paths +{% endif %} +{% if afi_config.addpath_tx_per_as is defined %} + neighbor {{ neighbor }} addpath-tx-bestpath-per-AS +{% endif %} {% if afi_config.allowas_in is defined and afi_config.allowas_in is not none %} neighbor {{ neighbor }} allowas-in {{ afi_config.allowas_in.number if afi_config.allowas_in.number is defined }} {% endif %} |