<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vyos-1x.git/src/migration-scripts/qos, branch current</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=current</id>
<link rel='self' href='https://git.amelek.net/marekm72/vyos-1x.git/atom?h=current'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/'/>
<updated>2024-06-26T20:38:41+00:00</updated>
<entry>
<title>migration: T6007: convert all migration scripts to load as module</title>
<updated>2024-06-26T20:38:41+00:00</updated>
<author>
<name>John Estabrook</name>
<email>jestabro@vyos.io</email>
</author>
<published>2024-06-20T01:16:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/commit/?id=26740a8d583f64dc0a27b59dd4ae303056972c0b'/>
<id>urn:sha1:26740a8d583f64dc0a27b59dd4ae303056972c0b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>T5941: Migration QoS delete orphaned interface traffic-policy</title>
<updated>2024-01-24T18:03:31+00:00</updated>
<author>
<name>Viacheslav Hletenko</name>
<email>v.gletenko@vyos.io</email>
</author>
<published>2024-01-24T18:03:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/commit/?id=ca43e517408168ad1f12a3e5bc6f2d97f510faee'/>
<id>urn:sha1:ca43e517408168ad1f12a3e5bc6f2d97f510faee</id>
<content type='text'>
We can get an orphaned interface traffic-policy when the traffic-policy
name is removed from the interface, but the node `trffic-policy`
is still attached to the interface

For exmaple we have orphaned node traffic-policy on an interface:
```
set interfaces bonding bond0 vif 995 traffic-policy
```

This causes of incorrect migration and we do not see VLANs on
the bonding interface after update.

Delete traffic-policy from all interfaces if traffic-policy does not exist
</content>
</entry>
<entry>
<title>T5427: Fix migration script arguments len expects 2 args</title>
<updated>2023-08-02T09:12:23+00:00</updated>
<author>
<name>Viacheslav Hletenko</name>
<email>v.gletenko@vyos.io</email>
</author>
<published>2023-08-02T09:12:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/commit/?id=d1923b7b58795f0d9635ae0e8df110f591881bdf'/>
<id>urn:sha1:d1923b7b58795f0d9635ae0e8df110f591881bdf</id>
<content type='text'>
The script's name is always provided as the first argument sys.argv[0]
Expected length for argv is 2 (script itself + config file)

Change: 'if (len(argv) &lt; 1)' to 'if len(argv) &lt; 2'
</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>qos: T4284: migration script must ensure bandwidth is converted to lower case</title>
<updated>2023-02-11T07:32:19+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2023-02-11T07:31:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/commit/?id=4a4b25cba424347e2d114b37b079c31441fc011e'/>
<id>urn:sha1:4a4b25cba424347e2d114b37b079c31441fc011e</id>
<content type='text'>
tc acccepts the bandwidth value/unit pairs as lowercase - so does the VyOS CLI
validator work, too.
</content>
</entry>
<entry>
<title>qos: T4284: add bandwidth percentage value</title>
<updated>2023-01-04T16:55:48+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2023-01-04T16:54:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/commit/?id=ae8935ce62e55ad047b51bebef8a1d9124ed1826'/>
<id>urn:sha1:ae8935ce62e55ad047b51bebef8a1d9124ed1826</id>
<content type='text'>
</content>
</entry>
<entry>
<title>qos: T4284: migrate percentaged bandwidth to absolute value in bit/s</title>
<updated>2023-01-01T21:06:12+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2023-01-01T21:06:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/commit/?id=6af6482f5ab5040696635aa3f581427fb638fd1e'/>
<id>urn:sha1:6af6482f5ab5040696635aa3f581427fb638fd1e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>qos: T4284: first implementation introducing a new vyos.qos module</title>
<updated>2023-01-01T07:14:31+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2022-06-16T19:20:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/commit/?id=f89a6806d90fd11e0e1e5e922ef95332ad8bfeb8'/>
<id>urn:sha1:f89a6806d90fd11e0e1e5e922ef95332ad8bfeb8</id>
<content type='text'>
</content>
</entry>
</feed>
