summaryrefslogtreecommitdiff
path: root/interface-definitions/include/qos/queue-mark-probability.xml.i
diff options
context:
space:
mode:
authorkhramshinr <khramshinr@gmail.com>2024-04-12 13:32:52 +0800
committerkhramshinr <khramshinr@gmail.com>2024-04-12 18:47:53 +0800
commit31cd75aec6d035b36537046ae0d034c03009a3fc (patch)
tree7d0c918fdbab899ef5a9855f4ade72589e9ee0e9 /interface-definitions/include/qos/queue-mark-probability.xml.i
parent5d890037b177ce6971ac00f52e4cce2cac898f46 (diff)
downloadvyos-1x-31cd75aec6d035b36537046ae0d034c03009a3fc.tar.gz
vyos-1x-31cd75aec6d035b36537046ae0d034c03009a3fc.zip
qos: T6035: QoS policy shaper queue-type random-detect requires limit avpkt
Added params for configuration red on the shaper policy
Diffstat (limited to 'interface-definitions/include/qos/queue-mark-probability.xml.i')
-rw-r--r--interface-definitions/include/qos/queue-mark-probability.xml.i16
1 files changed, 16 insertions, 0 deletions
diff --git a/interface-definitions/include/qos/queue-mark-probability.xml.i b/interface-definitions/include/qos/queue-mark-probability.xml.i
new file mode 100644
index 000000000..1a2862845
--- /dev/null
+++ b/interface-definitions/include/qos/queue-mark-probability.xml.i
@@ -0,0 +1,16 @@
+<!-- include start from qos/queue-mark-probability.xml.i -->
+<leafNode name="mark-probability">
+ <properties>
+ <help>Mark probability for random detection</help>
+ <valueHelp>
+ <format>u32</format>
+ <description>Numeric value (1/N)</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--positive"/>
+ </constraint>
+ <constraintErrorMessage>Mark probability must be greater than 0</constraintErrorMessage>
+ </properties>
+ <defaultValue>10</defaultValue>
+</leafNode>
+<!-- include end -->