summaryrefslogtreecommitdiff
path: root/templates/system/syslog/global
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2010-07-21 13:55:27 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2010-07-21 13:55:27 -0700
commit1b2b777227ed2645c68b5ab05931beafff9ccf5d (patch)
treede961de899568c935cd357150915576c8c2d49c8 /templates/system/syslog/global
parent79f2a3d43c3f7726d0771e9d3770471776c8b360 (diff)
downloadvyatta-cfg-system-1b2b777227ed2645c68b5ab05931beafff9ccf5d.tar.gz
vyatta-cfg-system-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/global')
-rw-r--r--templates/system/syslog/global/facility/node.def3
-rw-r--r--templates/system/syslog/global/facility/node.tag/level/node.def1
2 files changed, 4 insertions, 0 deletions
diff --git a/templates/system/syslog/global/facility/node.def b/templates/system/syslog/global/facility/node.def
index 5107dd0e..58198d9f 100644
--- a/templates/system/syslog/global/facility/node.def
+++ b/templates/system/syslog/global/facility/node.def
@@ -2,6 +2,9 @@ tag:
type: txt
help: Facility for system 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/global/facility/node.tag/level/node.def b/templates/system/syslog/global/facility/node.tag/level/node.def
index bae531af..888f3eff 100644
--- a/templates/system/syslog/global/facility/node.tag/level/node.def
+++ b/templates/system/syslog/global/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