From 4ef110fd2c501b718344c72d495ad7e16d2bd465 Mon Sep 17 00:00:00 2001 From: Christian Breunig Date: Sat, 30 Dec 2023 23:25:20 +0100 Subject: T5474: establish common file name pattern for XML conf mode commands We will use _ as CLI level divider. The XML definition filename and also the Python helper should match the CLI node. Example: set interfaces ethernet -> interfaces_ethernet.xml.in set interfaces bond -> interfaces_bond.xml.in set service dhcp-server -> service_dhcp-server-xml.in --- interface-definitions/system_syslog.xml.in | 155 +++++++++++++++++++++++++++++ 1 file changed, 155 insertions(+) create mode 100644 interface-definitions/system_syslog.xml.in (limited to 'interface-definitions/system_syslog.xml.in') diff --git a/interface-definitions/system_syslog.xml.in b/interface-definitions/system_syslog.xml.in new file mode 100644 index 000000000..3343e2c59 --- /dev/null +++ b/interface-definitions/system_syslog.xml.in @@ -0,0 +1,155 @@ + + + + + + + System logging + 400 + + + + + Logging to specific terminal of given user + + system login user + + + txt + Local user account + + + #include + + illegal characters in user + + + #include + + + + + Logging to remote host + + + + + Invalid host (FQDN or IP address) + + ipv4 + Remote syslog server IPv4 address + + + ipv6 + Remote syslog server IPv6 address + + + hostname + Remote syslog server FQDN + + + + #include + + 514 + + #include + #include + + + Logging format + + + + + Allows for the transmission of all characters inside a syslog message + + + + + + + + + + Logging to system standard location + + + #include + + + mark messages sent to syslog + + + + + time interval how often a mark message is being sent in seconds + + + + + 1200 + + + + + + uses FQDN for logging + + + + + + + + Logging to a file + + [a-zA-Z0-9\-_.]{1,255} + + illegal characters in filename or filename longer than 255 characters + + + + + Log file size and rotation characteristics + + + + + Number of saved files + + [0-9]+ + + illegal characters in number of files + + 5 + + + + Size of log files in kbytes + + [0-9]+ + + illegal characters in size + + 256 + + + + #include + + + + + logging to serial console + + + #include + + + #include + + + + + -- cgit v1.2.3