<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vyos-1x.git/interface-definitions/system-logs.xml.in, branch 1.4.0-rc2</title>
<subtitle>VyOS command definitions, scripts, and utilities (mirror of https://github.com/vyos/vyos-1x.git)
</subtitle>
<id>https://git.amelek.net/vyos/vyos-1x.git/atom?h=1.4.0-rc2</id>
<link rel='self' href='https://git.amelek.net/vyos/vyos-1x.git/atom?h=1.4.0-rc2'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/'/>
<updated>2024-01-01T08:25:32+00:00</updated>
<entry>
<title>T5474: establish common file name pattern for XML conf mode commands</title>
<updated>2024-01-01T08:25:32+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2023-12-30T22:25:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=c9eaafd9f808aba8d29be73054e11d37577e539a'/>
<id>urn:sha1:c9eaafd9f808aba8d29be73054e11d37577e539a</id>
<content type='text'>
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 -&gt; interfaces_ethernet.xml.in
set interfaces bond -&gt; interfaces_bond.xml.in
set service dhcp-server -&gt; service_dhcp-server-xml.in

(cherry picked from commit 4ef110fd2c501b718344c72d495ad7e16d2bd465)
</content>
</entry>
<entry>
<title>scripts: T4269: node.def generator should automatically add default values</title>
<updated>2022-02-24T21:47:12+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2022-02-24T21:47:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=a68c9238111c6caee78bb28f8054b8f0cfa0e374'/>
<id>urn:sha1:a68c9238111c6caee78bb28f8054b8f0cfa0e374</id>
<content type='text'>
Since introducing the XML &lt;defaultValue&gt; node it was common, but redundant,
practice to also add a help string indicating which value would be used as
default if the node is unset.

This makes no sense b/c it's duplicated code/value/characters and prone to
error. The node.def scripts should be extended to automatically render the
appropriate default value into the CLI help string.

For e.g. SSH the current PoC renders:

$ cat templates-cfg/service/ssh/port/node.def
  multi:
  type: txt
  help: Port for SSH service (default: 22)
  val_help: u32:1-65535; Numeric IP port
  ...

Not all subsystems are already migrated to get_config_dict() and make use of
the defaults() call - those subsystems need to be migrated, first before the new
default is added to the CLI help.
</content>
</entry>
<entry>
<title>logs: T3774: Optimization for logrotate configs</title>
<updated>2021-12-17T14:41:50+00:00</updated>
<author>
<name>zsdc</name>
<email>taras@vyos.io</email>
</author>
<published>2021-12-17T14:41:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=86bbab75ae414f19305970e2aa8aaeb05e6990ae'/>
<id>urn:sha1:86bbab75ae414f19305970e2aa8aaeb05e6990ae</id>
<content type='text'>
* Added proper handling of default values from CLI.
* Replaced rsyslog restart postrotate action to native `rsyslog-rotate`
script.
* Removed unnecessary checks for `None` instead `dict` - with
default values the situation becomes impossible.
* Fixed default value from 10 to 1 in the rsyslog CLI.
</content>
</entry>
<entry>
<title>logs: T3774: Added new CLI item</title>
<updated>2021-12-13T19:45:47+00:00</updated>
<author>
<name>zsdc</name>
<email>taras@vyos.io</email>
</author>
<published>2021-12-13T18:05:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=945ab070b72ebd9f5ccfe0052ed138a93b83b297'/>
<id>urn:sha1:945ab070b72ebd9f5ccfe0052ed138a93b83b297</id>
<content type='text'>
Added the ability to control the `/var/log/messages` rotation.
Renamed the option `maxsize` to `max-size`.
</content>
</entry>
<entry>
<title>logs: T3774: Improved logs CLI</title>
<updated>2021-12-08T10:23:59+00:00</updated>
<author>
<name>zsdc</name>
<email>taras@vyos.io</email>
</author>
<published>2021-12-08T10:23:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=89fdb4fbfa05e11a7e4ad7f169b5753b4fc60d71'/>
<id>urn:sha1:89fdb4fbfa05e11a7e4ad7f169b5753b4fc60d71</id>
<content type='text'>
Added description to the Atop section and information about default
values
</content>
</entry>
<entry>
<title>logs: T3774: Added CLI options to control atop logs rotation</title>
<updated>2021-12-07T20:44:34+00:00</updated>
<author>
<name>zsdc</name>
<email>taras@vyos.io</email>
</author>
<published>2021-12-07T20:41:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=ac73200e4f0cf4020dfcd0a11e6004bca479253f'/>
<id>urn:sha1:ac73200e4f0cf4020dfcd0a11e6004bca479253f</id>
<content type='text'>
Added CLI options to generate logrotate configuration file for atop logs
</content>
</entry>
</feed>
