diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-07-20 09:50:31 -0700 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-07-20 09:50:31 -0700 |
commit | 983c23fdcb8204238220a26a279d718cd6dff821 (patch) | |
tree | a0d5cb3f37a5535fbadf96dd18ae6ce65b414301 /templates/interfaces/input/node.def | |
parent | b5ebff1894236ae188f047db78cdcdeedf47dfe1 (diff) | |
download | vyatta-cfg-system-983c23fdcb8204238220a26a279d718cd6dff821.tar.gz vyatta-cfg-system-983c23fdcb8204238220a26a279d718cd6dff821.zip |
Use val_help: for interface name help
Use common method for formatting CLI style help when
entering interface name.
Move loopback name syntax check into CLI expression to
avoid overhead of perl here.
Diffstat (limited to 'templates/interfaces/input/node.def')
-rw-r--r-- | templates/interfaces/input/node.def | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/interfaces/input/node.def b/templates/interfaces/input/node.def index 8aadec8a..06b00c97 100644 --- a/templates/interfaces/input/node.def +++ b/templates/interfaces/input/node.def @@ -2,7 +2,7 @@ tag: priority: 310 # before real devices that redirect type: txt help: Input functional block (IFB) interface name -comp_help: Enter input functional block interface name (ifb0 - ifb999) +val_help: <ifbN>; Input functional block interface name syntax:expression: pattern $VAR(@) "^ifb[0-9]+$" ; "name must be (ifb0-ifb999)" |