summaryrefslogtreecommitdiff
path: root/data/templates
diff options
context:
space:
mode:
authorCheeze_It <none@none.com>2022-10-07 21:27:47 -0700
committerCheeze_It <none@none.com>2022-10-11 09:06:30 -0700
commit08c2a057917c357ccf6fac7b51e05d5dae780fc3 (patch)
treeff0e5c89f65b903ed08b9d6e8c3b1d91f4928ae2 /data/templates
parentbb4901773df9682b67081dda5baf0cb39c742d1e (diff)
downloadvyos-1x-08c2a057917c357ccf6fac7b51e05d5dae780fc3.tar.gz
vyos-1x-08c2a057917c357ccf6fac7b51e05d5dae780fc3.zip
isis: T4739: ISIS segment routing being refactored
This is to refactor ISIS segment routing to match up with OSPF segment routing.
Diffstat (limited to 'data/templates')
-rw-r--r--data/templates/frr/isisd.frr.j24
1 files changed, 1 insertions, 3 deletions
diff --git a/data/templates/frr/isisd.frr.j2 b/data/templates/frr/isisd.frr.j2
index e0f3b393e..194dbcb07 100644
--- a/data/templates/frr/isisd.frr.j2
+++ b/data/templates/frr/isisd.frr.j2
@@ -107,9 +107,6 @@ router isis VyOS {{ 'vrf ' + vrf if vrf is vyos_defined }}
mpls-te inter-as{{ level }}
{% endif %}
{% if segment_routing is vyos_defined %}
-{% if segment_routing.enable is vyos_defined %}
- segment-routing on
-{% endif %}
{% if segment_routing.maximum_label_depth is vyos_defined %}
segment-routing node-msd {{ segment_routing.maximum_label_depth }}
{% endif %}
@@ -144,6 +141,7 @@ router isis VyOS {{ 'vrf ' + vrf if vrf is vyos_defined }}
{% endif %}
{% endfor %}
{% endif %}
+ segment-routing on
{% endif %}
{% if spf_delay_ietf.init_delay is vyos_defined %}
spf-delay-ietf init-delay {{ spf_delay_ietf.init_delay }} short-delay {{ spf_delay_ietf.short_delay }} long-delay {{ spf_delay_ietf.long_delay }} holddown {{ spf_delay_ietf.holddown }} time-to-learn {{ spf_delay_ietf.time_to_learn }}