diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-07-21 13:55:27 -0700 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-07-21 13:55:27 -0700 |
commit | 1b2b777227ed2645c68b5ab05931beafff9ccf5d (patch) | |
tree | de961de899568c935cd357150915576c8c2d49c8 /templates/system/syslog/user | |
parent | 79f2a3d43c3f7726d0771e9d3770471776c8b360 (diff) | |
download | vyatta-cfg-quagga-1b2b777227ed2645c68b5ab05931beafff9ccf5d.tar.gz vyatta-cfg-quagga-1b2b777227ed2645c68b5ab05931beafff9ccf5d.zip |
Add completion for text fields with limited values
For all nodes that do 'syntax:expression: $VAR(@) in' add allowed
tag to show possible values
Diffstat (limited to 'templates/system/syslog/user')
-rw-r--r-- | templates/system/syslog/user/node.tag/facility/node.def | 4 | ||||
-rw-r--r-- | templates/system/syslog/user/node.tag/facility/node.tag/level/node.def | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/templates/system/syslog/user/node.tag/facility/node.def b/templates/system/syslog/user/node.tag/facility/node.def index e7d11110..c5cfad72 100644 --- a/templates/system/syslog/user/node.tag/facility/node.def +++ b/templates/system/syslog/user/node.tag/facility/node.def @@ -2,6 +2,10 @@ tag: type: txt help: Facility for user logging syntax:expression: $VAR(@) in "auth", "authpriv", "cron", "daemon", "kern", "lpr", "mail", "mark", "news", "protocols", "security", "syslog", "user", "uucp", "local0", "local1", "local2", "local3", "local4", "local5", "local6", "local7", "all"; "\"$VAR(@)\" is not a valid logging facility" +allowed: echo auth authpriv cron daemon kern lpr mail mark news protocols \ + security syslog user uucp \ + local0 local1 local2 local3 local4 local5 local6 local7 all + val_help: all; All facilities excluding "mark" val_help: auth; Authentication and authorization diff --git a/templates/system/syslog/user/node.tag/facility/node.tag/level/node.def b/templates/system/syslog/user/node.tag/facility/node.tag/level/node.def index bae531af..888f3eff 100644 --- a/templates/system/syslog/user/node.tag/facility/node.tag/level/node.def +++ b/templates/system/syslog/user/node.tag/facility/node.tag/level/node.def @@ -2,6 +2,7 @@ type: txt help: Logging level syntax:expression: $VAR(@) in "emerg", "alert", "crit", "err", "warning", "notice", "info", "debug"; "\"$VAR(@)\" is not a valid logging level" default: "err" +allowed: echo emerg alert crit err warning notice info debug val_help: emerg; Emergency messages val_help: alert; Urgent messages |