<feed xmlns='http://www.w3.org/2005/Atom'>
<title>veeos-1x.git/src/conf_mode/system-logs.py, branch circinus</title>
<subtitle>VyOS command definitions, scripts, and utilities (mirror of https://github.com/vyos-contrib/veeos-1x.git)
</subtitle>
<id>https://git.amelek.net/vyos-contrib/veeos-1x.git/atom?h=circinus</id>
<link rel='self' href='https://git.amelek.net/vyos-contrib/veeos-1x.git/atom?h=circinus'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos-contrib/veeos-1x.git/'/>
<updated>2023-12-31T22:49:48+00:00</updated>
<entry>
<title>T5474: establish common file name pattern for XML conf mode commands</title>
<updated>2023-12-31T22:49:48+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-contrib/veeos-1x.git/commit/?id=4ef110fd2c501b718344c72d495ad7e16d2bd465'/>
<id>urn:sha1:4ef110fd2c501b718344c72d495ad7e16d2bd465</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
</content>
</entry>
<entry>
<title>T5434: use auto-defaults in system-logs.py</title>
<updated>2023-08-07T19:46:42+00:00</updated>
<author>
<name>John Estabrook</name>
<email>jestabro@vyos.io</email>
</author>
<published>2023-08-07T01:40:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos-contrib/veeos-1x.git/commit/?id=b62c2685af62ed8715fae71f94df7a2fe645bd64'/>
<id>urn:sha1:b62c2685af62ed8715fae71f94df7a2fe645bd64</id>
<content type='text'>
</content>
</entry>
<entry>
<title>T5195: vyos.util -&gt; vyos.utils package refactoring (#2093)</title>
<updated>2023-07-14T20:18:36+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2023-07-14T20:18:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos-contrib/veeos-1x.git/commit/?id=d1ca536da448749dff557f13ecae97b124026e96'/>
<id>urn:sha1:d1ca536da448749dff557f13ecae97b124026e96</id>
<content type='text'>
* T5195: move run, cmd, call, rc_cmd helper to vyos.utils.process

* T5195: use read_file and write_file implementation from vyos.utils.file

Changed code automatically using:

find . -type f -not -path '*/\.*' -exec sed -i 's/^from vyos.util import read_file$/from vyos.utils.file import read_file/g' {} +
find . -type f -not -path '*/\.*' -exec sed -i 's/^from vyos.util import write_file$/from vyos.utils.file import write_file/g' {} +

* T5195: move chmod* helpers to vyos.utils.permission

* T5195: use colon_separated_to_dict from vyos.utils.dict

* T5195: move is_systemd_service_* to vyos.utils.process

* T5195: fix boot issues with missing imports

* T5195: move dict_search_* helpers to vyos.utils.dict

* T5195: move network helpers to vyos.utils.network

* T5195: move commit_* helpers to vyos.utils.commit

* T5195: move user I/O helpers to vyos.utils.io</content>
</entry>
<entry>
<title>system-logs: T4353: fix Jinja2 linting errors</title>
<updated>2022-05-01T18:47:04+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2022-05-01T18:43:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos-contrib/veeos-1x.git/commit/?id=f38ce741c2852e4eaeeaa23736960d9a717b600f'/>
<id>urn:sha1:f38ce741c2852e4eaeeaa23736960d9a717b600f</id>
<content type='text'>
</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-contrib/veeos-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-contrib/veeos-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 config rendering</title>
<updated>2021-12-13T17:28:27+00:00</updated>
<author>
<name>zsdc</name>
<email>taras@vyos.io</email>
</author>
<published>2021-12-13T17:28:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos-contrib/veeos-1x.git/commit/?id=a22ba14999a38217155a7a999f61e855d813cc41'/>
<id>urn:sha1:a22ba14999a38217155a7a999f61e855d813cc41</id>
<content type='text'>
Switched to `vyos.util.dict_search()` to keep the style common with the
rest components.
Removed config file comparison - almost the same result may be reached
by removing a configuration file with each boot, we already have such a
feature in the `vyos-router`.
</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-contrib/veeos-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>
