<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vyos-1x.git/src/etc, branch vyos/1.5dev0</title>
<subtitle>VyOS command definitions, scripts, and utilities (mirror of https://github.com/marekm72/vyos-1x.git)
</subtitle>
<id>https://git.amelek.net/marekm72/vyos-1x.git/atom?h=vyos%2F1.5dev0</id>
<link rel='self' href='https://git.amelek.net/marekm72/vyos-1x.git/atom?h=vyos%2F1.5dev0'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/'/>
<updated>2023-08-20T13:02:59+00:00</updated>
<entry>
<title>netplug: T5491: invoke DHCP helpers also on wifi interfaces</title>
<updated>2023-08-20T13:02:59+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2023-08-20T12:59:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/commit/?id=35a46e4abfcece1beefb898ebd7fcb688fc55de5'/>
<id>urn:sha1:35a46e4abfcece1beefb898ebd7fcb688fc55de5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>netplug: T5476: rewrite dhclient helper from Perl -&gt; Python</title>
<updated>2023-08-16T11:22:14+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2023-08-15T10:42:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/commit/?id=1ab8166a5481c184ded9abf8da48dd0d391c8ae3'/>
<id>urn:sha1:1ab8166a5481c184ded9abf8da48dd0d391c8ae3</id>
<content type='text'>
There are two hooks called for bridge, ethernet and bond interfaces if the
link-state changes up -&gt; down or down -&gt; up.

The helpers are:
* /etc/netplug/linkdown.d/dhclient
* /etc/netplug/linkup.d/dhclient

As those helpers use Linux actions to start/restart the dhclient process in
Perl it's time to rewrite it. First goal is to get rid of all Perl code and the
second is that we now have a Proper Python library. Instead of checking if the
process is running the then restarting it without even systemd noticing
(yeah we might get two processes beeing alive) we should:

* Add a Python helper that can be used for both up and down (see man 8 netplugd
  FILES section)
* Query the VyOS CLI config if the interface in question has DHCP(v6)
  configured and is not disabled
* Add IPv6 DHCPv6 support

MAN page: https://linux.die.net/man/8/netplugd
</content>
</entry>
<entry>
<title>T5428: remove hardcoded dhcp lease file path from dhclient hook</title>
<updated>2023-08-05T09:01:28+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2023-08-05T08:54:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/commit/?id=2c8135270dafee602cd86cb19dc73366fa0a8b98'/>
<id>urn:sha1:2c8135270dafee602cd86cb19dc73366fa0a8b98</id>
<content type='text'>
</content>
</entry>
<entry>
<title>dhcp: T5428: remove hardcoded path to client runtime directories</title>
<updated>2023-08-05T07:28:03+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2023-08-05T07:01:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/commit/?id=96132f582ef698b84d08e5ff207e508ed0f9c5f7'/>
<id>urn:sha1:96132f582ef698b84d08e5ff207e508ed0f9c5f7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>openvpn: T4974: do not automatically load the DCO module</title>
<updated>2023-07-26T20:29:07+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2023-07-26T20:28:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/commit/?id=9e0a9b7df3d7187173feaf922fedbac8f0f0b674'/>
<id>urn:sha1:9e0a9b7df3d7187173feaf922fedbac8f0f0b674</id>
<content type='text'>
Module should be loaded/unloaded on demand.
</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/marekm72/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>dhclient: T5358: Use return in 99-ipsec-dhclient-hook</title>
<updated>2023-07-14T15:30:32+00:00</updated>
<author>
<name>Darin Kuo</name>
<email>darinkuo@gmail.com</email>
</author>
<published>2023-07-14T02:24:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/commit/?id=5b67c9266c334186dd567cb453f05b6f8528aaf4'/>
<id>urn:sha1:5b67c9266c334186dd567cb453f05b6f8528aaf4</id>
<content type='text'>
Use return instead of exit in 99-dhclient-exit-hook to allow subsequent unnumbered hooks to run (like rfc3442-classless-routes). Hooks are sourced, not executed.
</content>
</entry>
<entry>
<title>T3355: import startup scripts from vyatta-cfg repo for vyos-router</title>
<updated>2023-07-09T18:45:15+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2023-07-09T18:45:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/commit/?id=00f95c93b6c3aca25d5f4ba0e29b4f8db954952c'/>
<id>urn:sha1:00f95c93b6c3aca25d5f4ba0e29b4f8db954952c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>T5303: Rsyslog.service is not working</title>
<updated>2023-06-19T19:57:07+00:00</updated>
<author>
<name>cuongdt1994</name>
<email>63875204+cuongdt1994@users.noreply.github.com</email>
</author>
<published>2023-06-19T19:41:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/commit/?id=c8d15a0a92c1f6007489482f4293dcd566691b0c'/>
<id>urn:sha1:c8d15a0a92c1f6007489482f4293dcd566691b0c</id>
<content type='text'>
warning: ~ action is deprecated, consider using the 'stop' statement instead [v8.24.0 try http://www.rsyslog.com/e/2307 ]
</content>
</entry>
<entry>
<title>T5282: remove systemd management directive for frr.service</title>
<updated>2023-06-12T16:29:45+00:00</updated>
<author>
<name>John Estabrook</name>
<email>jestabro@vyos.io</email>
</author>
<published>2023-06-12T15:41:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/commit/?id=01028cf993e4c75462d62215e04b3934df95207d'/>
<id>urn:sha1:01028cf993e4c75462d62215e04b3934df95207d</id>
<content type='text'>
frr.service startup and shutdown is now explicitly managed by
vyos-router, so remove the systemd management directive.
</content>
</entry>
</feed>
