summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMohit Mehta <mohit.mehta@vyatta.com>2008-04-08 22:41:19 +0000
committerMohit Mehta <mohit.mehta@vyatta.com>2008-04-08 22:41:19 +0000
commitc560dd890c9420f1fe61ac6d37eea2f5c558cda3 (patch)
tree004412d234497137374a4a9b3de821f834dd348b
parent6f02332fa56d02c6a4ae46b2c46c72a0b7d57e4a (diff)
downloadvyatta-wanloadbalance-c560dd890c9420f1fe61ac6d37eea2f5c558cda3.tar.gz
vyatta-wanloadbalance-c560dd890c9420f1fe61ac6d37eea2f5c558cda3.zip
Fix Bug 3069 Help strings should be standardized
- help strings standardized in vyatta-wanloadbalance
-rw-r--r--templates/load-balancing/node.def2
-rw-r--r--templates/load-balancing/wan/interface-health/node.def2
-rw-r--r--templates/load-balancing/wan/interface-health/node.tag/failure-count/node.def2
-rw-r--r--templates/load-balancing/wan/interface-health/node.tag/ping/node.def2
-rw-r--r--templates/load-balancing/wan/interface-health/node.tag/resp-time/node.def2
-rw-r--r--templates/load-balancing/wan/interface-health/node.tag/success-count/node.def2
-rw-r--r--templates/load-balancing/wan/node.def2
-rw-r--r--templates/load-balancing/wan/rule/node.def2
-rw-r--r--templates/load-balancing/wan/rule/node.tag/destination/address/node.def14
-rw-r--r--templates/load-balancing/wan/rule/node.tag/destination/node.def2
-rw-r--r--templates/load-balancing/wan/rule/node.tag/destination/port/node.def4
-rw-r--r--templates/load-balancing/wan/rule/node.tag/interface/node.def2
-rw-r--r--templates/load-balancing/wan/rule/node.tag/interface/node.tag/weight/node.def2
-rw-r--r--templates/load-balancing/wan/rule/node.tag/protocol/node.def4
-rw-r--r--templates/load-balancing/wan/rule/node.tag/source/address/node.def14
-rw-r--r--templates/load-balancing/wan/rule/node.tag/source/node.def2
-rw-r--r--templates/load-balancing/wan/rule/node.tag/source/port/node.def4
-rw-r--r--templates/show/wan-load-balance/node.def2
-rw-r--r--templates/show/wan-load-balance/status/node.def2
19 files changed, 34 insertions, 34 deletions
diff --git a/templates/load-balancing/node.def b/templates/load-balancing/node.def
index a649791..b614f26 100644
--- a/templates/load-balancing/node.def
+++ b/templates/load-balancing/node.def
@@ -1,2 +1,2 @@
-help: load-balance configuration
+help: Configure load-balancing
diff --git a/templates/load-balancing/wan/interface-health/node.def b/templates/load-balancing/wan/interface-health/node.def
index b6f1d4e..75cadd9 100644
--- a/templates/load-balancing/wan/interface-health/node.def
+++ b/templates/load-balancing/wan/interface-health/node.def
@@ -1,4 +1,4 @@
tag:
type: txt
-help: interface name
+help: Set interface name
diff --git a/templates/load-balancing/wan/interface-health/node.tag/failure-count/node.def b/templates/load-balancing/wan/interface-health/node.tag/failure-count/node.def
index 92a8b53..e3c3d10 100644
--- a/templates/load-balancing/wan/interface-health/node.tag/failure-count/node.def
+++ b/templates/load-balancing/wan/interface-health/node.tag/failure-count/node.def
@@ -1,6 +1,6 @@
type: u32
default: 1
syntax:expression: $VAR(@) >= 0 && $VAR(@) <= 10; "failure count must be between 1-10"
-help: Failure count
+help: Set failure count
comp_help: possible completions:
<1-10> set failure count
diff --git a/templates/load-balancing/wan/interface-health/node.tag/ping/node.def b/templates/load-balancing/wan/interface-health/node.tag/ping/node.def
index 96338f4..e44ae5c 100644
--- a/templates/load-balancing/wan/interface-health/node.tag/ping/node.def
+++ b/templates/load-balancing/wan/interface-health/node.tag/ping/node.def
@@ -1,2 +1,2 @@
type: txt
-help: health test destination
+help: Set health test destination
diff --git a/templates/load-balancing/wan/interface-health/node.tag/resp-time/node.def b/templates/load-balancing/wan/interface-health/node.tag/resp-time/node.def
index 7f65248..1636278 100644
--- a/templates/load-balancing/wan/interface-health/node.tag/resp-time/node.def
+++ b/templates/load-balancing/wan/interface-health/node.tag/resp-time/node.def
@@ -1,6 +1,6 @@
type: u32
default: 5
syntax:expression: $VAR(@) >= 0 && $VAR(@) <= 30; "response must be between 1 and 30 seconds"
-help: ping response time (seconds)
+help: Set ping response time (seconds)
comp_help: possible completions:
<1-30> set response time (seconds)
diff --git a/templates/load-balancing/wan/interface-health/node.tag/success-count/node.def b/templates/load-balancing/wan/interface-health/node.tag/success-count/node.def
index e5b2d5a..5c2f3f2 100644
--- a/templates/load-balancing/wan/interface-health/node.tag/success-count/node.def
+++ b/templates/load-balancing/wan/interface-health/node.tag/success-count/node.def
@@ -1,7 +1,7 @@
type: u32
default: 1
syntax:expression: $VAR(@) >= 0 && $VAR(@) <= 10; "success count must be between 1 and 10"
-help: Success count
+help: Set success count
comp_help: possible completions:
<1-10> set success count
diff --git a/templates/load-balancing/wan/node.def b/templates/load-balancing/wan/node.def
index 78ae886..0eb8ae0 100644
--- a/templates/load-balancing/wan/node.def
+++ b/templates/load-balancing/wan/node.def
@@ -1,4 +1,4 @@
-help: wan load-balance configuration
+help: Configure Wide Area Network (WAN) load-balancing
commit:expression: exec "sudo ${vyatta_sbindir}/vyatta-wanloadbalance.pl"
delete:expression: exec "/etc/init.d/vyatta-wanloadbalance stop"
diff --git a/templates/load-balancing/wan/rule/node.def b/templates/load-balancing/wan/rule/node.def
index 7d8295b..169f3b9 100644
--- a/templates/load-balancing/wan/rule/node.def
+++ b/templates/load-balancing/wan/rule/node.def
@@ -1,5 +1,5 @@
tag:
type: u32
-help: rule number
+help: Set rule number
diff --git a/templates/load-balancing/wan/rule/node.tag/destination/address/node.def b/templates/load-balancing/wan/rule/node.tag/destination/address/node.def
index ae18e02..a11b2ba 100644
--- a/templates/load-balancing/wan/rule/node.tag/destination/address/node.def
+++ b/templates/load-balancing/wan/rule/node.tag/destination/address/node.def
@@ -1,9 +1,9 @@
type: txt
-help: Source IP address, subnet, or range
+help: Set source IP address, subnet, or range
comp_help: Possible completions:
- <IP address> IP address to match
- <IP address>/<prefix length> Subnet to match
- <IP address>-<IP address> IP range to match
- !<IP address> Match everything except the specified address
- !<IP address>/<prefix length> Match everything except the specified subnet
- !<IP address>-<IP address> Match everything except the specified range
+ <x.x.x.x> IP address to match
+ <x.x.x.x/x> Subnet to match
+ <x.x.x.x>-<x.x.x.x> IP range to match
+ !<x.x.x.x> Match everything except the specified address
+ !<x.x.x.x/x> Match everything except the specified subnet
+ !<x.x.x.x>-<x.x.x.x> Match everything except the specified range
diff --git a/templates/load-balancing/wan/rule/node.tag/destination/node.def b/templates/load-balancing/wan/rule/node.tag/destination/node.def
index ebdd65f..91aa41f 100644
--- a/templates/load-balancing/wan/rule/node.tag/destination/node.def
+++ b/templates/load-balancing/wan/rule/node.tag/destination/node.def
@@ -1 +1 @@
-help: destination
+help: Set destination
diff --git a/templates/load-balancing/wan/rule/node.tag/destination/port/node.def b/templates/load-balancing/wan/rule/node.tag/destination/port/node.def
index e14959a..9974fdf 100644
--- a/templates/load-balancing/wan/rule/node.tag/destination/port/node.def
+++ b/templates/load-balancing/wan/rule/node.tag/destination/port/node.def
@@ -1,8 +1,8 @@
type: txt
-help: Configure source port
+help: Set source port
comp_help: Source port(s) can be specified as a comma-separated list of:
<port name> Named port (any name in /etc/services, e.g., http)
- <port number> Numbered port (between 1 and 65535)
+ <1-65535> Numbered port
<start>-<end> Numbered port range (e.g., 1001-1005)
The whole list can also be "negated" using '!'. For example:
'!22,telnet,http,123,1001-1005'
diff --git a/templates/load-balancing/wan/rule/node.tag/interface/node.def b/templates/load-balancing/wan/rule/node.tag/interface/node.def
index fdbb488..d393140 100644
--- a/templates/load-balancing/wan/rule/node.tag/interface/node.def
+++ b/templates/load-balancing/wan/rule/node.tag/interface/node.def
@@ -1,3 +1,3 @@
tag:
type: txt
-help: interface name
+help: Set interface name
diff --git a/templates/load-balancing/wan/rule/node.tag/interface/node.tag/weight/node.def b/templates/load-balancing/wan/rule/node.tag/interface/node.tag/weight/node.def
index ac503f8..642ecc0 100644
--- a/templates/load-balancing/wan/rule/node.tag/interface/node.tag/weight/node.def
+++ b/templates/load-balancing/wan/rule/node.tag/interface/node.tag/weight/node.def
@@ -1,6 +1,6 @@
type: u32
default: 1
syntax:expression: $VAR(@) >= 0 && $VAR(@) <= 255; "Interface weight must be between 1 and 255"
-help: load-balance weight
+help: Set load-balance weight
comp_help: possible completions:
<1-255> set interface weight
diff --git a/templates/load-balancing/wan/rule/node.tag/protocol/node.def b/templates/load-balancing/wan/rule/node.tag/protocol/node.def
index a0c9aec..339b1d1 100644
--- a/templates/load-balancing/wan/rule/node.tag/protocol/node.def
+++ b/templates/load-balancing/wan/rule/node.tag/protocol/node.def
@@ -1,4 +1,4 @@
-help: protocol
+help: Set protocol
type: txt
default: "all"
-syntax:expression: $VAR(@) in "all", "tcp", "udp", "icmp"; "must be (all, tcp, udp, icmp)" \ No newline at end of file
+syntax:expression: $VAR(@) in "all", "tcp", "udp", "icmp"; "must be (all, tcp, udp, icmp)"
diff --git a/templates/load-balancing/wan/rule/node.tag/source/address/node.def b/templates/load-balancing/wan/rule/node.tag/source/address/node.def
index ae18e02..a11b2ba 100644
--- a/templates/load-balancing/wan/rule/node.tag/source/address/node.def
+++ b/templates/load-balancing/wan/rule/node.tag/source/address/node.def
@@ -1,9 +1,9 @@
type: txt
-help: Source IP address, subnet, or range
+help: Set source IP address, subnet, or range
comp_help: Possible completions:
- <IP address> IP address to match
- <IP address>/<prefix length> Subnet to match
- <IP address>-<IP address> IP range to match
- !<IP address> Match everything except the specified address
- !<IP address>/<prefix length> Match everything except the specified subnet
- !<IP address>-<IP address> Match everything except the specified range
+ <x.x.x.x> IP address to match
+ <x.x.x.x/x> Subnet to match
+ <x.x.x.x>-<x.x.x.x> IP range to match
+ !<x.x.x.x> Match everything except the specified address
+ !<x.x.x.x/x> Match everything except the specified subnet
+ !<x.x.x.x>-<x.x.x.x> Match everything except the specified range
diff --git a/templates/load-balancing/wan/rule/node.tag/source/node.def b/templates/load-balancing/wan/rule/node.tag/source/node.def
index 0fcb397..e1c06be 100644
--- a/templates/load-balancing/wan/rule/node.tag/source/node.def
+++ b/templates/load-balancing/wan/rule/node.tag/source/node.def
@@ -1 +1 @@
-help: source
+help: Set source information
diff --git a/templates/load-balancing/wan/rule/node.tag/source/port/node.def b/templates/load-balancing/wan/rule/node.tag/source/port/node.def
index 1973f1c..e65cbfd 100644
--- a/templates/load-balancing/wan/rule/node.tag/source/port/node.def
+++ b/templates/load-balancing/wan/rule/node.tag/source/port/node.def
@@ -1,8 +1,8 @@
type: txt
-help: Configure source port
+help: Set source port
comp_help: Source port(s) can be specified as a comma-separated list of:
<port name> Named port (any name in /etc/services, e.g., http)
- <port number> Numbered port (between 1 and 65535)
+ <1-65535> Numbered port
<start>-<end> Numbered port range (e.g., 1001-1005)
The whole list can also be "negated" using '!'. For example:
'!22,telnet,http,123,1001-1005'
diff --git a/templates/show/wan-load-balance/node.def b/templates/show/wan-load-balance/node.def
index 3d90732..0165620 100644
--- a/templates/show/wan-load-balance/node.def
+++ b/templates/show/wan-load-balance/node.def
@@ -1,4 +1,4 @@
-help: Show wan load-balancing status
+help: Show Wide Area Network (WAN) load-balancing information
run: if [ -f /var/load-balance/wlb.out ] ; then
cat /var/load-balance/wlb.out
else
diff --git a/templates/show/wan-load-balance/status/node.def b/templates/show/wan-load-balance/status/node.def
index 07fd1a0..87b47f6 100644
--- a/templates/show/wan-load-balance/status/node.def
+++ b/templates/show/wan-load-balance/status/node.def
@@ -1,4 +1,4 @@
-help: Show wan load-balancing statistics
+help: Show WAN load-balancing statistics
run: if [ -f /var/load-balance/wlb.out ] ; then
sudo /sbin/iptables -L PREROUTING -t mangle -vv
else