summaryrefslogtreecommitdiff
path: root/data/templates
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-10-07 07:41:59 +0200
committerChristian Poessinger <christian@poessinger.com>2022-10-07 07:41:59 +0200
commit95debbf93fe72289cefeb4fd86c7006ecc4de86f (patch)
tree42c8729f2e4b36034fe455837886c2709af149b7 /data/templates
parent203d60217e7b03818c214b0da89962c9a111a1c0 (diff)
downloadvyos-1x-95debbf93fe72289cefeb4fd86c7006ecc4de86f.tar.gz
vyos-1x-95debbf93fe72289cefeb4fd86c7006ecc4de86f.zip
ospf: T4707: enable segment-routing on last in FRR configuration
Diffstat (limited to 'data/templates')
-rw-r--r--data/templates/frr/ospfd.frr.j22
1 files changed, 1 insertions, 1 deletions
diff --git a/data/templates/frr/ospfd.frr.j2 b/data/templates/frr/ospfd.frr.j2
index 120135c23..9cd9b03dc 100644
--- a/data/templates/frr/ospfd.frr.j2
+++ b/data/templates/frr/ospfd.frr.j2
@@ -182,7 +182,6 @@ router ospf {{ 'vrf ' ~ vrf if vrf is vyos_defined }}
refresh timer {{ refresh.timers }}
{% endif %}
{% if segment_routing is vyos_defined %}
- segment-routing on
{% if segment_routing.maximum_label_depth is vyos_defined %}
segment-routing node-msd {{ segment_routing.maximum_label_depth }}
{% endif %}
@@ -207,6 +206,7 @@ router ospf {{ 'vrf ' ~ vrf if vrf is vyos_defined }}
{% endif %}
{% endfor %}
{% endif %}
+ segment-routing on
{% endif %}
{% if timers.throttle.spf.delay is vyos_defined and timers.throttle.spf.initial_holdtime is vyos_defined and timers.throttle.spf.max_holdtime is vyos_defined %}
{# Timer values have default values #}