summaryrefslogtreecommitdiff
path: root/templates/interfaces/ethernet
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2010-07-16 15:05:01 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2010-07-16 17:29:18 -0700
commit1a86e15787cdda44b8702895bb97acf107ef3a07 (patch)
treeb818c3aaa6440dc9d344e3377bdda358367137e0 /templates/interfaces/ethernet
parentc317fda4786d93e9cdf94deb1e52c5d581360b7e (diff)
downloadvyatta-cfg-system-1a86e15787cdda44b8702895bb97acf107ef3a07.tar.gz
vyatta-cfg-system-1a86e15787cdda44b8702895bb97acf107ef3a07.zip
Use val_help: for address nodes
Use common format for address nodes
Diffstat (limited to 'templates/interfaces/ethernet')
-rw-r--r--templates/interfaces/ethernet/node.tag/address/node.def9
-rw-r--r--templates/interfaces/ethernet/node.tag/vif/node.tag/address/node.def7
2 files changed, 7 insertions, 9 deletions
diff --git a/templates/interfaces/ethernet/node.tag/address/node.def b/templates/interfaces/ethernet/node.tag/address/node.def
index 7ed12bba..f503b174 100644
--- a/templates/interfaces/ethernet/node.tag/address/node.def
+++ b/templates/interfaces/ethernet/node.tag/address/node.def
@@ -48,8 +48,7 @@ delete:
allowed: echo "dhcp dhcpv6 <>"
-comp_help:Possible completions:
- <x.x.x.x/x> Set the IPv4 address and prefix length
- <h:h:h:h:h:h:h:h/x> Set the IPv6 address and prefix length
- dhcp Set the IPv4 address and prefix length via DHCP
- dhcpv6 Set the IPv6 address and prefix length via DHCPv6
+val_help:<x.x.x.x/x>; IP address and prefix length
+val_help:<h:h:h:h:h:h:h:h/x>; IPv6 address and prefix length
+val_help:dhcp; Dynamic Host Configuration Protocol
+val_help:dhcpv6; Dynamic Host Configuration Protocol for IPv6
diff --git a/templates/interfaces/ethernet/node.tag/vif/node.tag/address/node.def b/templates/interfaces/ethernet/node.tag/vif/node.tag/address/node.def
index a5edef6d..1e8b2f46 100644
--- a/templates/interfaces/ethernet/node.tag/vif/node.tag/address/node.def
+++ b/templates/interfaces/ethernet/node.tag/vif/node.tag/address/node.def
@@ -21,7 +21,6 @@ delete:sudo /opt/vyatta/sbin/vyatta-interfaces.pl --eth-addr-delete $VAR(@) --de
allowed: echo "dhcp <>"
-comp_help:Possible completions:
- <x.x.x.x/x> Set the IP address and prefix length
- <h:h:h:h:h:h:h:h/x> Set the IPv6 address and prefix length
- dhcp Set the IP address and prefix length via DHCP
+val_help:<x.x.x.x/x>; IP address and prefix length
+val_help:<h:h:h:h:h:h:h:h/x>; IPv6 address and prefix length
+val_help:dhcp; Dynamic Host Configuration Protocol