diff options
author | Christian Breunig <christian@breunig.cc> | 2024-02-12 06:26:33 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-12 06:26:33 +0100 |
commit | 3234c16803f4f578c65f3d426e3ca0d00c626711 (patch) | |
tree | 6009d9388929b87bb3ee4d768df1a0946dc77dd4 /interface-definitions/include/static | |
parent | b818555726b6945ce5f095e113041765a2e0163a (diff) | |
parent | cafd8840dfeda5cac5f723716c0b234935284856 (diff) | |
download | vyos-1x-3234c16803f4f578c65f3d426e3ca0d00c626711.tar.gz vyos-1x-3234c16803f4f578c65f3d426e3ca0d00c626711.zip |
Merge pull request #2990 from vyos/mergify/bp/sagitta/pr-2980
srv6: T5849: add segment support to "protocols static route6" (backport #2980)
Diffstat (limited to 'interface-definitions/include/static')
3 files changed, 17 insertions, 3 deletions
diff --git a/interface-definitions/include/static/static-route-reject.xml.i b/interface-definitions/include/static/static-route-reject.xml.i index 81d4f9afd..ef713ac85 100644 --- a/interface-definitions/include/static/static-route-reject.xml.i +++ b/interface-definitions/include/static/static-route-reject.xml.i @@ -9,4 +9,3 @@ </children> </node> <!-- include end --> - 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 --> diff --git a/interface-definitions/include/static/static-route6.xml.i b/interface-definitions/include/static/static-route6.xml.i index a83cc230b..4468c8025 100644 --- a/interface-definitions/include/static/static-route6.xml.i +++ b/interface-definitions/include/static/static-route6.xml.i @@ -31,6 +31,7 @@ <children> #include <include/generic-disable-node.xml.i> #include <include/static/static-route-distance.xml.i> + #include <include/static/static-route-segments.xml.i> #include <include/static/static-route-vrf.xml.i> </children> </tagNode> @@ -47,13 +48,13 @@ </properties> <children> #include <include/generic-disable-node.xml.i> + #include <include/static/static-route-bfd.xml.i> #include <include/static/static-route-distance.xml.i> #include <include/static/static-route-interface.xml.i> + #include <include/static/static-route-segments.xml.i> #include <include/static/static-route-vrf.xml.i> - #include <include/static/static-route-bfd.xml.i> </children> </tagNode> </children> </tagNode> <!-- include end --> - |