From b5525d96617abcb0e8618c92d17640678074b02a Mon Sep 17 00:00:00 2001 From: Christian Breunig Date: Sat, 10 Feb 2024 15:42:08 +0100 Subject: bgp: T6010: support setting multiple values for neighbor path-attribute (cherry picked from commit a22e0ee09ff4750de004090f1f55ee75a12dc821) --- data/templates/frr/bgpd.frr.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'data') diff --git a/data/templates/frr/bgpd.frr.j2 b/data/templates/frr/bgpd.frr.j2 index 23f81348b..ed55db3f2 100644 --- a/data/templates/frr/bgpd.frr.j2 +++ b/data/templates/frr/bgpd.frr.j2 @@ -76,7 +76,7 @@ neighbor {{ neighbor }} password {{ config.password }} {% endif %} {% if config.path_attribute.discard is vyos_defined %} - neighbor {{ neighbor }} path-attribute discard {{ config.path_attribute.discard }} + neighbor {{ neighbor }} path-attribute discard {{ config.path_attribute.discard | join(' ') }} {% endif %} {% if config.path_attribute.treat_as_withdraw is vyos_defined %} neighbor {{ neighbor }} path-attribute treat-as-withdraw {{ config.path_attribute.treat_as_withdraw }} -- cgit v1.2.3