summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorViacheslav Hletenko <v.gletenko@vyos.io>2025-12-30 11:56:22 +0000
committerViacheslav Hletenko <v.gletenko@vyos.io>2025-12-30 12:08:53 +0000
commitfed84261267a6e760ba9cfe1da807eae36125c10 (patch)
treeb8b81104501219325c6cc5ca34f116f259c19c43 /data
parent017bd072b6ab2b897495f7312e27a9b95dd194b4 (diff)
downloadvyos-1x-fed84261267a6e760ba9cfe1da807eae36125c10.tar.gz
vyos-1x-fed84261267a6e760ba9cfe1da807eae36125c10.zip
T8133: BGP add local-rib feature for BMP
Diffstat (limited to 'data')
-rw-r--r--data/templates/frr/bgpd.frr.j26
1 files changed, 6 insertions, 0 deletions
diff --git a/data/templates/frr/bgpd.frr.j2 b/data/templates/frr/bgpd.frr.j2
index e5a75090f..c952fb0ec 100644
--- a/data/templates/frr/bgpd.frr.j2
+++ b/data/templates/frr/bgpd.frr.j2
@@ -510,12 +510,18 @@ router bgp {{ system_as }} {{ 'vrf ' ~ vrf if vrf is vyos_defined }}
{% if bmp_config.monitor.ipv4_unicast.post_policy is vyos_defined %}
bmp monitor ipv4 unicast post-policy
{% endif %}
+{% if bmp_config.monitor.ipv4_unicast.local_rib is vyos_defined %}
+ bmp monitor ipv4 unicast loc-rib
+{% endif %}
{% if bmp_config.monitor.ipv6_unicast.pre_policy is vyos_defined %}
bmp monitor ipv6 unicast pre-policy
{% endif %}
{% if bmp_config.monitor.ipv6_unicast.post_policy is vyos_defined %}
bmp monitor ipv6 unicast post-policy
{% endif %}
+{% if bmp_config.monitor.ipv6_unicast.local_rib is vyos_defined %}
+ bmp monitor ipv6 unicast loc-rib
+{% endif %}
{% endif %}
{% if bmp_config.address is vyos_defined %}
bmp connect {{ bmp_config.address }} port {{ bmp_config.port }} min-retry {{ bmp_config.min_retry }} max-retry {{ bmp_config.max_retry }}