summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"