From 1dc79cebc6d27a8f9d2f9ca9c2e0f2fd0809d940 Mon Sep 17 00:00:00 2001 From: Christian Breunig Date: Mon, 8 May 2023 21:27:14 +0200 Subject: syslog: T2778: migrate to get_config_dict() --- .../include/protocol-tcp-udp.xml.i | 22 ++++++++++++++++++++++ interface-definitions/include/snmp/protocol.xml.i | 22 ---------------------- .../include/syslog-facility.xml.i | 21 +++++++-------------- .../include/version/system-version.xml.i | 2 +- 4 files changed, 30 insertions(+), 37 deletions(-) create mode 100644 interface-definitions/include/protocol-tcp-udp.xml.i delete mode 100644 interface-definitions/include/snmp/protocol.xml.i (limited to 'interface-definitions/include') diff --git a/interface-definitions/include/protocol-tcp-udp.xml.i b/interface-definitions/include/protocol-tcp-udp.xml.i new file mode 100644 index 000000000..d7e6752ad --- /dev/null +++ b/interface-definitions/include/protocol-tcp-udp.xml.i @@ -0,0 +1,22 @@ + + + + Protocol to be used (TCP/UDP) + + udp tcp + + + udp + Listen protocol UDP + + + tcp + Listen protocol TCP + + + (udp|tcp) + + + udp + + diff --git a/interface-definitions/include/snmp/protocol.xml.i b/interface-definitions/include/snmp/protocol.xml.i deleted file mode 100644 index d7e6752ad..000000000 --- a/interface-definitions/include/snmp/protocol.xml.i +++ /dev/null @@ -1,22 +0,0 @@ - - - - Protocol to be used (TCP/UDP) - - udp tcp - - - udp - Listen protocol UDP - - - tcp - Listen protocol TCP - - - (udp|tcp) - - - udp - - 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 @@ Facility for logging - auth authpriv cron daemon kern lpr mail mark news protocols security syslog user uucp local0 local1 local2 local3 local4 local5 local6 local7 all + auth authpriv cron daemon kern lpr mail mark news syslog user uucp local0 local1 local2 local3 local4 local5 local6 local7 all - (auth|authpriv|cron|daemon|kern|lpr|mail|mark|news|protocols|security|syslog|user|uucp|local0|local1|local2|local3|local4|local5|local6|local7|all) + (auth|authpriv|cron|daemon|kern|lpr|mail|mark|news|syslog|user|uucp|local0|local1|local2|local3|local4|local5|local6|local7|all) Invalid facility type @@ -49,14 +49,6 @@ news USENET subsystem - - protocols - depricated will be set to local7 - - - security - depricated will be set to auth - syslog Authentication and authorization @@ -109,10 +101,6 @@ emerg alert crit err warning notice info debug all - - (emerg|alert|crit|err|warning|notice|info|debug|all) - - Invalid loglevel emerg Emergency messages @@ -149,7 +137,12 @@ all Log everything + + (emerg|alert|crit|err|warning|notice|info|debug|all) + + Invalid loglevel + err diff --git a/interface-definitions/include/version/system-version.xml.i b/interface-definitions/include/version/system-version.xml.i index b7650c782..73df8bd8e 100644 --- a/interface-definitions/include/version/system-version.xml.i +++ b/interface-definitions/include/version/system-version.xml.i @@ -1,3 +1,3 @@ - + -- cgit v1.2.3