summaryrefslogtreecommitdiff
path: root/data/templates
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-03-27 22:43:26 +0200
committerChristian Breunig <christian@breunig.cc>2023-03-27 22:47:02 +0200
commitd9fa39a370c06d8add22a7018d14984e5ac14fc8 (patch)
tree7e6734779ca330e3425a20424ffac8e0d13912a9 /data/templates
parent35126e6b41b212aafb2784dee7577b0682bb3af5 (diff)
downloadvyos-1x-d9fa39a370c06d8add22a7018d14984e5ac14fc8.tar.gz
vyos-1x-d9fa39a370c06d8add22a7018d14984e5ac14fc8.zip
bgp: T5114: add "neighbor path-attribute discard"
Diffstat (limited to 'data/templates')
-rw-r--r--data/templates/frr/bgpd.frr.j23
1 files changed, 3 insertions, 0 deletions
diff --git a/data/templates/frr/bgpd.frr.j2 b/data/templates/frr/bgpd.frr.j2
index 5170a12ba..346eb3996 100644
--- a/data/templates/frr/bgpd.frr.j2
+++ b/data/templates/frr/bgpd.frr.j2
@@ -74,6 +74,9 @@
{% if config.password is vyos_defined %}
neighbor {{ neighbor }} password {{ config.password }}
{% endif %}
+{% if config.path_attribute.discard is vyos_defined %}
+ neighbor {{ neighbor }} path-attribute discard {{ config.path_attribute.discard }}
+{% endif %}
{% if config.port is vyos_defined %}
neighbor {{ neighbor }} port {{ config.port }}
{% endif %}