diff options
author | Christian Poessinger <christian@poessinger.com> | 2022-04-03 14:11:06 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2022-04-03 14:11:06 +0200 |
commit | 7d3ae5fc3ba113b67281c9605f3a8a71b924efe2 (patch) | |
tree | 585f460146fbc2de96d9a8599f47dc5bd1e4a0b8 /data/templates/frr/isisd.frr.tmpl | |
parent | e66c5a56905a7370be0e14cd34aee608c7e7b54a (diff) | |
download | vyos-1x-7d3ae5fc3ba113b67281c9605f3a8a71b924efe2.tar.gz vyos-1x-7d3ae5fc3ba113b67281c9605f3a8a71b924efe2.zip |
isis: T3156: add segment routing local-block for ISIS
Diffstat (limited to 'data/templates/frr/isisd.frr.tmpl')
-rw-r--r-- | data/templates/frr/isisd.frr.tmpl | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/data/templates/frr/isisd.frr.tmpl b/data/templates/frr/isisd.frr.tmpl index 33adac64e..238541903 100644 --- a/data/templates/frr/isisd.frr.tmpl +++ b/data/templates/frr/isisd.frr.tmpl @@ -114,10 +114,11 @@ router isis VyOS {{ 'vrf ' + vrf if vrf is vyos_defined }} segment-routing node-msd {{ segment_routing.maximum_label_depth }} {% endif %} {% if segment_routing.global_block is vyos_defined %} +{% if segment_routing.local_block is vyos_defined %} + segment-routing global-block {{ segment_routing.global_block.low_label_value }} {{ segment_routing.global_block.high_label_value }} local-block {{ segment_routing.local_block.low_label_value }} {{ segment_routing.local_block.high_label_value }} +{% else %} segment-routing global-block {{ segment_routing.global_block.low_label_value }} {{ segment_routing.global_block.high_label_value }} -{% endif %} -{% if segment_routing.local_block is vyos_defined %} - segment-routing local-block {{ segment_routing.global_block.low_label_value }} {{ segment_routing.local_block.high_label_value }} +{% endif %} {% endif %} {% if segment_routing.prefix is vyos_defined %} {% for prefixes in segment_routing.prefix %} |