diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-07-19 14:05:44 -0700 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-07-19 14:05:44 -0700 |
commit | 06e3123122da9b351418c4a9773ae431e16323bb (patch) | |
tree | 180c9ed177175bc7c73fb751b14d59e779d6fa14 /templates/traffic-policy/network-emulator | |
parent | 41315ae8e41ddfb94c6d7a46f33b0ad4cb733de3 (diff) | |
download | vyatta-cfg-qos-06e3123122da9b351418c4a9773ae431e16323bb.tar.gz vyatta-cfg-qos-06e3123122da9b351418c4a9773ae431e16323bb.zip |
Cleanup usage of val_help:
Add spaces and use u32: format
Diffstat (limited to 'templates/traffic-policy/network-emulator')
7 files changed, 15 insertions, 10 deletions
diff --git a/templates/traffic-policy/network-emulator/node.tag/bandwidth/node.def b/templates/traffic-policy/network-emulator/node.tag/bandwidth/node.def index 22b4e23..7f08b01 100644 --- a/templates/traffic-policy/network-emulator/node.tag/bandwidth/node.def +++ b/templates/traffic-policy/network-emulator/node.tag/bandwidth/node.def @@ -1,5 +1,6 @@ type: txt help: Bandwidth limit syntax:expression: exec "/opt/vyatta/sbin/vyatta-qos-util.pl --rate $VAR(@)" -val_help:<number>; Rate in k (1000) bytes per second -val_help:<number><suffix>; Rate with scaling suffix (mbit, mbps, ...) + +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/network-emulator/node.tag/burst/node.def b/templates/traffic-policy/network-emulator/node.tag/burst/node.def index 493e0fc..0889449 100644 --- a/templates/traffic-policy/network-emulator/node.tag/burst/node.def +++ b/templates/traffic-policy/network-emulator/node.tag/burst/node.def @@ -2,5 +2,6 @@ type: txt help: Burst size default: "15k" syntax:expression: exec "/opt/vyatta/sbin/vyatta-qos-util.pl --burst $VAR(@)" -val_help:<number>; Bytes -val_help:<number><suffix>; Bytes 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/network-emulator/node.tag/network-delay/node.def b/templates/traffic-policy/network-emulator/node.tag/network-delay/node.def index 7455a38..1e6d9a1 100644 --- a/templates/traffic-policy/network-emulator/node.tag/network-delay/node.def +++ b/templates/traffic-policy/network-emulator/node.tag/network-delay/node.def @@ -1,5 +1,6 @@ type: txt syntax:expression: exec "/opt/vyatta/sbin/vyatta-qos-util.pl --time $VAR(@)" help: Additional network delay -val_help:<number>; Time in milliseconds -val_help:<number><suffix>; Time with suffix (secs, ms, us) + +val_help: <number>; Time in milliseconds +val_help: <number><suffix>; Time with suffix (secs, ms, us) diff --git a/templates/traffic-policy/network-emulator/node.tag/packet-corruption/node.def b/templates/traffic-policy/network-emulator/node.tag/packet-corruption/node.def index c875ad5..7679492 100644 --- a/templates/traffic-policy/network-emulator/node.tag/packet-corruption/node.def +++ b/templates/traffic-policy/network-emulator/node.tag/packet-corruption/node.def @@ -1,5 +1,6 @@ type: txt help: Emulated packet data corruption rate syntax:expression: exec "/opt/vyatta/sbin/vyatta-qos-util.pl --percent $VAR(@)" -val_help:<number>%%; Percentage of packets affected + +val_help: <number>%%; Percentage of packets affected diff --git a/templates/traffic-policy/network-emulator/node.tag/packet-loss/node.def b/templates/traffic-policy/network-emulator/node.tag/packet-loss/node.def index 4765fd5..e94096a 100644 --- a/templates/traffic-policy/network-emulator/node.tag/packet-loss/node.def +++ b/templates/traffic-policy/network-emulator/node.tag/packet-loss/node.def @@ -1,5 +1,6 @@ type: txt help: Emulated packet loss rate syntax:expression: exec "/opt/vyatta/sbin/vyatta-qos-util.pl --percent $VAR(@)" -val_help:<number>%%; Percentage of packets affected + +val_help: <number>%%; Percentage of packets affected diff --git a/templates/traffic-policy/network-emulator/node.tag/packet-reordering/node.def b/templates/traffic-policy/network-emulator/node.tag/packet-reordering/node.def index 654bec3..4b4a1ad 100644 --- a/templates/traffic-policy/network-emulator/node.tag/packet-reordering/node.def +++ b/templates/traffic-policy/network-emulator/node.tag/packet-reordering/node.def @@ -3,5 +3,5 @@ help: Emulated packet reordering percentage syntax:expression: exec "/opt/vyatta/sbin/vyatta-qos-util.pl --percent $VAR(@)" commit:expression: $VAR(../network-delay) != "" ; \ "Must specify network-delay for packet reordering" -val_help:<number>%%; Percentage of packets affected +val_help: <number>%%; Percentage of packets affected diff --git a/templates/traffic-policy/network-emulator/node.tag/queue-limit/node.def b/templates/traffic-policy/network-emulator/node.tag/queue-limit/node.def index a1fb213..dd70472 100644 --- a/templates/traffic-policy/network-emulator/node.tag/queue-limit/node.def +++ b/templates/traffic-policy/network-emulator/node.tag/queue-limit/node.def @@ -1,4 +1,4 @@ type: u32 help: Maximum queue size (packets) syntax:expression: $VAR(@) > 0; "Queue limit must be greater than zero" -val_help:<1-4294967295>; Queue size in bytes +val_help: u32:1-4294967295; Queue size in bytes |