<feed xmlns='http://www.w3.org/2005/Atom'>
<title>veeos-1x.git/python/vyos/qos, branch circinus</title>
<subtitle>VyOS command definitions, scripts, and utilities (mirror of https://github.com/vyos-contrib/veeos-1x.git)
</subtitle>
<id>https://git.amelek.net/vyos-contrib/veeos-1x.git/atom?h=circinus</id>
<link rel='self' href='https://git.amelek.net/vyos-contrib/veeos-1x.git/atom?h=circinus'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos-contrib/veeos-1x.git/'/>
<updated>2024-05-21T14:02:31+00:00</updated>
<entry>
<title>T6373: QoS Policy Limiter - classes for marked traffic do not work</title>
<updated>2024-05-21T14:02:31+00:00</updated>
<author>
<name>khramshinr</name>
<email>khramshinr@gmail.com</email>
</author>
<published>2024-05-21T14:02:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos-contrib/veeos-1x.git/commit/?id=e50b7afc9d5b727d04933116ccf364a2b9a48c30'/>
<id>urn:sha1:e50b7afc9d5b727d04933116ccf364a2b9a48c30</id>
<content type='text'>
</content>
</entry>
<entry>
<title>qos: T6225: Fix qos random-detect policy</title>
<updated>2024-05-02T11:47:04+00:00</updated>
<author>
<name>khramshinr</name>
<email>khramshinr@gmail.com</email>
</author>
<published>2024-05-02T11:45:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos-contrib/veeos-1x.git/commit/?id=0b54c1bc411a21833ec573031cf5ad98fe709a2f'/>
<id>urn:sha1:0b54c1bc411a21833ec573031cf5ad98fe709a2f</id>
<content type='text'>
Fix default values for random-detect
Remove dsmakr qdisc from gred cofig because dsmark was deleted from kernel
</content>
</entry>
<entry>
<title>qos: T4248: Allow to remove the only rule from the qos class</title>
<updated>2024-04-16T07:49:19+00:00</updated>
<author>
<name>khramshinr</name>
<email>khramshinr@gmail.com</email>
</author>
<published>2024-04-16T07:49:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos-contrib/veeos-1x.git/commit/?id=da40bd2b2a826986de128354ea1bfc041ada0016'/>
<id>urn:sha1:da40bd2b2a826986de128354ea1bfc041ada0016</id>
<content type='text'>
</content>
</entry>
<entry>
<title>qos: T6035: QoS policy shaper queue-type random-detect requires limit avpkt</title>
<updated>2024-04-12T10:47:53+00:00</updated>
<author>
<name>khramshinr</name>
<email>khramshinr@gmail.com</email>
</author>
<published>2024-04-12T05:32:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos-contrib/veeos-1x.git/commit/?id=31cd75aec6d035b36537046ae0d034c03009a3fc'/>
<id>urn:sha1:31cd75aec6d035b36537046ae0d034c03009a3fc</id>
<content type='text'>
Added params for configuration red on the shaper policy
</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-contrib/veeos-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>qos: T1871: add MTU option when configure limiter traffic-policy</title>
<updated>2024-03-18T11:22:58+00:00</updated>
<author>
<name>khramshinr</name>
<email>khramshinr@gmail.com</email>
</author>
<published>2024-03-14T06:38:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos-contrib/veeos-1x.git/commit/?id=84bbcdf5b7980f701aba6e158a2be4a05e7076d9'/>
<id>urn:sha1:84bbcdf5b7980f701aba6e158a2be4a05e7076d9</id>
<content type='text'>
add mtu to default and specified class
update smoke test
</content>
</entry>
<entry>
<title>Merge pull request #3068 from natali-rs1985/T5646-current</title>
<updated>2024-03-04T17:25:45+00:00</updated>
<author>
<name>Daniil Baturin</name>
<email>daniil@vyos.io</email>
</author>
<published>2024-03-04T17:25:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos-contrib/veeos-1x.git/commit/?id=450bb16795305e32e46b21da4bb5913843d9d871'/>
<id>urn:sha1:450bb16795305e32e46b21da4bb5913843d9d871</id>
<content type='text'>
qos: T5646: Skip add filter for qos policy limiter class without match</content>
</entry>
<entry>
<title>qos: T6081: QoS policy shaper target and interval wrong calcuations</title>
<updated>2024-03-01T15:51:31+00:00</updated>
<author>
<name>Nataliia Solomko</name>
<email>natalirs1985@gmail.com</email>
</author>
<published>2024-03-01T15:51:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos-contrib/veeos-1x.git/commit/?id=c7f5b510cfd117e57f2d22e259c843600ef4cc76'/>
<id>urn:sha1:c7f5b510cfd117e57f2d22e259c843600ef4cc76</id>
<content type='text'>
</content>
</entry>
<entry>
<title>T5646: Skip add filter for qos policy limiter class without match</title>
<updated>2024-03-01T10:47:08+00:00</updated>
<author>
<name>Nataliia Solomko</name>
<email>natalirs1985@gmail.com</email>
</author>
<published>2024-03-01T10:47:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos-contrib/veeos-1x.git/commit/?id=2104424c1a43dc027567e051262e1eed6506491f'/>
<id>urn:sha1:2104424c1a43dc027567e051262e1eed6506491f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>T6028: Fix QoS policy shaper wrong class_id_max and default_minor_id</title>
<updated>2024-02-09T10:51:00+00:00</updated>
<author>
<name>Viacheslav Hletenko</name>
<email>v.gletenko@vyos.io</email>
</author>
<published>2024-02-09T10:51:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos-contrib/veeos-1x.git/commit/?id=2e8fa45c7f0663549edd118622b3381e7c428b2e'/>
<id>urn:sha1:2e8fa45c7f0663549edd118622b3381e7c428b2e</id>
<content type='text'>
The `class_id_max` is wrong due to `tmp.sort` of Strings
If we have class 5 and class 10 we get sorted max value 5, expected 10

```
&gt;&gt;&gt; tmp = ['5', '10']
&gt;&gt;&gt; tmp.sort()
&gt;&gt;&gt; tmp
['10', '5']
&gt;&gt;&gt;

&gt;&gt;&gt; hex(5+1)
'0x6'
&gt;&gt;&gt;
&gt;&gt;&gt; hex(10+1)
'0xb'
&gt;&gt;&gt;
```

This way we get wrong default maximum class value:
```
tc qdisc replace dev eth1 root handle 1: htb r2q 444 default 6
```
Expect:
```
tc qdisc replace dev eth1 root handle 1: htb r2q 444 default b
```

Fix this converting Strings to Integers and get max value.
</content>
</entry>
</feed>
