diff options
Diffstat (limited to 'interface-definitions')
| -rw-r--r-- | interface-definitions/include/qos/limiter-actions.xml.i | 66 | ||||
| -rw-r--r-- | interface-definitions/qos.xml.in | 2 | 
2 files changed, 68 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 --> diff --git a/interface-definitions/qos.xml.in b/interface-definitions/qos.xml.in index e8f575a1e..e2dbcbeef 100644 --- a/interface-definitions/qos.xml.in +++ b/interface-definitions/qos.xml.in @@ -188,6 +188,7 @@                    #include <include/qos/burst.xml.i>                    #include <include/generic-description.xml.i>                    #include <include/qos/match.xml.i> +                  #include <include/qos/limiter-actions.xml.i>                    <leafNode name="priority">                      <properties>                        <help>Priority for rule evaluation</help> @@ -211,6 +212,7 @@                  <children>                    #include <include/qos/bandwidth.xml.i>                    #include <include/qos/burst.xml.i> +                  #include <include/qos/limiter-actions.xml.i>                  </children>                </node>                #include <include/generic-description.xml.i> | 
