diff options
author | Daniil Baturin <daniil@vyos.io> | 2023-12-21 15:32:36 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-21 15:32:36 +0000 |
commit | c9b71b0669924da41dc50632bdcaed710f03d4d7 (patch) | |
tree | 30a3eada0c894fb0ff07f83b360f9535c5d43627 /interface-definitions/protocols-segment-routing.xml.in | |
parent | 5c91424daafbee512f7c87caa418cd05f0bc4633 (diff) | |
parent | 0ee2f8285c81878687a9f92e6a3b0f10c4d75584 (diff) | |
download | vyos-1x-c9b71b0669924da41dc50632bdcaed710f03d4d7.tar.gz vyos-1x-c9b71b0669924da41dc50632bdcaed710f03d4d7.zip |
Merge pull request #2674 from vyos/mergify/bp/sagitta/pr-2663
srv6: T591: enable SR enabled packet processing on defined interfaces (backport #2663)
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> |