From d3f68b858599d58f7efe9fa3ebc40ce7e3be51ec Mon Sep 17 00:00:00 2001 From: Justin Fletcher Date: Mon, 5 Nov 2007 14:42:22 -0800 Subject: Help string modifications --- templates/interfaces/ethernet/node.tag/description/node.def | 2 +- templates/interfaces/ethernet/node.tag/duplex/node.def | 2 +- templates/interfaces/ethernet/node.tag/hw-id/node.def | 2 +- templates/interfaces/ethernet/node.tag/mac/node.def | 2 +- templates/interfaces/ethernet/node.tag/mtu/node.def | 6 +++--- templates/interfaces/ethernet/node.tag/speed/node.def | 2 +- templates/interfaces/ethernet/node.tag/vif/node.def | 10 +++++----- .../ethernet/node.tag/vif/node.tag/description/node.def | 2 +- 8 files changed, 14 insertions(+), 14 deletions(-) (limited to 'templates/interfaces/ethernet') diff --git a/templates/interfaces/ethernet/node.tag/description/node.def b/templates/interfaces/ethernet/node.tag/description/node.def index abd0a26..d457185 100644 --- a/templates/interfaces/ethernet/node.tag/description/node.def +++ b/templates/interfaces/ethernet/node.tag/description/node.def @@ -1,2 +1,2 @@ type: txt -help: "description for this interface" +help: "Description for this interface" diff --git a/templates/interfaces/ethernet/node.tag/duplex/node.def b/templates/interfaces/ethernet/node.tag/duplex/node.def index 91ebc1b..e7e87ad 100644 --- a/templates/interfaces/ethernet/node.tag/duplex/node.def +++ b/templates/interfaces/ethernet/node.tag/duplex/node.def @@ -1,5 +1,5 @@ type: txt -help: "set the duplex for this interface" +help: "Set the duplex mode for this interface" syntax: $(@) in "half", "full"; "duplex must be half or full" commit: $(../speed) != ""; "if duplex is hardcoded, speed must also be hardcoded" update: "sudo ethtool -s $(../@) speed $(../speed/@) duplex $(@) autoneg off" diff --git a/templates/interfaces/ethernet/node.tag/hw-id/node.def b/templates/interfaces/ethernet/node.tag/hw-id/node.def index 6097cff..f0760d6 100644 --- a/templates/interfaces/ethernet/node.tag/hw-id/node.def +++ b/templates/interfaces/ethernet/node.tag/hw-id/node.def @@ -1,2 +1,2 @@ type: macaddr -help: "set the original MAC address for this interface" +help: "Specify the MAC address of this interface" diff --git a/templates/interfaces/ethernet/node.tag/mac/node.def b/templates/interfaces/ethernet/node.tag/mac/node.def index 284c447..b6b1e5e 100644 --- a/templates/interfaces/ethernet/node.tag/mac/node.def +++ b/templates/interfaces/ethernet/node.tag/mac/node.def @@ -1,4 +1,4 @@ type: macaddr -help: "set the MAC address for this interface" +help: "Set the MAC address of this interface" update: "sudo ip link set $(../@) address $(@)"; "error setting MAC address on dev $(../@)" delete: "sudo ip link set $(../@) address $(../hw-id/@)"; "error setting MAC address on dev $(../@) to $(../hw-id/@)" diff --git a/templates/interfaces/ethernet/node.tag/mtu/node.def b/templates/interfaces/ethernet/node.tag/mtu/node.def index 4ab7b57..5f87312 100644 --- a/templates/interfaces/ethernet/node.tag/mtu/node.def +++ b/templates/interfaces/ethernet/node.tag/mtu/node.def @@ -1,5 +1,5 @@ type: u32 -help: "set the MTU address for this interface" +help: "Set the MTU for this interface" syntax: $(@) >= 1 && $(@) <= 1500; "MTU must be between 1 and 1500" -update: "sudo ip link set $(../@) mtu $(@)"; "error setting MAC address on dev $(../@)" -delete: "sudo ip link set $(../@) mtu 1500"; "error deleteing MAC address on dev $(../@)" +update: "sudo ip link set $(../@) mtu $(@)"; "error setting MTU on dev $(../@)" +delete: "sudo ip link set $(../@) mtu 1500"; "error deleting MTU on dev $(../@)" diff --git a/templates/interfaces/ethernet/node.tag/speed/node.def b/templates/interfaces/ethernet/node.tag/speed/node.def index 58347a6..9f983e1 100644 --- a/templates/interfaces/ethernet/node.tag/speed/node.def +++ b/templates/interfaces/ethernet/node.tag/speed/node.def @@ -1,5 +1,5 @@ type: txt -help: "set the speed for this interface" +help: "Set the speed for this interface" syntax: $(@) in "10", "100", "1000"; "Speed must be 10, 100, or 1000" commit: $(../duplex) != ""; "if speed is hardcoded, duplex must also be hardcoded" update: "sudo ethtool -s $(../@) speed $(@) duplex $(../duplex/@) autoneg off" diff --git a/templates/interfaces/ethernet/node.tag/vif/node.def b/templates/interfaces/ethernet/node.tag/vif/node.def index aef81a5..f1edff6 100644 --- a/templates/interfaces/ethernet/node.tag/vif/node.def +++ b/templates/interfaces/ethernet/node.tag/vif/node.def @@ -1,8 +1,8 @@ tag: type: u32 -help: "vlan ID" -syntax: $(@) >= 0 && $(@) <= 4095; "vlan ID must be between 0 and 4095" +help: "VLAN ID" +syntax: $(@) >= 0 && $(@) <= 4095; "VLAN ID must be between 0 and 4095" update: "sudo modprobe 8021q"; "Error loading 802.1q driver" -update: "sudo vconfig add $(../@) $(@)"; "Error adding vlan id $(@) to dev $(../@)" -update: "sudo ip link set $(../@).$(@) up"; "Error enabing vlan id $(@) on dev $(../@)" -delete: "sudo vconfig rem $(../@).$(@)"; "Error removing vlan id $(@) from dev $(../@)" +update: "sudo vconfig add $(../@) $(@)"; "Error adding VLAN id $(@) to dev $(../@)" +update: "sudo ip link set $(../@).$(@) up"; "Error enabling VLAN id $(@) on dev $(../@)" +delete: "sudo vconfig rem $(../@).$(@)"; "Error removing VLAN id $(@) from dev $(../@)" diff --git a/templates/interfaces/ethernet/node.tag/vif/node.tag/description/node.def b/templates/interfaces/ethernet/node.tag/vif/node.tag/description/node.def index abd0a26..d457185 100644 --- a/templates/interfaces/ethernet/node.tag/vif/node.tag/description/node.def +++ b/templates/interfaces/ethernet/node.tag/vif/node.tag/description/node.def @@ -1,2 +1,2 @@ type: txt -help: "description for this interface" +help: "Description for this interface" -- cgit v1.2.3