diff options
author | Christian Breunig <christian@breunig.cc> | 2023-12-21 16:27:53 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-21 16:27:53 +0100 |
commit | 2df14d0a2b07061835d1718457925355a7a951c3 (patch) | |
tree | ad3c2657c66ea7e94bb28fd41b8b99a79607b05c /interface-definitions/protocols-segment-routing.xml.in | |
parent | 11b3750c4a01a120dc386e72a6781b1c16ed1120 (diff) | |
parent | 774cc97eda61eb0b91df820797fb3c705d0073d5 (diff) | |
download | vyos-1x-2df14d0a2b07061835d1718457925355a7a951c3.tar.gz vyos-1x-2df14d0a2b07061835d1718457925355a7a951c3.zip |
Merge pull request #2663 from c-po/srv6-part2
srv6: T591: enable SR enabled packet processing on defined interfaces
Diffstat (limited to 'interface-definitions/protocols-segment-routing.xml.in')
-rw-r--r-- | interface-definitions/protocols-segment-routing.xml.in | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/interface-definitions/protocols-segment-routing.xml.in b/interface-definitions/protocols-segment-routing.xml.in index d461e9c5d..4308f0c91 100644 --- a/interface-definitions/protocols-segment-routing.xml.in +++ b/interface-definitions/protocols-segment-routing.xml.in @@ -8,6 +8,54 @@ <priority>900</priority> </properties> <children> + <tagNode name="interface"> + <properties> + <help>Interface specific Segment Routing options</help> + <completionHelp> + <script>${vyos_completion_dir}/list_interfaces</script> + </completionHelp> + <valueHelp> + <format>txt</format> + <description>Interface name</description> + </valueHelp> + <constraint> + #include <include/constraint/interface-name.xml.i> + </constraint> + </properties> + <children> + <node name="srv6"> + <properties> + <help>Accept SR-enabled IPv6 packets on this interface</help> + </properties> + <children> + <leafNode name="hmac"> + <properties> + <help>Define HMAC policy for ingress SR-enabled packets on this interface</help> + <completionHelp> + <list>accept drop ignore</list> + </completionHelp> + <valueHelp> + <format>accept</format> + <description>Accept packets without HMAC, validate packets with HMAC</description> + </valueHelp> + <valueHelp> + <format>drop</format> + <description>Drop packets without HMAC, validate packets with HMAC</description> + </valueHelp> + <valueHelp> + <format>ignore</format> + <description>Ignore HMAC field.</description> + </valueHelp> + <constraint> + <regex>(accept|drop|ignore)</regex> + </constraint> + </properties> + <defaultValue>accept</defaultValue> + </leafNode> + </children> + </node> + </children> + </tagNode> <node name="srv6"> <properties> <help>Segment-Routing SRv6 configuration</help> |