diff options
author | Christian Breunig <christian@breunig.cc> | 2023-03-27 22:45:02 +0200 |
---|---|---|
committer | Christian Breunig <christian@breunig.cc> | 2023-03-27 22:47:02 +0200 |
commit | b5d940d9f279a8391c8d8c56cc86f4855c9d38b5 (patch) | |
tree | d91e3e2c3bb508f0ae9b96645f7d19994ffd3a98 /data/templates/frr | |
parent | d9fa39a370c06d8add22a7018d14984e5ac14fc8 (diff) | |
download | vyos-1x-b5d940d9f279a8391c8d8c56cc86f4855c9d38b5.tar.gz vyos-1x-b5d940d9f279a8391c8d8c56cc86f4855c9d38b5.zip |
bgp: T5114: support configuring TCP keepalive messages
Diffstat (limited to 'data/templates/frr')
-rw-r--r-- | data/templates/frr/bgpd.frr.j2 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/data/templates/frr/bgpd.frr.j2 b/data/templates/frr/bgpd.frr.j2 index 346eb3996..b749be93f 100644 --- a/data/templates/frr/bgpd.frr.j2 +++ b/data/templates/frr/bgpd.frr.j2 @@ -553,6 +553,9 @@ bgp route-reflector allow-outbound-policy {% if parameters.suppress_fib_pending is vyos_defined %} bgp suppress-fib-pending {% endif %} +{% if parameters.tcp_keepalive.idle is vyos_defined and parameters.tcp_keepalive.interval is vyos_defined and parameters.tcp_keepalive.probes is vyos_defined %} + bgp tcp-keepalive {{ parameters.tcp_keepalive.idle }} {{ parameters.tcp_keepalive.interval }} {{ parameters.tcp_keepalive.probes }} +{% endif %} {% if timers.keepalive is vyos_defined and timers.holdtime is vyos_defined %} timers bgp {{ timers.keepalive }} {{ timers.holdtime }} {% endif %} |