diff options
author | Mohit Mehta <mohit.mehta@vyatta.com> | 2008-04-10 06:26:20 +0000 |
---|---|---|
committer | Mohit Mehta <mohit.mehta@vyatta.com> | 2008-04-10 06:26:20 +0000 |
commit | c5b2e6f32bd19406c4b7f48a674062b585fa76e0 (patch) | |
tree | 99180b2d97a16894dc0efc0a70c495ef227a84f6 /templates/interfaces/tunnel | |
parent | 6bc8b5bad9e4e82ec70a930067268f96b633d416 (diff) | |
download | vyatta-cfg-system-c5b2e6f32bd19406c4b7f48a674062b585fa76e0.tar.gz vyatta-cfg-system-c5b2e6f32bd19406c4b7f48a674062b585fa76e0.zip |
Fix Bug 3069 Help strings should be standardized
-help strings standardized in vyatta-cfg-system
Diffstat (limited to 'templates/interfaces/tunnel')
7 files changed, 8 insertions, 8 deletions
diff --git a/templates/interfaces/tunnel/node.tag/address/node.def b/templates/interfaces/tunnel/node.tag/address/node.def index 4d91c9ba..07ea4a0e 100644 --- a/templates/interfaces/tunnel/node.tag/address/node.def +++ b/templates/interfaces/tunnel/node.tag/address/node.def @@ -1,6 +1,6 @@ multi: type: txt -help: Configure an IP address for this interface +help: Set an IP address for this interface syntax:expression: exec "/opt/vyatta/sbin/vyatta-interfaces.pl --valid-addr $VAR(@) --dev $VAR(../@)"; "Invalid IP address/prefix [$VAR(@)] for interface $VAR(../@)" @@ -9,4 +9,4 @@ update:expression: "sudo /opt/vyatta/sbin/vyatta-interfaces.pl --eth-addr-update delete:expression: "sudo /opt/vyatta/sbin/vyatta-interfaces.pl --eth-addr-delete $VAR(@) --dev $VAR(../@)"; "Error deleting address $VAR(@) on interface $VAR(../@)" comp_help:Possible completions: - <IP address>/<prefix length> Set the IP address and prefix length + <x.x.x.x/x> Set the IP address and prefix length diff --git a/templates/interfaces/tunnel/node.tag/description/node.def b/templates/interfaces/tunnel/node.tag/description/node.def index e00ed857..b53ae684 100644 --- a/templates/interfaces/tunnel/node.tag/description/node.def +++ b/templates/interfaces/tunnel/node.tag/description/node.def @@ -1,2 +1,2 @@ type: txt -help: Description of this tunnel interface +help: Set description of this tunnel interface diff --git a/templates/interfaces/tunnel/node.tag/local-ip/node.def b/templates/interfaces/tunnel/node.tag/local-ip/node.def index 6cdaf2a5..d40417a8 100644 --- a/templates/interfaces/tunnel/node.tag/local-ip/node.def +++ b/templates/interfaces/tunnel/node.tag/local-ip/node.def @@ -1,5 +1,5 @@ type: ipv4 -help: Enter the local IP address for this tunnel +help: Set the local IP address for this tunnel syntax:expression: exec "if [ -z \"`ip addr list | grep $VAR(@) `\" ]; then \ echo IP address $VAR(@) doesn\\'t exist on this system ; \ exit 1 ; \ diff --git a/templates/interfaces/tunnel/node.tag/mtu/node.def b/templates/interfaces/tunnel/node.tag/mtu/node.def index 47dc34cf..f1fdf39b 100644 --- a/templates/interfaces/tunnel/node.tag/mtu/node.def +++ b/templates/interfaces/tunnel/node.tag/mtu/node.def @@ -1,5 +1,5 @@ type: u32 -help: Set the tunnel MTU +help: Set the tunnel Maximum Transmission Unit (MTU) syntax:expression: $VAR(@) >= 64 && $VAR(@) <= 8024; "Must be between 64-8024" update:expression: "sudo ip link set $VAR(../@) mtu $VAR(@)" delete:expression: "sudo ip link set $VAR(../@) mtu 1476" diff --git a/templates/interfaces/tunnel/node.tag/remote-ip/node.def b/templates/interfaces/tunnel/node.tag/remote-ip/node.def index e5ee1ffd..7bdb4725 100644 --- a/templates/interfaces/tunnel/node.tag/remote-ip/node.def +++ b/templates/interfaces/tunnel/node.tag/remote-ip/node.def @@ -1,2 +1,2 @@ type: ipv4 -help: Enter the remote IP address for this tunnel +help: Set the remote IP address for this tunnel diff --git a/templates/interfaces/tunnel/node.tag/tos/node.def b/templates/interfaces/tunnel/node.tag/tos/node.def index 8cc69360..1f739966 100644 --- a/templates/interfaces/tunnel/node.tag/tos/node.def +++ b/templates/interfaces/tunnel/node.tag/tos/node.def @@ -1,5 +1,5 @@ type: u32 -help: Set the tunnel type of service +help: Set the tunnel Type of Service (TOS) syntax:expression: $VAR(@) >= 0 && $VAR(@) <= 99; "Must be between 0-99" update:expression: "sudo ip tunnel change $VAR(../@) tos $VAR(@)" delete:expression: "sudo ip tunnel change $VAR(../@) tos inherit" diff --git a/templates/interfaces/tunnel/node.tag/ttl/node.def b/templates/interfaces/tunnel/node.tag/ttl/node.def index 1d194508..298c4d61 100644 --- a/templates/interfaces/tunnel/node.tag/ttl/node.def +++ b/templates/interfaces/tunnel/node.tag/ttl/node.def @@ -1,5 +1,5 @@ type: u32 -help: Set the tunnel time to live +help: Set the tunnel time to live field default: 255 syntax:expression: $VAR(@) >= 0 && $VAR(@) <= 255; "Must be between 0-255" update:expression: "sudo ip tunnel change $VAR(../@) ttl $VAR(@)" |