summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-12-12 09:56:46 +0100
committerChristian Poessinger <christian@poessinger.com>2021-12-12 10:13:16 +0100
commitede5ba7c1e9e5e2862f91d3082b50b71a1ffe920 (patch)
treed4aba6209d6b63810fd42661ae1b6c9d61381211 /data
parent6a8026e1f9a18f4c3e34b376ecce58e5225ac2b3 (diff)
downloadvyos-1x-ede5ba7c1e9e5e2862f91d3082b50b71a1ffe920.tar.gz
vyos-1x-ede5ba7c1e9e5e2862f91d3082b50b71a1ffe920.zip
bgp: T3967: add "parameters conditional-advertisement timer <n>" option
Set the period to rerun the conditional advertisement scanner process. The default is 60 seconds.
Diffstat (limited to 'data')
-rw-r--r--data/templates/frr/bgpd.frr.tmpl5
1 files changed, 5 insertions, 0 deletions
diff --git a/data/templates/frr/bgpd.frr.tmpl b/data/templates/frr/bgpd.frr.tmpl
index a3c6431f6..cae53d09c 100644
--- a/data/templates/frr/bgpd.frr.tmpl
+++ b/data/templates/frr/bgpd.frr.tmpl
@@ -475,6 +475,11 @@ router bgp {{ local_as }} {{ 'vrf ' ~ vrf if vrf is defined and vrf is not none
{% if parameters.cluster_id is defined and parameters.cluster_id is not none %}
bgp cluster-id {{ parameters.cluster_id }}
{% endif %}
+{% if parameters.conditional_advertisement is defined and parameters.conditional_advertisement is not none %}
+{% if parameters.conditional_advertisement.timer is defined and parameters.conditional_advertisement.timer is not none %}
+ bgp conditional-advertisement timer {{ parameters.conditional_advertisement.timer }}
+{% endif %}
+{% endif %}
{% if parameters.confederation is defined and parameters.confederation is not none %}
{% if parameters.confederation.identifier is defined and parameters.confederation.identifier is not none %}
bgp confederation identifier {{ parameters.confederation.identifier }}