summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-05-22 17:55:38 +0200
committerChristian Poessinger <christian@poessinger.com>2021-05-22 17:55:38 +0200
commitef8efbd468ad6490db12ec219e0940b204fcce76 (patch)
tree605fb3e45d20a01d4a654910200a3116ae7554f7 /data
parent9c6874f0abad9ff65bca58bd08458f24970f06c2 (diff)
downloadvyos-1x-ef8efbd468ad6490db12ec219e0940b204fcce76.tar.gz
vyos-1x-ef8efbd468ad6490db12ec219e0940b204fcce76.zip
bgp: T3565: support multiple AS numbers for confederation peers
The BGP confederation peers node was not a multi node as supported by VyOS 1.2 and 1.3.
Diffstat (limited to 'data')
-rw-r--r--data/templates/frr/bgpd.frr.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/templates/frr/bgpd.frr.tmpl b/data/templates/frr/bgpd.frr.tmpl
index 5edd3f97d..99d80e776 100644
--- a/data/templates/frr/bgpd.frr.tmpl
+++ b/data/templates/frr/bgpd.frr.tmpl
@@ -420,7 +420,7 @@ router bgp {{ local_as }} {{ 'vrf ' ~ vrf if vrf is defined and vrf is not none
bgp confederation identifier {{ parameters.confederation.identifier }}
{% endif %}
{% if parameters.confederation.peers is defined and parameters.confederation.peers is not none %}
- bgp confederation peers {{ parameters.confederation.peers }}
+ bgp confederation peers {{ parameters.confederation.peers | join(' ') }}
{% endif %}
{% endif %}
{% if parameters.dampening is defined and parameters.dampening is defined and parameters.dampening.half_life is defined and parameters.dampening.half_life is not none %}