summaryrefslogtreecommitdiff
path: root/templates/traffic-policy/rate-control
diff options
context:
space:
mode:
Diffstat (limited to 'templates/traffic-policy/rate-control')
-rw-r--r--templates/traffic-policy/rate-control/node.tag/bandwidth/node.def8
-rw-r--r--templates/traffic-policy/rate-control/node.tag/burst/node.def6
-rw-r--r--templates/traffic-policy/rate-control/node.tag/latency/node.def5
3 files changed, 7 insertions, 12 deletions
diff --git a/templates/traffic-policy/rate-control/node.tag/bandwidth/node.def b/templates/traffic-policy/rate-control/node.tag/bandwidth/node.def
index 762654e..22b4e23 100644
--- a/templates/traffic-policy/rate-control/node.tag/bandwidth/node.def
+++ b/templates/traffic-policy/rate-control/node.tag/bandwidth/node.def
@@ -1,9 +1,5 @@
type: txt
help: Bandwidth limit
syntax:expression: exec "/opt/vyatta/sbin/vyatta-qos-util.pl --rate $VAR(@)"
-comp_help: Allowed values:
- <number> Bandwidth in Kbps per second
- <number><suffix> Value with scaling suffix
- bits per sec (kbit, mbit, gbit)
- bytes per sec (kbps, mbps, gbps)
-
+val_help:<number>; Rate in k (1000) bytes per second
+val_help:<number><suffix>; Rate with scaling suffix (mbit, mbps, ...)
diff --git a/templates/traffic-policy/rate-control/node.tag/burst/node.def b/templates/traffic-policy/rate-control/node.tag/burst/node.def
index e23bca1..b9f3aa0 100644
--- a/templates/traffic-policy/rate-control/node.tag/burst/node.def
+++ b/templates/traffic-policy/rate-control/node.tag/burst/node.def
@@ -2,6 +2,6 @@ type: txt
help: Burst size
default: "15k"
syntax:expression: exec "/opt/vyatta/sbin/vyatta-qos-util.pl --burst $VAR(@)"
-comp_help: Allowed values:
- <number> Burst size in bytes
- <number><suffix> Size with scaling suffix (kb, mb, gb)
+
+val_help:<number>; Bytes
+val_help:<number><suffix>; Bytes with scaling suffix (kb, mb, gb)
diff --git a/templates/traffic-policy/rate-control/node.tag/latency/node.def b/templates/traffic-policy/rate-control/node.tag/latency/node.def
index af35ced..89196dd 100644
--- a/templates/traffic-policy/rate-control/node.tag/latency/node.def
+++ b/templates/traffic-policy/rate-control/node.tag/latency/node.def
@@ -2,6 +2,5 @@ type: txt
syntax:expression: exec "/opt/vyatta/sbin/vyatta-qos-util.pl --time $VAR(@)"
default: "50ms"
help: Maximum latency
-comp_help: Limit on the queue size based on latency
- <number> Latency in milliseconds
- <number><suffix> Time with suffx (secs, ms, us)
+val_help:<number>; Time in milliseconds
+val_help:<number><suffix>; Time with suffix (secs, ms, us)