summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2010-07-14 15:56:20 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2010-07-14 15:56:20 -0700
commit7f1494f0c8ed56bcbcb8d1cc5bab46cce09da5ad (patch)
treed0ce458b3b813371b76e62b10aa09991d43dc26b
parenta5c9214ec6b46d6a936303dcdce44ccf2ad83f8c (diff)
downloadvyatta-cfg-qos-7f1494f0c8ed56bcbcb8d1cc5bab46cce09da5ad.tar.gz
vyatta-cfg-qos-7f1494f0c8ed56bcbcb8d1cc5bab46cce09da5ad.zip
Limit queues using fair-queue to <= 127
Bug 5849
-rw-r--r--templates/traffic-policy/fair-queue/node.tag/queue-limit/node.def3
-rw-r--r--templates/traffic-policy/round-robin/node.tag/class/node.tag/queue-limit/node.def3
-rw-r--r--templates/traffic-policy/shaper/node.tag/class/node.tag/queue-limit/node.def3
3 files changed, 6 insertions, 3 deletions
diff --git a/templates/traffic-policy/fair-queue/node.tag/queue-limit/node.def b/templates/traffic-policy/fair-queue/node.tag/queue-limit/node.def
index 92c4349..ef684e3 100644
--- a/templates/traffic-policy/fair-queue/node.tag/queue-limit/node.def
+++ b/templates/traffic-policy/fair-queue/node.tag/queue-limit/node.def
@@ -1,3 +1,4 @@
type: u32
help: Set maximum queue size (packets)
-syntax:expression: $VAR(@) > 1 ; "Queue limit must greater than 1"
+syntax:expression: $VAR(@) > 1 && $VAR(@) < 128;\
+ "Queue limit must greater than 1 and less than 128"
diff --git a/templates/traffic-policy/round-robin/node.tag/class/node.tag/queue-limit/node.def b/templates/traffic-policy/round-robin/node.tag/class/node.tag/queue-limit/node.def
index bac5c2a..ef684e3 100644
--- a/templates/traffic-policy/round-robin/node.tag/class/node.tag/queue-limit/node.def
+++ b/templates/traffic-policy/round-robin/node.tag/class/node.tag/queue-limit/node.def
@@ -1,3 +1,4 @@
type: u32
help: Set maximum queue size (packets)
-syntax:expression: $VAR(@) > 0 ; "Queue limit must greater than zero"
+syntax:expression: $VAR(@) > 1 && $VAR(@) < 128;\
+ "Queue limit must greater than 1 and less than 128"
diff --git a/templates/traffic-policy/shaper/node.tag/class/node.tag/queue-limit/node.def b/templates/traffic-policy/shaper/node.tag/class/node.tag/queue-limit/node.def
index d86b23d..ef684e3 100644
--- a/templates/traffic-policy/shaper/node.tag/class/node.tag/queue-limit/node.def
+++ b/templates/traffic-policy/shaper/node.tag/class/node.tag/queue-limit/node.def
@@ -1,3 +1,4 @@
type: u32
help: Set maximum queue size (packets)
-syntax:expression: $VAR(@) > 0; "Queue limit must be greater than zero"
+syntax:expression: $VAR(@) > 1 && $VAR(@) < 128;\
+ "Queue limit must greater than 1 and less than 128"