summaryrefslogtreecommitdiff
path: root/interface-definitions/include/qos/queue-maximum-threshold.xml.i
diff options
context:
space:
mode:
authorkhramshinr <khramshinr@gmail.com>2024-04-12 13:32:52 +0800
committerMergify <37929162+mergify[bot]@users.noreply.github.com>2024-04-13 11:11:07 +0000
commit92f236989bc8fee0cc0170999204dc5ffc5cc1f8 (patch)
tree90bff1230431992cfb2a66c3dfb1fe3ad9bc94b2 /interface-definitions/include/qos/queue-maximum-threshold.xml.i
parent7441c14810e5254d53c7fefca87297ad10ab9c1d (diff)
downloadvyos-1x-92f236989bc8fee0cc0170999204dc5ffc5cc1f8.tar.gz
vyos-1x-92f236989bc8fee0cc0170999204dc5ffc5cc1f8.zip
qos: T6035: QoS policy shaper queue-type random-detect requires limit avpkt
Added params for configuration red on the shaper policy (cherry picked from commit 31cd75aec6d035b36537046ae0d034c03009a3fc)
Diffstat (limited to 'interface-definitions/include/qos/queue-maximum-threshold.xml.i')
-rw-r--r--interface-definitions/include/qos/queue-maximum-threshold.xml.i16
1 files changed, 16 insertions, 0 deletions
diff --git a/interface-definitions/include/qos/queue-maximum-threshold.xml.i b/interface-definitions/include/qos/queue-maximum-threshold.xml.i
new file mode 100644
index 000000000..66d17ccc4
--- /dev/null
+++ b/interface-definitions/include/qos/queue-maximum-threshold.xml.i
@@ -0,0 +1,16 @@
+<!-- include start from qos/queue-maximum-threshold.xml.i -->
+<leafNode name="maximum-threshold">
+ <properties>
+ <help>Maximum threshold for random detection</help>
+ <valueHelp>
+ <format>u32:0-4096</format>
+ <description>Maximum threshold in packets</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 0-4096"/>
+ </constraint>
+ <constraintErrorMessage>Threshold must be between 0 and 4096</constraintErrorMessage>
+ </properties>
+ <defaultValue>18</defaultValue>
+</leafNode>
+<!-- include end -->