Skip to content

Commit

Permalink
srv6: T6984: add locator format configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
jvoss committed Dec 28, 2024
1 parent ad1f626 commit 4cbabf4
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
3 changes: 3 additions & 0 deletions data/templates/frr/zebra.segment_routing.frr.j2
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ segment-routing
{% endif %}
{% if locator_config.behavior_usid is vyos_defined %}
behavior usid
{% endif %}
{% if locator_config.format is vyos_defined %}
format {{ locator_config.format }}
{% endif %}
exit
!
Expand Down
16 changes: 16 additions & 0 deletions interface-definitions/protocols_segment-routing.xml.in
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,22 @@
</properties>
<defaultValue>24</defaultValue>
</leafNode>
<leafNode name="format">
<properties>
<help>Configure SRv6 SID format</help>
<completionHelp>
<list>uncompressed-f4024 usid-f3216</list>
</completionHelp>
<valueHelp>
<format>uncompressed-f4024</format>
<description>Specify uncompressed-f4024 format</description>
</valueHelp>
<valueHelp>
<format>usid-f3216</format>
<description>Specify usid-f3216 format</description>
</valueHelp>
</properties>
</leafNode>
</children>
</tagNode>
</children>
Expand Down

0 comments on commit 4cbabf4

Please sign in to comment.