diff options
author | Christian Poessinger <christian@poessinger.com> | 2022-10-11 19:32:37 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-11 19:32:37 +0200 |
commit | 25b7d6a5a4e06ab99134ab13fc4861f431ffe2a0 (patch) | |
tree | b0530b87315e0aaaad8afb0dc192bf054b790a86 /interface-definitions/include | |
parent | cecab72057abfcb695aa5bcd433db0b25d586a3a (diff) | |
parent | 2722f6ea29a96e156763baeee0973554ac43c568 (diff) | |
download | vyos-1x-25b7d6a5a4e06ab99134ab13fc4861f431ffe2a0.tar.gz vyos-1x-25b7d6a5a4e06ab99134ab13fc4861f431ffe2a0.zip |
Merge pull request #1547 from initramfs/current-limiter-actions
qos: T4688: add xml template for limiter actions
Diffstat (limited to 'interface-definitions/include')
-rw-r--r-- | interface-definitions/include/qos/limiter-actions.xml.i | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/interface-definitions/include/qos/limiter-actions.xml.i b/interface-definitions/include/qos/limiter-actions.xml.i new file mode 100644 index 000000000..a993423aa --- /dev/null +++ b/interface-definitions/include/qos/limiter-actions.xml.i @@ -0,0 +1,66 @@ +<!-- include start from qos/limiter-actions.xml.i --> +<leafNode name="exceed-action"> + <properties> + <help>Default action for packets exceeding the limiter (default: drop)</help> + <completionHelp> + <list>continue drop ok reclassify pipe</list> + </completionHelp> + <valueHelp> + <format>continue</format> + <description>Don't do anything, just continue with the next action in line</description> + </valueHelp> + <valueHelp> + <format>drop</format> + <description>Drop the packet immediately</description> + </valueHelp> + <valueHelp> + <format>ok</format> + <description>Accept the packet</description> + </valueHelp> + <valueHelp> + <format>reclassify</format> + <description>Treat the packet as non-matching to the filter this action is attached to and continue with the next filter in line (if any)</description> + </valueHelp> + <valueHelp> + <format>pipe</format> + <description>Pass the packet to the next action in line</description> + </valueHelp> + <constraint> + <regex>(continue|drop|ok|reclassify|pipe)</regex> + </constraint> + </properties> + <defaultValue>drop</defaultValue> +</leafNode> +<leafNode name="notexceed-action"> + <properties> + <help>Default action for packets not exceeding the limiter (default: ok)</help> + <completionHelp> + <list>continue drop ok reclassify pipe</list> + </completionHelp> + <valueHelp> + <format>continue</format> + <description>Don't do anything, just continue with the next action in line</description> + </valueHelp> + <valueHelp> + <format>drop</format> + <description>Drop the packet immediately</description> + </valueHelp> + <valueHelp> + <format>ok</format> + <description>Accept the packet</description> + </valueHelp> + <valueHelp> + <format>reclassify</format> + <description>Treat the packet as non-matching to the filter this action is attached to and continue with the next filter in line (if any)</description> + </valueHelp> + <valueHelp> + <format>pipe</format> + <description>Pass the packet to the next action in line</description> + </valueHelp> + <constraint> + <regex>(continue|drop|ok|reclassify|pipe)</regex> + </constraint> + </properties> + <defaultValue>ok</defaultValue> +</leafNode> +<!-- include end --> |