diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-07-16 12:38:30 -0700 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-07-16 16:24:43 -0700 |
commit | 658e7a9769a37dc53d873c53de0d461f3b7b6024 (patch) | |
tree | 05e68772a53cbe86a8398b348fc0853e006aef5b /templates/traffic-policy/rate-control | |
parent | 5108933b8bb6eebc019e59e25a2a8ebcd858b58d (diff) | |
download | vyatta-cfg-qos-658e7a9769a37dc53d873c53de0d461f3b7b6024.tar.gz vyatta-cfg-qos-658e7a9769a37dc53d873c53de0d461f3b7b6024.zip |
Use val_help: to show command options
Replace all usage in this package of comp_help with new val_help
Diffstat (limited to 'templates/traffic-policy/rate-control')
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) |