summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-09-22 06:17:34 +0200
committerGitHub <noreply@github.com>2023-09-22 06:17:34 +0200
commite0ce69365f46db5339144cb27bff6b3dd5924871 (patch)
tree5c6374fd400f26a22a49acf52c244be004fe2cdd /data
parent1f6b7168af0d295b81324fd64a4876073de33066 (diff)
parent7f08523bb7c59e41f88db10b0892f9103ea09cdd (diff)
downloadvyos-1x-e0ce69365f46db5339144cb27bff6b3dd5924871.tar.gz
vyos-1x-e0ce69365f46db5339144cb27bff6b3dd5924871.zip
Merge pull request #2291 from vyos/mergify/bp/sagitta/pr-2284
bgp: T5596: add new features from FRR 9 (backport #2284)
Diffstat (limited to 'data')
-rw-r--r--data/templates/frr/bgpd.frr.j214
1 files changed, 9 insertions, 5 deletions
diff --git a/data/templates/frr/bgpd.frr.j2 b/data/templates/frr/bgpd.frr.j2
index e1c102e16..d724dbd79 100644
--- a/data/templates/frr/bgpd.frr.j2
+++ b/data/templates/frr/bgpd.frr.j2
@@ -29,13 +29,14 @@
neighbor {{ neighbor }} bfd profile {{ config.bfd.profile }}
{% endif %}
{% endif %}
-{% if config.capability is vyos_defined %}
-{% if config.capability.dynamic is vyos_defined %}
+{% if config.capability.dynamic is vyos_defined %}
neighbor {{ neighbor }} capability dynamic
-{% endif %}
-{% if config.capability.extended_nexthop is vyos_defined %}
+{% endif %}
+{% if config.capability.extended_nexthop is vyos_defined %}
neighbor {{ neighbor }} capability extended-nexthop
-{% endif %}
+{% endif %}
+{% if config.capability.software_version is vyos_defined %}
+ neighbor {{ neighbor }} capability software-version
{% endif %}
{% if config.description is vyos_defined %}
neighbor {{ neighbor }} description {{ config.description }}
@@ -77,6 +78,9 @@
{% if config.path_attribute.discard is vyos_defined %}
neighbor {{ neighbor }} path-attribute discard {{ config.path_attribute.discard }}
{% endif %}
+{% if config.path_attribute.treat_as_withdraw is vyos_defined %}
+ neighbor {{ neighbor }} path-attribute treat-as-withdraw {{ config.path_attribute.treat_as_withdraw }}
+{% endif %}
{% if config.port is vyos_defined %}
neighbor {{ neighbor }} port {{ config.port }}
{% endif %}