summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorMohit Mehta <mohit@vyatta.com>2008-03-12 16:49:49 -0700
committerMohit Mehta <mohit@vyatta.com>2008-03-12 16:49:49 -0700
commitd73480b922f5fabb0f885e8df53b7d03425580e4 (patch)
treecfd4b566b2fe61710982087fe1f53688264f12b4 /templates
parent6e4fd2525ca9c1b5eef069679f1ae4de98a0e758 (diff)
downloadvyatta-cfg-quagga-d73480b922f5fabb0f885e8df53b7d03425580e4.tar.gz
vyatta-cfg-quagga-d73480b922f5fabb0f885e8df53b7d03425580e4.zip
CLI tab enhancement at "set interfaces ethernet <> address"
- tab gives dhcp if interface hasn't been configured before. handle "<*>" allowed values
Diffstat (limited to 'templates')
-rw-r--r--templates/interfaces/bridge/node.tag/address/node.def1
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/interfaces/bridge/node.tag/address/node.def b/templates/interfaces/bridge/node.tag/address/node.def
index 410c072b..23b1262f 100644
--- a/templates/interfaces/bridge/node.tag/address/node.def
+++ b/templates/interfaces/bridge/node.tag/address/node.def
@@ -4,6 +4,7 @@ help: Configure 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(../@)"
update:expression: "sudo /opt/vyatta/sbin/vyatta-interfaces.pl --eth-addr-update $VAR(@) --dev $VAR(../@)"; "Error setting address $VAR(@) on interface $VAR(../@)"
delete:expression: "sudo /opt/vyatta/sbin/vyatta-interfaces.pl --eth-addr-delete $VAR(@) --dev $VAR(../@)"; "Error deleting address $VAR(@) on interface $VAR(../@)"
+allowed: echo "dhcp <>"
comp_help:Possible completions:
<IP address>/<prefix length>\tSet the IP address and prefix length
dhcp\t\t\t\tSet the IP address and prefix length via DHCP