summaryrefslogtreecommitdiff
path: root/interface-definitions/include/qos/queue-minimum-threshold.xml.i
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-04-13 18:11:53 +0200
committerGitHub <noreply@github.com>2024-04-13 18:11:53 +0200
commit8034e76f6b8d0813ad1a447935809efcd203be47 (patch)
tree90bff1230431992cfb2a66c3dfb1fe3ad9bc94b2 /interface-definitions/include/qos/queue-minimum-threshold.xml.i
parent7441c14810e5254d53c7fefca87297ad10ab9c1d (diff)
parent92f236989bc8fee0cc0170999204dc5ffc5cc1f8 (diff)
downloadvyos-1x-8034e76f6b8d0813ad1a447935809efcd203be47.tar.gz
vyos-1x-8034e76f6b8d0813ad1a447935809efcd203be47.zip
Merge pull request #3305 from vyos/mergify/bp/sagitta/pr-3297
qos: T6035: QoS policy shaper queue-type random-detect requires limit avpkt (backport #3297)
Diffstat (limited to 'interface-definitions/include/qos/queue-minimum-threshold.xml.i')
-rw-r--r--interface-definitions/include/qos/queue-minimum-threshold.xml.i15
1 files changed, 15 insertions, 0 deletions
diff --git a/interface-definitions/include/qos/queue-minimum-threshold.xml.i b/interface-definitions/include/qos/queue-minimum-threshold.xml.i
new file mode 100644
index 000000000..81e12d6e2
--- /dev/null
+++ b/interface-definitions/include/qos/queue-minimum-threshold.xml.i
@@ -0,0 +1,15 @@
+<!-- include start from qos/queue-minimum-threshold.xml.i -->
+<leafNode name="minimum-threshold">
+ <properties>
+ <help>Minimum threshold for random detection</help>
+ <valueHelp>
+ <format>u32:0-4096</format>
+ <description>Minimum threshold in packets</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 0-4096"/>
+ </constraint>
+ <constraintErrorMessage>Threshold must be between 0 and 4096</constraintErrorMessage>
+ </properties>
+</leafNode>
+<!-- include end -->