diff options
author | Christian Breunig <christian@breunig.cc> | 2024-02-10 10:02:47 +0100 |
---|---|---|
committer | Christian Breunig <christian@breunig.cc> | 2024-02-11 09:18:58 +0100 |
commit | b84f7de453f3951945298d95a8a27345ba7d28c3 (patch) | |
tree | 452a2d38ea0804e46d5e21fc56ac858182aafa9a /interface-definitions/include/static/static-route-segments.xml.i | |
parent | ffca244d5c38655ce915cee373e3d6f6c9292954 (diff) | |
download | vyos-1x-b84f7de453f3951945298d95a8a27345ba7d28c3.tar.gz vyos-1x-b84f7de453f3951945298d95a8a27345ba7d28c3.zip |
srv6: T5849: add segment support to "protocols static route6"
* set protocols static route6 <prefix> next-hop <address> segments 'x:x::x:x/y:y::y/z::z'
* set protocols static route6 <prefix> interface <interface> segments 'x:x::x:x/y:y::y/z::z'
Diffstat (limited to 'interface-definitions/include/static/static-route-segments.xml.i')
-rw-r--r-- | interface-definitions/include/static/static-route-segments.xml.i | 14 |
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 --> |