summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-12-12 10:11:49 +0100
committerChristian Poessinger <christian@poessinger.com>2021-12-12 11:09:20 +0100
commit6fab523565015fd4da5d7295bad684cb969e5d12 (patch)
treea557473e1cb3d6643c7de90edacc7dabd99003f4 /data
parentaca9d98c818407b8009bb861ec0f5a817a9a5637 (diff)
downloadvyos-1x-6fab523565015fd4da5d7295bad684cb969e5d12.tar.gz
vyos-1x-6fab523565015fd4da5d7295bad684cb969e5d12.zip
bgp: T4069: add "parameters suppress-fib-pending" CLI option
This command is applicable at the global level and at an individual bgp level. If applied at the global level all bgp instances will wait for fib installation before announcing routes and there is no way to turn it off for a particular BGP vrf.
Diffstat (limited to 'data')
-rw-r--r--data/templates/frr/bgpd.frr.tmpl5
1 files changed, 4 insertions, 1 deletions
diff --git a/data/templates/frr/bgpd.frr.tmpl b/data/templates/frr/bgpd.frr.tmpl
index 01e62a94b..9bb42fd2d 100644
--- a/data/templates/frr/bgpd.frr.tmpl
+++ b/data/templates/frr/bgpd.frr.tmpl
@@ -543,8 +543,11 @@ router bgp {{ local_as }} {{ 'vrf ' ~ vrf if vrf is defined and vrf is not none
{% if parameters.shutdown is defined %}
bgp shutdown
{% endif %}
+{% if parameters.suppress_fib_pending is defined %}
+ bgp suppress-fib-pending
+{% endif %}
{% endif %}
{% if timers is defined and timers.keepalive is defined and timers.holdtime is defined %}
timers bgp {{ timers.keepalive }} {{ timers.holdtime }}
{% endif %}
-exit \ No newline at end of file
+exit