summaryrefslogtreecommitdiff
path: root/interface-definitions/include/static/static-route-segments.xml.i
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2024-02-11 23:46:27 +0000
committerGitHub <noreply@github.com>2024-02-11 23:46:27 +0000
commitbf595a899ae192f24793374978f44d31fa43d195 (patch)
tree840bdfd3e7d2d9e64c27e6893c9bffeaf5dbd593 /interface-definitions/include/static/static-route-segments.xml.i
parent1d0c97f7b13ef1e4c857d64dc968c5f284e5d1ad (diff)
parentb84f7de453f3951945298d95a8a27345ba7d28c3 (diff)
downloadvyos-1x-bf595a899ae192f24793374978f44d31fa43d195.tar.gz
vyos-1x-bf595a899ae192f24793374978f44d31fa43d195.zip
Merge pull request #2980 from c-po/srv6-T5849
srv6: T5849: add segment support to "protocols static route6"
Diffstat (limited to 'interface-definitions/include/static/static-route-segments.xml.i')
-rw-r--r--interface-definitions/include/static/static-route-segments.xml.i14
1 files changed, 14 insertions, 0 deletions
diff --git a/interface-definitions/include/static/static-route-segments.xml.i b/interface-definitions/include/static/static-route-segments.xml.i
new file mode 100644
index 000000000..2068b1ab4
--- /dev/null
+++ b/interface-definitions/include/static/static-route-segments.xml.i
@@ -0,0 +1,14 @@
+<!-- include start from static/static-route-segments.xml.i -->
+<leafNode name="segments">
+ <properties>
+ <help>SRv6 segments</help>
+ <valueHelp>
+ <format>txt</format>
+ <description>Segs (SIDs)</description>
+ </valueHelp>
+ <constraint>
+ <validator name="ipv6-srv6-segments"/>
+ </constraint>
+ </properties>
+ </leafNode>
+ <!-- include end -->