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/ospf/authentication/md5/key-id/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/ospf/authentication/md5/key-id/node.def')
-rw-r--r-- | interface-templates/ip/ospf/authentication/md5/key-id/node.def | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/interface-templates/ip/ospf/authentication/md5/key-id/node.def b/interface-templates/ip/ospf/authentication/md5/key-id/node.def index 5ff617e6..bc47e563 100644 --- a/interface-templates/ip/ospf/authentication/md5/key-id/node.def +++ b/interface-templates/ip/ospf/authentication/md5/key-id/node.def @@ -1,13 +1,10 @@ tag: - type: u32 - -help: Set MD5 key id +help: MD5 key id syntax:expression: $VAR(@) >= 1 && $VAR(@) <= 255; "ID must be between (1-255)" +val_help: u32:1-255; MD5 key id commit:expression: $VAR(md5-key/) != ""; \ "Must add the md5-key for key-id $VAR(@)" -comp_help: possible completions: - <1-255> Set the key id |