diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-03-07 21:49:50 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-03-07 21:49:50 +0100 |
commit | 87bbe75152e3e0625776587c1fd4cd7104319fe1 (patch) | |
tree | 7259806059cb0a9f574dffa2123faac209a5dcf3 /data/templates | |
parent | dd35eb76153191bc487e3ea23c3e73c753ec1d4b (diff) | |
download | vyos-1x-87bbe75152e3e0625776587c1fd4cd7104319fe1.tar.gz vyos-1x-87bbe75152e3e0625776587c1fd4cd7104319fe1.zip |
bgp: T3391: add per AFI maximum-paths support
* set protocols bgp ASN address-family ipv4-unicast maximum-paths
* set protocols bgp ASN address-family ipv4-unicast maximum-paths-ibgp
* set protocols bgp ASN address-family ipv6-unicast maximum-paths
* set protocols bgp ASN address-family ipv6-unicast maximum-paths-ibgp
Diffstat (limited to 'data/templates')
-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 9340795bc..b7abbff5c 100644 --- a/data/templates/frr/bgp.frr.tmpl +++ b/data/templates/frr/bgp.frr.tmpl @@ -208,6 +208,12 @@ router bgp {{ asn }} aggregate-address {{ ip }}{{ ' as-set' if afi_config.aggregate_address[ip].as_set is defined }}{{ ' summary-only' if afi_config.aggregate_address[ip].summary_only is defined }} {% endfor %} {% endif %} +{% if afi_config.maximum_paths is defined and afi_config.maximum_paths is not none %} + maximum-paths {{ afi_config.maximum_paths }} +{% endif %} +{% if afi_config.maximum_paths_ibgp is defined and afi_config.maximum_paths_ibgp is not none %} + maximum-paths ibgp {{ afi_config.maximum_paths_ibgp }} +{% endif %} {% if afi_config.redistribute is defined and afi_config.redistribute is not none %} {% for protocol in afi_config.redistribute %} {% if protocol == 'table' %} |