diff options
author | Christian Breunig <christian@breunig.cc> | 2023-09-19 18:48:40 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-19 18:48:40 +0200 |
commit | db53c8e77cd93d5d7f16036b4d7b783083caf32e (patch) | |
tree | d986ab0fa34c515badd1a11de28cce1bd26ee062 /data/templates | |
parent | dcdcc18b2097648b44fdd77155e2e903c9f5cad9 (diff) | |
parent | d285355716708a46767c18661976906812da8a3c (diff) | |
download | vyos-1x-db53c8e77cd93d5d7f16036b4d7b783083caf32e.tar.gz vyos-1x-db53c8e77cd93d5d7f16036b4d7b783083caf32e.zip |
Merge pull request #2284 from c-po/t5596-bgp
bgp: T5596: add new features from FRR 9
Diffstat (limited to 'data/templates')
-rw-r--r-- | data/templates/frr/bgpd.frr.j2 | 14 |
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 %} |