summaryrefslogtreecommitdiff
path: root/data/templates/frr/isisd.frr.j2
diff options
context:
space:
mode:
authorCheeze_It <none@none.com>2023-03-19 19:24:50 -0600
committerCheeze_It <none@none.com>2023-04-04 10:27:33 -0600
commit3ffb5ff16543576e73f23125e4590fa57b02f0b7 (patch)
tree1a5479aec55199ac195bd4c6761d7e693cdbfb8a /data/templates/frr/isisd.frr.j2
parent94b65bb3936b607a6bc85fe23176ff855c722519 (diff)
downloadvyos-1x-3ffb5ff16543576e73f23125e4590fa57b02f0b7.tar.gz
vyos-1x-3ffb5ff16543576e73f23125e4590fa57b02f0b7.zip
T5081: ISIS and OSPF syncronization with IGP-LDP sync
Diffstat (limited to 'data/templates/frr/isisd.frr.j2')
-rw-r--r--data/templates/frr/isisd.frr.j211
1 files changed, 11 insertions, 0 deletions
diff --git a/data/templates/frr/isisd.frr.j2 b/data/templates/frr/isisd.frr.j2
index 8df1e9513..3c37e28b9 100644
--- a/data/templates/frr/isisd.frr.j2
+++ b/data/templates/frr/isisd.frr.j2
@@ -25,6 +25,12 @@ interface {{ iface }}
{% if iface_config.hello_padding is vyos_defined %}
isis hello padding
{% endif %}
+{% if iface_config.ldp_sync.disable is vyos_defined %}
+ no isis mpls ldp-sync
+{% elif iface_config.ldp_sync.holddown is vyos_defined %}
+ isis mpls ldp-sync
+ isis mpls ldp-sync holddown {{ iface_config.ldp_sync.holddown }}
+{% endif %}
{% if iface_config.metric is vyos_defined %}
isis metric {{ iface_config.metric }}
{% endif %}
@@ -84,6 +90,11 @@ router isis VyOS {{ 'vrf ' + vrf if vrf is vyos_defined }}
{% if max_lsp_lifetime is vyos_defined %}
max-lsp-lifetime {{ max_lsp_lifetime }}
{% endif %}
+{% if ldp_sync.holddown is vyos_defined %}
+ mpls ldp-sync holddown {{ ldp_sync.holddown }}
+{% elif ldp_sync is vyos_defined %}
+ mpls ldp-sync
+{% endif %}
{% if spf_interval is vyos_defined %}
spf-interval {{ spf_interval }}
{% endif %}