summaryrefslogtreecommitdiff
path: root/interface-definitions/include/syslog-facility.xml.i
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-05-08 21:27:14 +0200
committerChristian Breunig <christian@breunig.cc>2023-05-08 22:45:53 +0200
commit1dc79cebc6d27a8f9d2f9ca9c2e0f2fd0809d940 (patch)
tree74b294e319ebad8c046756e91ce0f17a32fdcb3e /interface-definitions/include/syslog-facility.xml.i
parent43b4d30ed0298565ce7cf891fbd72c5a7484dac6 (diff)
downloadvyos-1x-1dc79cebc6d27a8f9d2f9ca9c2e0f2fd0809d940.tar.gz
vyos-1x-1dc79cebc6d27a8f9d2f9ca9c2e0f2fd0809d940.zip
syslog: T2778: migrate to get_config_dict()
Diffstat (limited to 'interface-definitions/include/syslog-facility.xml.i')
-rw-r--r--interface-definitions/include/syslog-facility.xml.i21
1 files changed, 7 insertions, 14 deletions
diff --git a/interface-definitions/include/syslog-facility.xml.i b/interface-definitions/include/syslog-facility.xml.i
index 57067ece2..e6138a122 100644
--- a/interface-definitions/include/syslog-facility.xml.i
+++ b/interface-definitions/include/syslog-facility.xml.i
@@ -3,10 +3,10 @@
<properties>
<help>Facility for logging</help>
<completionHelp>
- <list>auth authpriv cron daemon kern lpr mail mark news protocols security syslog user uucp local0 local1 local2 local3 local4 local5 local6 local7 all</list>
+ <list>auth authpriv cron daemon kern lpr mail mark news syslog user uucp local0 local1 local2 local3 local4 local5 local6 local7 all</list>
</completionHelp>
<constraint>
- <regex>(auth|authpriv|cron|daemon|kern|lpr|mail|mark|news|protocols|security|syslog|user|uucp|local0|local1|local2|local3|local4|local5|local6|local7|all)</regex>
+ <regex>(auth|authpriv|cron|daemon|kern|lpr|mail|mark|news|syslog|user|uucp|local0|local1|local2|local3|local4|local5|local6|local7|all)</regex>
</constraint>
<constraintErrorMessage>Invalid facility type</constraintErrorMessage>
<valueHelp>
@@ -50,14 +50,6 @@
<description>USENET subsystem</description>
</valueHelp>
<valueHelp>
- <format>protocols</format>
- <description>depricated will be set to local7</description>
- </valueHelp>
- <valueHelp>
- <format>security</format>
- <description>depricated will be set to auth</description>
- </valueHelp>
- <valueHelp>
<format>syslog</format>
<description>Authentication and authorization</description>
</valueHelp>
@@ -109,10 +101,6 @@
<completionHelp>
<list>emerg alert crit err warning notice info debug all</list>
</completionHelp>
- <constraint>
- <regex>(emerg|alert|crit|err|warning|notice|info|debug|all)</regex>
- </constraint>
- <constraintErrorMessage>Invalid loglevel</constraintErrorMessage>
<valueHelp>
<format>emerg</format>
<description>Emergency messages</description>
@@ -149,7 +137,12 @@
<format>all</format>
<description>Log everything</description>
</valueHelp>
+ <constraint>
+ <regex>(emerg|alert|crit|err|warning|notice|info|debug|all)</regex>
+ </constraint>
+ <constraintErrorMessage>Invalid loglevel</constraintErrorMessage>
</properties>
+ <defaultValue>err</defaultValue>
</leafNode>
</children>
</tagNode>