summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorJonathan Voss <jvoss@onvox.net>2024-12-14 23:10:43 +0000
committerChristian Breunig <christian@breunig.cc>2026-03-04 16:40:52 +0100
commitf831da31dd0c02238a8e045087e1ab53173cb05f (patch)
treed2e9568d070fb4c33c44728d940b01b064a9d9d0 /data
parent9fae68c92fe769da4f877c8df358868812a660ad (diff)
downloadvyos-1x-f831da31dd0c02238a8e045087e1ab53173cb05f.tar.gz
vyos-1x-f831da31dd0c02238a8e045087e1ab53173cb05f.zip
isis: T6978: add IS-IS SRv6 node-msd configuration
Co-Authored-by: Christian Breunig <christian@breunig.cc>
Diffstat (limited to 'data')
-rw-r--r--data/templates/frr/isisd.frr.j223
1 files changed, 22 insertions, 1 deletions
diff --git a/data/templates/frr/isisd.frr.j2 b/data/templates/frr/isisd.frr.j2
index 8df8e90d1..8128c6711 100644
--- a/data/templates/frr/isisd.frr.j2
+++ b/data/templates/frr/isisd.frr.j2
@@ -152,9 +152,30 @@ advertise-passive-only
{% if segment_routing.maximum_label_depth is vyos_defined %}
segment-routing node-msd {{ segment_routing.maximum_label_depth }}
{% endif %}
-{% if segment_routing.srv6.locator is vyos_defined %}
+{% if segment_routing.srv6 is vyos_defined %}
segment-routing srv6
+{% if segment_routing.srv6.locator is vyos_defined %}
locator {{ segment_routing.srv6.locator }}
+{% endif %}
+{% if segment_routing.srv6.node_msd is vyos_defined %}
+ node-msd
+{% if segment_routing.srv6.node_msd.max_end_d is vyos_defined %}
+ max-end-d {{ segment_routing.srv6.node_msd.max_end_d }}
+{% endif %}
+{% if segment_routing.srv6.node_msd.max_end_pop is vyos_defined %}
+ max-end-pop {{ segment_routing.srv6.node_msd.max_end_pop }}
+{% endif %}
+{% if segment_routing.srv6.node_msd.max_h_encaps is vyos_defined %}
+ max-h-encaps {{ segment_routing.srv6.node_msd.max_h_encaps }}
+{% endif %}
+{% if segment_routing.srv6.node_msd.max_segs_left is vyos_defined %}
+ max-segs-left {{ segment_routing.srv6.node_msd.max_segs_left }}
+{% endif %}
+ exit
+{% endif %}
+{% if segment_routing.srv6.interface is vyos_defined %}
+ interface {{ segment_routing.srv6.interface }}
+{% endif %}
exit
{% endif %}
{% if segment_routing.global_block is vyos_defined %}