<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vyos-1x.git/src/helpers/vyos_net_name, branch current</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=current</id>
<link rel='self' href='https://git.amelek.net/vyos/vyos-1x.git/atom?h=current'/>
<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>vyos_net_name: T6544: Updated the `vyos_net_name` script</title>
<updated>2024-07-03T20:00:58+00:00</updated>
<author>
<name>zsdc</name>
<email>taras@vyos.io</email>
</author>
<published>2024-07-03T20:00:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=86e26bc41e573c2c72d472fba132bfd657b6fbfa'/>
<id>urn:sha1:86e26bc41e573c2c72d472fba132bfd657b6fbfa</id>
<content type='text'>
Improvements in the `vyos_net_name`:

- Used a new locking system, to be sure that multiple running scripts will not
try to perform operations at the same time.
- Replace logging from a file to syslog. This is common with all the rest logs,
and additionally gives a better view of actions done during a boot.
- Small bug fix in `get_configfile_interfaces()`: exit with an error in case a
config file cannot be parsed. This resolves potentially an unbound `config` object.
- Minor formatting fixes to follow our requirements.
</content>
</entry>
<entry>
<title>migration: T6007: update vyos_net_name</title>
<updated>2024-06-26T20:45:19+00:00</updated>
<author>
<name>John Estabrook</name>
<email>jestabro@vyos.io</email>
</author>
<published>2024-06-23T19:49:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=cd347713196cc8b48ea394365501e54a04d5e6e4'/>
<id>urn:sha1:cd347713196cc8b48ea394365501e54a04d5e6e4</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/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>T5195: move boot_* helpers to vyos.utils.boot</title>
<updated>2023-07-12T19:16:56+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2023-07-12T19:16:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=4e2a087cc7e91a510dd590f7cc761e36ac8f77f8'/>
<id>urn:sha1:4e2a087cc7e91a510dd590f7cc761e36ac8f77f8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>interface-names: T3871: use tempfile during virtual migration</title>
<updated>2022-01-20T14:32:03+00:00</updated>
<author>
<name>John Estabrook</name>
<email>jestabro@vyos.io</email>
</author>
<published>2022-01-20T14:32:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=a41826759ae79907eee673414c2de35807fb6b3a'/>
<id>urn:sha1:a41826759ae79907eee673414c2de35807fb6b3a</id>
<content type='text'>
Use tempfile to avoid race conditions during virtual migration.
</content>
</entry>
<entry>
<title>vyos.util: T4061: add function to check for completion of boot config</title>
<updated>2021-12-08T19:30:38+00:00</updated>
<author>
<name>John Estabrook</name>
<email>jestabro@vyos.io</email>
</author>
<published>2021-12-08T19:29:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=e6b1c1f572068535ea99ee39a2d66bd6bf7043d5'/>
<id>urn:sha1:e6b1c1f572068535ea99ee39a2d66bd6bf7043d5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>interface-names: T3871: 'migrate' component string syntax as needed</title>
<updated>2021-11-18T15:43:00+00:00</updated>
<author>
<name>John Estabrook</name>
<email>jestabro@vyos.io</email>
</author>
<published>2021-11-18T15:41:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=57ffa79bbde2b4144d0b8be71feafea6043193dd'/>
<id>urn:sha1:57ffa79bbde2b4144d0b8be71feafea6043193dd</id>
<content type='text'>
With the rewrite of vyatta_net_name to Python using ConfigTree, one
runs into the change in the syntax of the component version string when
updating 1.2 --&gt; 1.3/1.4, since the udev rule is run before the
migration of the config file; add an explicit 'virtual' migration on
configtree error.
</content>
</entry>
<entry>
<title>interface-names: T3871: shift index to accommodate KVM behaviour</title>
<updated>2021-11-12T14:52:38+00:00</updated>
<author>
<name>John Estabrook</name>
<email>jestabro@vyos.io</email>
</author>
<published>2021-11-12T14:51:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=86e498517b89a37dba8845c89978753bb045a763'/>
<id>urn:sha1:86e498517b89a37dba8845c89978753bb045a763</id>
<content type='text'>
(on behalf of Dmitriy Eshenko)
</content>
</entry>
<entry>
<title>interface-names: T3871: Add temporary interface names to properly renaming</title>
<updated>2021-11-09T19:09:40+00:00</updated>
<author>
<name>DmitriyEshenko</name>
<email>dmitriy.eshenko@vyos.io</email>
</author>
<published>2021-11-08T17:20:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=ee02ca93ec7be75edd0ec4c0e07fe5d51a45edc6'/>
<id>urn:sha1:ee02ca93ec7be75edd0ec4c0e07fe5d51a45edc6</id>
<content type='text'>
</content>
</entry>
</feed>
