summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2009-06-09 11:08:38 -0700
committerStephen Hemminger <shemminger@lenny.localdomain>2009-10-01 13:51:19 -0700
commit6cf4217e392eb4c0956804b1ba66874de68fbd5e (patch)
tree8e70ebca83711fe654c2736c80ab57295fb2a68f /templates
parent5e0d337e371773e81059f5f2513c6f430c3d8e4c (diff)
downloadvyatta-cfg-qos-6cf4217e392eb4c0956804b1ba66874de68fbd5e.tar.gz
vyatta-cfg-qos-6cf4217e392eb4c0956804b1ba66874de68fbd5e.zip
Allow setting queue limit and average packet size
Two more (optional) parameters for random detect precedence groups. Bug 4518,4519 (cherry picked from commit 8104da09f5da338c6ce0813c367262de4e417598)
Diffstat (limited to 'templates')
-rw-r--r--templates/qos-policy/random-detect/node.tag/precedence/node.tag/average-packet/node.def4
-rw-r--r--templates/qos-policy/random-detect/node.tag/precedence/node.tag/queue-limit/node.def2
2 files changed, 6 insertions, 0 deletions
diff --git a/templates/qos-policy/random-detect/node.tag/precedence/node.tag/average-packet/node.def b/templates/qos-policy/random-detect/node.tag/precedence/node.tag/average-packet/node.def
new file mode 100644
index 0000000..9b4490d
--- /dev/null
+++ b/templates/qos-policy/random-detect/node.tag/precedence/node.tag/average-packet/node.def
@@ -0,0 +1,4 @@
+type: u32
+help: Average packet size (bytes)
+default: "1024"
+syntax:expression: $VAR(@) >= 16 && $VAR(@) <= 10240 ; "Average packet size must be between 16 and 10240"
diff --git a/templates/qos-policy/random-detect/node.tag/precedence/node.tag/queue-limit/node.def b/templates/qos-policy/random-detect/node.tag/precedence/node.tag/queue-limit/node.def
new file mode 100644
index 0000000..49c47b4
--- /dev/null
+++ b/templates/qos-policy/random-detect/node.tag/precedence/node.tag/queue-limit/node.def
@@ -0,0 +1,2 @@
+type: u32
+help: Set maximum queue size (packets)