diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-07-16 11:50:28 -0700 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-07-16 11:50:28 -0700 |
commit | 5108933b8bb6eebc019e59e25a2a8ebcd858b58d (patch) | |
tree | 6bb0af87e92f191db9906e3e793671dd49f1fd81 /templates/traffic-policy/shaper | |
parent | 2fec7765432ce770d0d44553a61c553091c76567 (diff) | |
download | vyatta-cfg-qos-5108933b8bb6eebc019e59e25a2a8ebcd858b58d.tar.gz vyatta-cfg-qos-5108933b8bb6eebc019e59e25a2a8ebcd858b58d.zip |
Remove verb from help string text
And fix some typos
Diffstat (limited to 'templates/traffic-policy/shaper')
35 files changed, 35 insertions, 35 deletions
diff --git a/templates/traffic-policy/shaper/node.def b/templates/traffic-policy/shaper/node.def index cd7b07d..d7d9d3f 100644 --- a/templates/traffic-policy/shaper/node.def +++ b/templates/traffic-policy/shaper/node.def @@ -1,6 +1,6 @@ tag: type: txt -help: Set traffic shaping based policy +help: Traffic shaping based policy syntax:expression: pattern $VAR(@) "^[[:alnum:]][-_[:alnum:]]*$" ; "only alpha-numeric policy name allowed" create: /opt/vyatta/sbin/vyatta-qos.pl --create-policy $VAR(.) $VAR(@) diff --git a/templates/traffic-policy/shaper/node.tag/bandwidth/node.def b/templates/traffic-policy/shaper/node.tag/bandwidth/node.def index eb0d4d9..b2b2206 100644 --- a/templates/traffic-policy/shaper/node.tag/bandwidth/node.def +++ b/templates/traffic-policy/shaper/node.tag/bandwidth/node.def @@ -1,5 +1,5 @@ type: txt -help: Set the available bandwidth for this policy +help: Available bandwidth for this policy default: "auto" syntax:expression: $VAR(@) == "auto" || \ exec "/opt/vyatta/sbin/vyatta-qos-util.pl --rate $VAR(@)" diff --git a/templates/traffic-policy/shaper/node.tag/class/node.def b/templates/traffic-policy/shaper/node.tag/class/node.def index 8d2bbf4..9e73e14 100644 --- a/templates/traffic-policy/shaper/node.tag/class/node.def +++ b/templates/traffic-policy/shaper/node.tag/class/node.def @@ -1,6 +1,6 @@ tag: type: u32 -help: Set class handle +help: Class handle syntax:expression: $VAR(@) > 1 && $VAR(@) < 4096; "Class identifier must be between 2 and 4095" comp_help: possible completions <2-4095> Class ID diff --git a/templates/traffic-policy/shaper/node.tag/class/node.tag/bandwidth/node.def b/templates/traffic-policy/shaper/node.tag/class/node.tag/bandwidth/node.def index 91d7762..0f65b6c 100644 --- a/templates/traffic-policy/shaper/node.tag/class/node.tag/bandwidth/node.def +++ b/templates/traffic-policy/shaper/node.tag/class/node.tag/bandwidth/node.def @@ -1,6 +1,6 @@ type: txt default: "100%" -help: Set the bandwidth used for this class +help: Bandwidth used for this class syntax:expression: exec "/opt/vyatta/sbin/vyatta-qos-util.pl --percent-or-rate $VAR(@)" comp_help: Allowed values: <number> Bandwidth in Kbps diff --git a/templates/traffic-policy/shaper/node.tag/class/node.tag/burst/node.def b/templates/traffic-policy/shaper/node.tag/class/node.tag/burst/node.def index e22453c..f6bca12 100644 --- a/templates/traffic-policy/shaper/node.tag/class/node.tag/burst/node.def +++ b/templates/traffic-policy/shaper/node.tag/class/node.tag/burst/node.def @@ -1,5 +1,5 @@ type: txt -help: Set the burst size for this class (default: 15kb) +help: Burst size for this class (default: 15kb) default: "15k" syntax:expression: exec "/opt/vyatta/sbin/vyatta-qos-util.pl --burst $VAR(@)" comp_help: Allowed values: diff --git a/templates/traffic-policy/shaper/node.tag/class/node.tag/ceiling/node.def b/templates/traffic-policy/shaper/node.tag/class/node.tag/ceiling/node.def index 09ba853..d80f618 100644 --- a/templates/traffic-policy/shaper/node.tag/class/node.tag/ceiling/node.def +++ b/templates/traffic-policy/shaper/node.tag/class/node.tag/ceiling/node.def @@ -1,5 +1,5 @@ type: txt -help: Set the bandwidth limit for this class +help: Bandwidth limit for this class syntax:expression: exec "/opt/vyatta/sbin/vyatta-qos-util.pl --percent-or-rate $VAR(@)" comp_help: Allowed values: <number> Limit in Kbps diff --git a/templates/traffic-policy/shaper/node.tag/class/node.tag/description/node.def b/templates/traffic-policy/shaper/node.tag/class/node.tag/description/node.def index d4241e7..9a24868 100644 --- a/templates/traffic-policy/shaper/node.tag/class/node.tag/description/node.def +++ b/templates/traffic-policy/shaper/node.tag/class/node.tag/description/node.def @@ -1,2 +1,2 @@ type: txt -help: Set description for this traffic class +help: Description for this traffic class diff --git a/templates/traffic-policy/shaper/node.tag/class/node.tag/match/node.def b/templates/traffic-policy/shaper/node.tag/class/node.tag/match/node.def index 2a5d021..cde128f 100644 --- a/templates/traffic-policy/shaper/node.tag/class/node.tag/match/node.def +++ b/templates/traffic-policy/shaper/node.tag/class/node.tag/match/node.def @@ -1,4 +1,4 @@ tag: type: txt syntax:expression: pattern $VAR(@) "^[^-]" ; "Match queue name cannot start with \"-\"" -help: Set class matching rule name +help: Class matching rule name diff --git a/templates/traffic-policy/shaper/node.tag/class/node.tag/match/node.tag/description/node.def b/templates/traffic-policy/shaper/node.tag/class/node.tag/match/node.tag/description/node.def index a56c59c..903f260 100644 --- a/templates/traffic-policy/shaper/node.tag/class/node.tag/match/node.tag/description/node.def +++ b/templates/traffic-policy/shaper/node.tag/class/node.tag/match/node.tag/description/node.def @@ -1,2 +1,2 @@ type: txt -help: Set description for this match +help: Description for this match diff --git a/templates/traffic-policy/shaper/node.tag/class/node.tag/match/node.tag/ether/destination/node.def b/templates/traffic-policy/shaper/node.tag/class/node.tag/match/node.tag/ether/destination/node.def index e8be347..92fb9a9 100644 --- a/templates/traffic-policy/shaper/node.tag/class/node.tag/match/node.tag/ether/destination/node.def +++ b/templates/traffic-policy/shaper/node.tag/class/node.tag/match/node.tag/ether/destination/node.def @@ -1,2 +1,2 @@ type: macaddr -help: Set the Ethernet destination address for this match +help: Ethernet destination address for this match diff --git a/templates/traffic-policy/shaper/node.tag/class/node.tag/match/node.tag/ether/node.def b/templates/traffic-policy/shaper/node.tag/class/node.tag/match/node.tag/ether/node.def index 28764b3..454c1ed 100644 --- a/templates/traffic-policy/shaper/node.tag/class/node.tag/match/node.tag/ether/node.def +++ b/templates/traffic-policy/shaper/node.tag/class/node.tag/match/node.tag/ether/node.def @@ -1 +1 @@ -help: Set Ethernet header match +help: Ethernet header match diff --git a/templates/traffic-policy/shaper/node.tag/class/node.tag/match/node.tag/ether/protocol/node.def b/templates/traffic-policy/shaper/node.tag/class/node.tag/match/node.tag/ether/protocol/node.def index 824405b..102a12e 100644 --- a/templates/traffic-policy/shaper/node.tag/class/node.tag/match/node.tag/ether/protocol/node.def +++ b/templates/traffic-policy/shaper/node.tag/class/node.tag/match/node.tag/ether/protocol/node.def @@ -1,5 +1,5 @@ type: txt -help: Set Ethernet protocol for this match +help: Ethernet protocol for this match allowed: echo \ all 802.1Q 802_2 802_3 aarp aoe arp atalk \ dec ip ipv6 ipx lat localtalk rarp snap x25 diff --git a/templates/traffic-policy/shaper/node.tag/class/node.tag/match/node.tag/ether/source/node.def b/templates/traffic-policy/shaper/node.tag/class/node.tag/match/node.tag/ether/source/node.def index b993af6..3094167 100644 --- a/templates/traffic-policy/shaper/node.tag/class/node.tag/match/node.tag/ether/source/node.def +++ b/templates/traffic-policy/shaper/node.tag/class/node.tag/match/node.tag/ether/source/node.def @@ -1,2 +1,2 @@ type: macaddr -help: Set the Ethernet source address for this match +help: Ethernet source address for this match diff --git a/templates/traffic-policy/shaper/node.tag/class/node.tag/match/node.tag/interface/node.def b/templates/traffic-policy/shaper/node.tag/class/node.tag/match/node.tag/interface/node.def index bb0c1e3..f12c59c 100644 --- a/templates/traffic-policy/shaper/node.tag/class/node.tag/match/node.tag/interface/node.def +++ b/templates/traffic-policy/shaper/node.tag/class/node.tag/match/node.tag/interface/node.def @@ -1,5 +1,5 @@ type: txt -help: Set interface name for this match +help: Interface name for this match syntax:expression: exec "[ -f /sys/class/net/$VAR(@)/ifindex ]" ; "Interface must already exist" allowed: local -a array array=( /sys/class/net/* ) diff --git a/templates/traffic-policy/shaper/node.tag/class/node.tag/match/node.tag/ip/destination/address/node.def b/templates/traffic-policy/shaper/node.tag/class/node.tag/match/node.tag/ip/destination/address/node.def index ccd2d14..8d02285 100644 --- a/templates/traffic-policy/shaper/node.tag/class/node.tag/match/node.tag/ip/destination/address/node.def +++ b/templates/traffic-policy/shaper/node.tag/class/node.tag/match/node.tag/ip/destination/address/node.def @@ -1,2 +1,2 @@ type: ipv4net -help: Set IP destination address for this match +help: IP destination address for this match diff --git a/templates/traffic-policy/shaper/node.tag/class/node.tag/match/node.tag/ip/destination/port/node.def b/templates/traffic-policy/shaper/node.tag/class/node.tag/match/node.tag/ip/destination/port/node.def index 561899c..fd145a5 100644 --- a/templates/traffic-policy/shaper/node.tag/class/node.tag/match/node.tag/ip/destination/port/node.def +++ b/templates/traffic-policy/shaper/node.tag/class/node.tag/match/node.tag/ip/destination/port/node.def @@ -1,3 +1,3 @@ type: u32 -help: Set IP destination port for this match +help: IP destination port for this match syntax:expression: ($VAR(@) > 0 && $VAR(@) < 65536) ; "port must be between 1 and 65535" diff --git a/templates/traffic-policy/shaper/node.tag/class/node.tag/match/node.tag/ip/source/address/node.def b/templates/traffic-policy/shaper/node.tag/class/node.tag/match/node.tag/ip/source/address/node.def index 0bc690a..6053344 100644 --- a/templates/traffic-policy/shaper/node.tag/class/node.tag/match/node.tag/ip/source/address/node.def +++ b/templates/traffic-policy/shaper/node.tag/class/node.tag/match/node.tag/ip/source/address/node.def @@ -1,2 +1,2 @@ type: ipv4net -help: Set IP source address for this match +help: IP source address for this match diff --git a/templates/traffic-policy/shaper/node.tag/class/node.tag/match/node.tag/ip/source/port/node.def b/templates/traffic-policy/shaper/node.tag/class/node.tag/match/node.tag/ip/source/port/node.def index ecd96ab..61247fd 100644 --- a/templates/traffic-policy/shaper/node.tag/class/node.tag/match/node.tag/ip/source/port/node.def +++ b/templates/traffic-policy/shaper/node.tag/class/node.tag/match/node.tag/ip/source/port/node.def @@ -1,3 +1,3 @@ type: u32 -help: Set IP source port for this match +help: IP source port for this match syntax:expression: ($VAR(@) > 0 && $VAR(@) < 65536) ; "port must be between 1 and 65535" diff --git a/templates/traffic-policy/shaper/node.tag/class/node.tag/match/node.tag/ipv6/destination/address/node.def b/templates/traffic-policy/shaper/node.tag/class/node.tag/match/node.tag/ipv6/destination/address/node.def index 2f608f8..3fbbc31 100644 --- a/templates/traffic-policy/shaper/node.tag/class/node.tag/match/node.tag/ipv6/destination/address/node.def +++ b/templates/traffic-policy/shaper/node.tag/class/node.tag/match/node.tag/ipv6/destination/address/node.def @@ -1,2 +1,2 @@ type: ipv6net -help: Set IP destination address for this match +help: IP destination address for this match diff --git a/templates/traffic-policy/shaper/node.tag/class/node.tag/match/node.tag/ipv6/destination/port/node.def b/templates/traffic-policy/shaper/node.tag/class/node.tag/match/node.tag/ipv6/destination/port/node.def index 561899c..fd145a5 100644 --- a/templates/traffic-policy/shaper/node.tag/class/node.tag/match/node.tag/ipv6/destination/port/node.def +++ b/templates/traffic-policy/shaper/node.tag/class/node.tag/match/node.tag/ipv6/destination/port/node.def @@ -1,3 +1,3 @@ type: u32 -help: Set IP destination port for this match +help: IP destination port for this match syntax:expression: ($VAR(@) > 0 && $VAR(@) < 65536) ; "port must be between 1 and 65535" diff --git a/templates/traffic-policy/shaper/node.tag/class/node.tag/match/node.tag/ipv6/source/address/node.def b/templates/traffic-policy/shaper/node.tag/class/node.tag/match/node.tag/ipv6/source/address/node.def index 23c96c2..9071a74 100644 --- a/templates/traffic-policy/shaper/node.tag/class/node.tag/match/node.tag/ipv6/source/address/node.def +++ b/templates/traffic-policy/shaper/node.tag/class/node.tag/match/node.tag/ipv6/source/address/node.def @@ -1,2 +1,2 @@ type: ipv6net -help: Set IP source address for this match +help: IP source address for this match diff --git a/templates/traffic-policy/shaper/node.tag/class/node.tag/match/node.tag/ipv6/source/port/node.def b/templates/traffic-policy/shaper/node.tag/class/node.tag/match/node.tag/ipv6/source/port/node.def index ecd96ab..61247fd 100644 --- a/templates/traffic-policy/shaper/node.tag/class/node.tag/match/node.tag/ipv6/source/port/node.def +++ b/templates/traffic-policy/shaper/node.tag/class/node.tag/match/node.tag/ipv6/source/port/node.def @@ -1,3 +1,3 @@ type: u32 -help: Set IP source port for this match +help: IP source port for this match syntax:expression: ($VAR(@) > 0 && $VAR(@) < 65536) ; "port must be between 1 and 65535" diff --git a/templates/traffic-policy/shaper/node.tag/class/node.tag/match/node.tag/vif/node.def b/templates/traffic-policy/shaper/node.tag/class/node.tag/match/node.tag/vif/node.def index e22250d..f98cda5 100644 --- a/templates/traffic-policy/shaper/node.tag/class/node.tag/match/node.tag/vif/node.def +++ b/templates/traffic-policy/shaper/node.tag/class/node.tag/match/node.tag/vif/node.def @@ -1,5 +1,5 @@ type: u32 -help: Set Virtual Local Area Network (VLAN) ID for this match +help: Virtual Local Area Network (VLAN) ID for this match syntax:expression: $VAR(@) >= 0 && $VAR(@) <= 4095; "VLAN ID must be between 0 and 4095" comp_help: possible completions: <0-4095> Set VLAN ID diff --git a/templates/traffic-policy/shaper/node.tag/class/node.tag/priority/node.def b/templates/traffic-policy/shaper/node.tag/class/node.tag/priority/node.def index bcf8d0d..0013044 100644 --- a/templates/traffic-policy/shaper/node.tag/class/node.tag/priority/node.def +++ b/templates/traffic-policy/shaper/node.tag/class/node.tag/priority/node.def @@ -1,5 +1,5 @@ type: u32 -help: Set priority for usage of excess bandwidth +help: Priority for usage of excess bandwidth syntax:expression: $VAR(@) >= 0 && $VAR(@) < 8 ; "priority must be between 0 than 7" comp_help: Priority for usage of excess bandwidth <0-7> (default 0) diff --git a/templates/traffic-policy/shaper/node.tag/class/node.tag/queue-limit/node.def b/templates/traffic-policy/shaper/node.tag/class/node.tag/queue-limit/node.def index ef684e3..f0dfee8 100644 --- a/templates/traffic-policy/shaper/node.tag/class/node.tag/queue-limit/node.def +++ b/templates/traffic-policy/shaper/node.tag/class/node.tag/queue-limit/node.def @@ -1,4 +1,4 @@ type: u32 -help: Set maximum queue size (packets) +help: Maximum queue size (packets) syntax:expression: $VAR(@) > 1 && $VAR(@) < 128;\ "Queue limit must greater than 1 and less than 128" diff --git a/templates/traffic-policy/shaper/node.tag/class/node.tag/queue-type/node.def b/templates/traffic-policy/shaper/node.tag/class/node.tag/queue-type/node.def index 295c04c..b2c6b9a 100644 --- a/templates/traffic-policy/shaper/node.tag/class/node.tag/queue-type/node.def +++ b/templates/traffic-policy/shaper/node.tag/class/node.tag/queue-type/node.def @@ -1,7 +1,7 @@ type: txt default: "fair-queue" syntax:expression: $VAR(@) in "fair-queue", "priority", "drop-tail", "random-detect"; "Unknown queue-type" -help: Set the queue type for this class +help: Queue type for this class comp_help:Possible completions fair-queue\tStochastic Fair Queue (SFQ) drop-tail\tFirst-In-First-Out (FIFO) diff --git a/templates/traffic-policy/shaper/node.tag/default/bandwidth/node.def b/templates/traffic-policy/shaper/node.tag/default/bandwidth/node.def index f0bc773..cb7e989 100644 --- a/templates/traffic-policy/shaper/node.tag/default/bandwidth/node.def +++ b/templates/traffic-policy/shaper/node.tag/default/bandwidth/node.def @@ -1,5 +1,5 @@ type: txt -help: Set the bandwidth used for default traffic [REQUIRED] +help: Bandwidth used for default traffic [REQUIRED] syntax:expression: exec "/opt/vyatta/sbin/vyatta-qos-util.pl --percent-or-rate \$VAR(@)" comp_help: Allowed values: <number> Bandwidth in Kbps per second diff --git a/templates/traffic-policy/shaper/node.tag/default/burst/node.def b/templates/traffic-policy/shaper/node.tag/default/burst/node.def index f21eb9b..42b1de6 100644 --- a/templates/traffic-policy/shaper/node.tag/default/burst/node.def +++ b/templates/traffic-policy/shaper/node.tag/default/burst/node.def @@ -1,5 +1,5 @@ type: txt -help: Set the burst size for default traffic +help: Burst size for default traffic default: "15k" syntax:expression: exec "/opt/vyatta/sbin/vyatta-qos-util.pl --burst $VAR(@)" comp_help: Allowed values: diff --git a/templates/traffic-policy/shaper/node.tag/default/ceiling/node.def b/templates/traffic-policy/shaper/node.tag/default/ceiling/node.def index a0cc58b..974b5d2 100644 --- a/templates/traffic-policy/shaper/node.tag/default/ceiling/node.def +++ b/templates/traffic-policy/shaper/node.tag/default/ceiling/node.def @@ -1,5 +1,5 @@ type: txt -help: Set the bandwidth limit for default traffic +help: Bandwidth limit for default traffic syntax:expression: exec "/opt/vyatta/sbin/vyatta-qos-util.pl --percent-or-rate $VAR(@)" comp_help: Allowed values: <number> Limit in Kbps diff --git a/templates/traffic-policy/shaper/node.tag/default/node.def b/templates/traffic-policy/shaper/node.tag/default/node.def index de9cd5c..142cba3 100644 --- a/templates/traffic-policy/shaper/node.tag/default/node.def +++ b/templates/traffic-policy/shaper/node.tag/default/node.def @@ -1 +1 @@ -help: Set default policy +help: Default policy diff --git a/templates/traffic-policy/shaper/node.tag/default/priority/node.def b/templates/traffic-policy/shaper/node.tag/default/priority/node.def index 54f529b..348794e 100644 --- a/templates/traffic-policy/shaper/node.tag/default/priority/node.def +++ b/templates/traffic-policy/shaper/node.tag/default/priority/node.def @@ -1,5 +1,5 @@ type: u32 -help: Set priority for usage of extra bandwidth +help: Priority for usage of extra bandwidth syntax:expression: $VAR(@) >= 0 && $VAR(@) < 8 ; "priority must be between 0 than 7" comp_help: Priority for usage of excess bandwidth <0-7> (default 0) diff --git a/templates/traffic-policy/shaper/node.tag/default/queue-limit/node.def b/templates/traffic-policy/shaper/node.tag/default/queue-limit/node.def index 14b710d..8574d42 100644 --- a/templates/traffic-policy/shaper/node.tag/default/queue-limit/node.def +++ b/templates/traffic-policy/shaper/node.tag/default/queue-limit/node.def @@ -1,3 +1,3 @@ type: u32 -help: Set maximum queue size (packets) +help: Maximum queue size (packets) syntax:expression: $VAR(@) > 0; "Queue limit must be greater than zero" diff --git a/templates/traffic-policy/shaper/node.tag/default/queue-type/node.def b/templates/traffic-policy/shaper/node.tag/default/queue-type/node.def index 295c04c..10928c1 100644 --- a/templates/traffic-policy/shaper/node.tag/default/queue-type/node.def +++ b/templates/traffic-policy/shaper/node.tag/default/queue-type/node.def @@ -1,7 +1,7 @@ type: txt default: "fair-queue" syntax:expression: $VAR(@) in "fair-queue", "priority", "drop-tail", "random-detect"; "Unknown queue-type" -help: Set the queue type for this class +help: Queue type for default traffic comp_help:Possible completions fair-queue\tStochastic Fair Queue (SFQ) drop-tail\tFirst-In-First-Out (FIFO) diff --git a/templates/traffic-policy/shaper/node.tag/default/set-dscp/node.def b/templates/traffic-policy/shaper/node.tag/default/set-dscp/node.def index a469ae8..55d43c3 100644 --- a/templates/traffic-policy/shaper/node.tag/default/set-dscp/node.def +++ b/templates/traffic-policy/shaper/node.tag/default/set-dscp/node.def @@ -1,5 +1,5 @@ type: txt -help: Change the Differentiated Services (DiffServ) field in the IP header +help: Modified Differentiated Services (DiffServ) value syntax:expression: exec "/opt/vyatta/sbin/vyatta-qos-util.pl --dscp $VAR(@)" allowed: awk ' /^#/ { next } diff --git a/templates/traffic-policy/shaper/node.tag/description/node.def b/templates/traffic-policy/shaper/node.tag/description/node.def index 1e8e64f..1da9e34 100644 --- a/templates/traffic-policy/shaper/node.tag/description/node.def +++ b/templates/traffic-policy/shaper/node.tag/description/node.def @@ -1,2 +1,2 @@ type: txt -help: Set description for this queuing policy +help: Description for this queuing policy |