<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vyos-1x.git/src/system, branch vyos/1.4dev1</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=vyos%2F1.4dev1</id>
<link rel='self' href='https://git.amelek.net/vyos/vyos-1x.git/atom?h=vyos%2F1.4dev1'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/'/>
<updated>2023-07-14T20:18:36+00:00</updated>
<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/vyos-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>cloud-init: T5190: Added Cloud-init pre-configurator</title>
<updated>2023-05-04T19:26:17+00:00</updated>
<author>
<name>zsdc</name>
<email>taras@vyos.io</email>
</author>
<published>2023-05-04T19:26:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=3c229a3646a58e47d4d69c011f82c45ef3bb3c77'/>
<id>urn:sha1:3c229a3646a58e47d4d69c011f82c45ef3bb3c77</id>
<content type='text'>
Added a new service that starts before Cloud-init, waits for all network
interfaces initialization, and if requested by config, checks which interfaces
can get configuration via DHCP server and creates a corresponding Cloud-init
network configuration.

This protects from two situations:

* when Cloud-init tries to get meta-data via eth0 (default and fallback variant
for any data source which depends on network), but the real network is connected
to another interface
* when Cloud-init starts simultaneously with udev and initializes the first
interface to get meta-data before it is renamed to eth0 by udev
</content>
</entry>
<entry>
<title>T4526: use informative error messages for keepalived-fifo with commit in progress</title>
<updated>2022-10-31T12:14:05+00:00</updated>
<author>
<name>Daniil Baturin</name>
<email>daniil@vyos.io</email>
</author>
<published>2022-10-31T12:14:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=61bc664137d73c6b73e9db5157e1a7a79ab5cebd'/>
<id>urn:sha1:61bc664137d73c6b73e9db5157e1a7a79ab5cebd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>update-check: T3476: Allow update-check for VyOS images</title>
<updated>2022-09-07T14:54:35+00:00</updated>
<author>
<name>Viacheslav Hletenko</name>
<email>v.gletenko@vyos.io</email>
</author>
<published>2022-09-05T18:35:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=a8e73794ec421ad2bb0053214504f20a1dc3b21a'/>
<id>urn:sha1:a8e73794ec421ad2bb0053214504f20a1dc3b21a</id>
<content type='text'>
Ability to autocheck available new images
Parse remote URL JSON image-version.json file and compare version
VyOS with a local current version, if find diff sent wall
message that the new image is available
Also, add op-mode command to check images "show system image"
With option "auto-check" check will be once per 12 hours

  set system update-check auto-check
  set system update-check url 'http://example.com/image-version.json'

If new version is available shows it per login (MOTD)
</content>
</entry>
<entry>
<title>keepalived: T4526: keepalived-fifo.py unable to load config</title>
<updated>2022-08-22T19:47:30+00:00</updated>
<author>
<name>Sander Klein</name>
<email>github@roedie.nl</email>
</author>
<published>2022-08-22T19:47:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=ed5fb0645367e4bd099fe12decbb515af1e6dcc6'/>
<id>urn:sha1:ed5fb0645367e4bd099fe12decbb515af1e6dcc6</id>
<content type='text'>
keepalived-fifo.py cannot load the VyOS config because the
script is started before the commit is completely finished.

This change makes sure the script waits for the commit
to be completed. It retries every 0.5 seconds. If the commit
is still not completed it will continue as did the original
implementation.
</content>
</entry>
<entry>
<title>event-handler: T4508: Fixed environment variables</title>
<updated>2022-07-04T15:12:39+00:00</updated>
<author>
<name>zsdc</name>
<email>taras@vyos.io</email>
</author>
<published>2022-07-04T14:54:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=325b135e54079e6869d719866ba096dd288cc600'/>
<id>urn:sha1:325b135e54079e6869d719866ba096dd288cc600</id>
<content type='text'>
Fixed usage of environment variables - made an individual environment variable
for an event a true copy, instead of a reference to a single environ dictionary.
Also, reorganized imports according to PEP8.
</content>
</entry>
<entry>
<title>event-handler: T4501: Fix for syslog-identifier</title>
<updated>2022-07-01T11:25:54+00:00</updated>
<author>
<name>Viacheslav Hletenko</name>
<email>v.gletenko@vyos.io</email>
</author>
<published>2022-07-01T11:25:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=f8986f061760ca49e1ec0801ff12846cebac1c67'/>
<id>urn:sha1:f8986f061760ca49e1ec0801ff12846cebac1c67</id>
<content type='text'>
In dictionary we get "syslog-identifier" with dash
But we try to parse option with underscore "syslog_identifier"
Fix it
</content>
</entry>
<entry>
<title>event-handler: T3083: Extended event-handler features</title>
<updated>2022-06-07T12:12:07+00:00</updated>
<author>
<name>zsdc</name>
<email>taras@vyos.io</email>
</author>
<published>2022-06-07T11:34:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=06c0d2f2f9f4b9c97eb9868df166d787ca367ee7'/>
<id>urn:sha1:06c0d2f2f9f4b9c97eb9868df166d787ca367ee7</id>
<content type='text'>
* Added the ability to filter by a syslog identifier
* Added the ability to pass arguments to a script
* Added the ability to pass preconfigured environment variables to a script
* A message that triggered a script is now passed in the `message` variable and
can be used in a script
* Replaced `call()` to `run()`, since stdout are not need to be printed
</content>
</entry>
<entry>
<title>event-handler: T3083: Optimized event-handler</title>
<updated>2022-06-06T18:33:17+00:00</updated>
<author>
<name>zsdc</name>
<email>taras@vyos.io</email>
</author>
<published>2022-06-06T18:33:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=74454c341a57aab66151b9ef2488eb72a306c002'/>
<id>urn:sha1:74454c341a57aab66151b9ef2488eb72a306c002</id>
<content type='text'>
* Removed dynamic generating for systemd unit
* Optimized configuration file deleting process
* Added exceptions handlers to event-handler script to protect service
from most obvious potential troubles
* Improved logging
* Moved pattern compilation outside a messages loop to avoid extra operations
* Added signal handlers for proper systemd integration
</content>
</entry>
<entry>
<title>vrrp: T4226: transition-script does not work for groups containing a hypen (-)</title>
<updated>2022-02-05T19:13:04+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2022-02-05T19:13:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=11a900e706db59459314622050ced7d4117f090b'/>
<id>urn:sha1:11a900e706db59459314622050ced7d4117f090b</id>
<content type='text'>
</content>
</entry>
</feed>
