summaryrefslogtreecommitdiff
path: root/data/templates/frr
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-02-14 10:09:50 +0100
committerChristian Poessinger <christian@poessinger.com>2021-02-14 10:09:50 +0100
commitd468102e66ff7ed784d794e6884983669bba108e (patch)
tree0890ccf753d54e8560f5520cebca9a8a39bbbed7 /data/templates/frr
parent0c814f19cdc81360005055dbf24b627ba6449877 (diff)
downloadvyos-1x-d468102e66ff7ed784d794e6884983669bba108e.tar.gz
vyos-1x-d468102e66ff7ed784d794e6884983669bba108e.zip
bgp: T3308: add graceful-shutdown option
Diffstat (limited to 'data/templates/frr')
-rw-r--r--data/templates/frr/bgp.frr.tmpl3
1 files changed, 3 insertions, 0 deletions
diff --git a/data/templates/frr/bgp.frr.tmpl b/data/templates/frr/bgp.frr.tmpl
index 792146be0..8db6015d0 100644
--- a/data/templates/frr/bgp.frr.tmpl
+++ b/data/templates/frr/bgp.frr.tmpl
@@ -340,6 +340,9 @@ router bgp {{ asn }}
{% if parameters.graceful_restart is defined %}
bgp graceful-restart {{ 'stalepath-time ' + parameters.graceful_restart.stalepath_time if parameters.graceful_restart.stalepath_time is defined }}
{% endif %}
+{% if parameters.graceful_shutdown is defined %}
+ bgp graceful-shutdown
+{% endif %}
{% if parameters.log_neighbor_changes is defined %}
bgp log-neighbor-changes
{% endif %}