From 497ebd0e02f0f1ed137dc405e858e21e1779b577 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Wed, 6 Feb 2008 14:59:47 -0800 Subject: allow greater range of priorty 1 to 10 was too arbitrary restriction since the kernel allows nothing, or full u32 value. --- .../traffic-shaper/node.tag/class/node.tag/priority/node.def | 5 ++--- .../qos-policy/traffic-shaper/node.tag/default/priority/node.def | 3 +-- 2 files changed, 3 insertions(+), 5 deletions(-) (limited to 'templates/qos-policy') diff --git a/templates/qos-policy/traffic-shaper/node.tag/class/node.tag/priority/node.def b/templates/qos-policy/traffic-shaper/node.tag/class/node.tag/priority/node.def index a2dd238..4aa2d69 100644 --- a/templates/qos-policy/traffic-shaper/node.tag/class/node.tag/priority/node.def +++ b/templates/qos-policy/traffic-shaper/node.tag/class/node.tag/priority/node.def @@ -1,4 +1,3 @@ type: u32 -default: 1 -help: Priority for usage of extra bandwidth -syntax:expression: ($VAR(@) > 0 && $VAR(@) < 10) ; "priority must be between 1 and 10" +help: Priority for usage of excess bandwidth +syntax:expression: ($VAR(@) > 0 && $VAR(@) < 1000) ; "priority must be between 1 and 1000" diff --git a/templates/qos-policy/traffic-shaper/node.tag/default/priority/node.def b/templates/qos-policy/traffic-shaper/node.tag/default/priority/node.def index b22c6e1..d4f3391 100644 --- a/templates/qos-policy/traffic-shaper/node.tag/default/priority/node.def +++ b/templates/qos-policy/traffic-shaper/node.tag/default/priority/node.def @@ -1,4 +1,3 @@ type: u32 -default: 8 help: Priority for usage of extra bandwidth -syntax:expression: ($VAR(@) > 0 && $VAR(@) < 10) ; "priority must be between 1 and 10" +syntax:expression: ($VAR(@) > 0 && $VAR(@) < 1000) ; "priority must be between 1 and 1000" -- cgit v1.2.3