diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-07-20 10:04:41 -0700 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-07-20 10:04:41 -0700 |
commit | d3366af025f4698801c0a51cdd9bbb88fea83ea0 (patch) | |
tree | 1c024f0880aef57c54a465e1f814037560dfecbd /interface-templates/ip/rip/authentication/plaintext-password/node.def | |
parent | 00dce23d0a216a5f2c1a20dd21aec66d954d6963 (diff) | |
download | vyatta-cfg-quagga-d3366af025f4698801c0a51cdd9bbb88fea83ea0.tar.gz vyatta-cfg-quagga-d3366af025f4698801c0a51cdd9bbb88fea83ea0.zip |
Convert interface templates to use val_help:
Diffstat (limited to 'interface-templates/ip/rip/authentication/plaintext-password/node.def')
-rw-r--r-- | interface-templates/ip/rip/authentication/plaintext-password/node.def | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/interface-templates/ip/rip/authentication/plaintext-password/node.def b/interface-templates/ip/rip/authentication/plaintext-password/node.def index addf2473..b294ebd0 100644 --- a/interface-templates/ip/rip/authentication/plaintext-password/node.def +++ b/interface-templates/ip/rip/authentication/plaintext-password/node.def @@ -1,7 +1,8 @@ type: txt -help: Set plain text password +help: Plain text password syntax:expression: pattern $VAR(@) "^[^[:space:]]{1,16}$" ; "Password must be 16 characters or less" commit:expression: $VAR(../md5/) == "" ; "md5 password already set" +val_help: Password (16 characters or less) update: vtysh -c "configure terminal" -c "interface $IFNAME" \ -c "ip rip authentication mode text" \ @@ -10,6 +11,3 @@ update: vtysh -c "configure terminal" -c "interface $IFNAME" \ delete: vtysh -c "configure terminal" -c "interface $IFNAME" \ -c "no ip rip authentication mode" \ -c "no ip rip authentication string $VAR(@)" - -comp_help: possible completions: - <text> Password (16 characters or less) |