<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vyos-1x.git/src/op_mode/restart_dhcp_relay.py, branch feature/T9082-codeql-cpp</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=feature%2FT9082-codeql-cpp</id>
<link rel='self' href='https://git.amelek.net/vyos/vyos-1x.git/atom?h=feature%2FT9082-codeql-cpp'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/'/>
<updated>2025-06-28T21:16:52+00:00</updated>
<entry>
<title>T7591: remove copyright years from source files</title>
<updated>2025-06-28T21:16:52+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2025-06-28T18:51:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=1478516ae437f19ebeb7d6ff9b83dd74f8e76758'/>
<id>urn:sha1:1478516ae437f19ebeb7d6ff9b83dd74f8e76758</id>
<content type='text'>
The legal team says years are not necessary so we can go ahead with it, since
it will simplify backporting.

Automatically removed using: git ls-files | grep -v libvyosconfig | xargs sed -i -E \
's/^# Copyright (19|20)[0-9]{2}(-[0-9]{4})? VyOS maintainers.*/# Copyright VyOS maintainers and contributors &lt;maintainers@vyos.io&gt;/g'

In addition we will error-out during "make" if someone re-adds a legacy
copyright notice
</content>
</entry>
<entry>
<title>T6199: drop unused Python imports</title>
<updated>2024-04-02T22:15:43+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2024-04-02T22:15:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=274b2da242acd1f1f64ff1dee471e34295137c5f'/>
<id>urn:sha1:274b2da242acd1f1f64ff1dee471e34295137c5f</id>
<content type='text'>
found using "git ls-files *.py | xargs pylint | grep W0611"
</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/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>dhcp-relay: T4601:  restart dhcp relay-agent</title>
<updated>2022-08-16T00:02:46+00:00</updated>
<author>
<name>mkorobeinikov</name>
<email>92354771+mkorobeinikov@users.noreply.github.com</email>
</author>
<published>2022-08-16T00:02:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=160262edaf1b6b6405baa5c65f69573225cbe208'/>
<id>urn:sha1:160262edaf1b6b6405baa5c65f69573225cbe208</id>
<content type='text'>
The command "restart dhcp relay-agent" doesn't restart "isc-dhcp-relay" service.</content>
</entry>
<entry>
<title>op-mode: T4503: Prevent restart service if commit in progress</title>
<updated>2022-07-07T16:28:59+00:00</updated>
<author>
<name>Viacheslav Hletenko</name>
<email>v.gletenko@vyos.io</email>
</author>
<published>2022-07-06T15:32:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=28ba0ef32425ee458293a37a4a5ba664dfe577b2'/>
<id>urn:sha1:28ba0ef32425ee458293a37a4a5ba664dfe577b2</id>
<content type='text'>
Prevent op-mode scripts from restarting services if commit in
progress
</content>
</entry>
<entry>
<title>op-mode: T2185: adjust restart dhcpv4/v6 systemd service name</title>
<updated>2020-04-13T18:34:54+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2020-04-13T18:34:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=f7334d102315eb56f3526ac464fa77cbc0457859'/>
<id>urn:sha1:f7334d102315eb56f3526ac464fa77cbc0457859</id>
<content type='text'>
</content>
</entry>
<entry>
<title>util: T2226: os.system was wrongly converted to run</title>
<updated>2020-04-09T18:08:24+00:00</updated>
<author>
<name>Thomas Mangin</name>
<email>thomas.mangin@exa.net.uk</email>
</author>
<published>2020-04-09T18:08:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=9875a21bdb26df19f2faf3e81153dea15e4f9e3c'/>
<id>urn:sha1:9875a21bdb26df19f2faf3e81153dea15e4f9e3c</id>
<content type='text'>
os.system does print the ouput of the command, run() does not.
A new function called call() does the printing and return the error code.</content>
</entry>
<entry>
<title>util: T2226: covert most calls from os.system to util</title>
<updated>2020-04-06T19:22:35+00:00</updated>
<author>
<name>Thomas Mangin</name>
<email>thomas.mangin@exa.net.uk</email>
</author>
<published>2020-04-05T13:36:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=aceb0817a65bf01669cada3ceb60d65b81607bc3'/>
<id>urn:sha1:aceb0817a65bf01669cada3ceb60d65b81607bc3</id>
<content type='text'>
As little change a possible but the function call
The behaviour should be totally unchanged.
</content>
</entry>
<entry>
<title>T1016: fix IPv4/IPv6 dhcp relay restart command</title>
<updated>2018-11-17T10:04:50+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2018-11-17T10:03:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=f9007c5f5e6e7957ab1c955c10b3842dca7b253d'/>
<id>urn:sha1:f9007c5f5e6e7957ab1c955c10b3842dca7b253d</id>
<content type='text'>
Current implementation referred to a no longer existing Perl script to
restart the IPv4 and IPv6 instance of dhcrelay.

&gt; restart dhcp relay-agent
&gt; restart dhcpv6 relay-agent
</content>
</entry>
</feed>
