diff options
3 files changed, 9 insertions, 3 deletions
diff --git a/scripts/VyattaQosTrafficShaper.pm b/scripts/VyattaQosTrafficShaper.pm index 4ea494c..b3a05a6 100644 --- a/scripts/VyattaQosTrafficShaper.pm +++ b/scripts/VyattaQosTrafficShaper.pm @@ -255,7 +255,7 @@ sub _getAutoRate { if ( $rate eq "auto" ) { $rate = VyattaQosUtil::interfaceRate($dev); if ( ! defined $rate ) { - die "Interface speed defined as auto but can't get rate from $dev\n"; + die "Interface $dev speed cannot be determined; use explicit bandwidth value\n"; } } else { $rate = VyattaQosUtil::getRate($rate); 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 0358c91..296e6c1 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,3 +1,6 @@ type: u32 help: Set priority for usage of excess bandwidth -syntax:expression: ($VAR(@) > 0 && $VAR(@) < 1000) ; "priority must be between 1 and 1000" +syntax:expression: $VAR(@) >= 0 && $VAR(@) < 8 ; "priority must be between 0 than 7" +help: Priority value +comp_help: Priority for usage of excess bandwidth + <0-7> (default 0) 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 74f82cd..cdec2b2 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,3 +1,6 @@ type: u32 help: Set priority for usage of extra bandwidth -syntax:expression: ($VAR(@) > 0 && $VAR(@) < 1000) ; "priority must be between 1 and 1000" +syntax:expression: $VAR(@) >= 0 && $VAR(@) < 8 ; "priority must be between 0 than 7" +help: Priority value +comp_help: Priority for usage of excess bandwidth + <0-7> (default 0) |