diff options
author | sever-sever <v.gletenko@vyos.io> | 2021-02-19 15:04:40 +0000 |
---|---|---|
committer | sever-sever <v.gletenko@vyos.io> | 2021-02-21 10:11:54 +0000 |
commit | b5763e329915435b411e360243839cb7817ff055 (patch) | |
tree | 84ecf20ee1ae95982f09a56da482531b6897f748 /data | |
parent | 57f3fd3ae8acfa4aed980971e4263fdc2b1e061b (diff) | |
download | vyos-1x-b5763e329915435b411e360243839cb7817ff055.tar.gz vyos-1x-b5763e329915435b411e360243839cb7817ff055.zip |
bgp: T3322: Fix timers for neighbor
Diffstat (limited to 'data')
-rw-r--r-- | data/templates/frr/bgp.frr.tmpl | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/data/templates/frr/bgp.frr.tmpl b/data/templates/frr/bgp.frr.tmpl index 4cb2ad092..6ba223196 100644 --- a/data/templates/frr/bgp.frr.tmpl +++ b/data/templates/frr/bgp.frr.tmpl @@ -58,6 +58,14 @@ {% if config.ttl_security is defined and config.ttl_security.hops is defined and config.ttl_security.hops is not none %} neighbor {{ neighbor }} ttl-security hops {{ config.ttl_security.hops }} {% endif %} +{% if config.timers is defined %} +{% if config.timers.connect is defined and config.timers.connect is not none %} + neighbor {{ neighbor }} timers connect {{ config.timers.connect }} +{% endif %} +{% if config.timers.holdtime is defined and config.timers.keepalive is defined and config.timers.holdtime is not none and config.timers.keepalive is not none %} + neighbor {{ neighbor }} timers {{ config.timers.keepalive }} {{ config.timers.holdtime }} +{% endif %} +{% endif %} {% if config.update_source is defined and config.update_source is not none %} neighbor {{ neighbor }} update-source {{ config.update_source }} {% endif %} |