<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vyos-1x.git/python/vyos, branch 1.4.0-epa1</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=1.4.0-epa1</id>
<link rel='self' href='https://git.amelek.net/marekm72/vyos-1x.git/atom?h=1.4.0-epa1'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/'/>
<updated>2024-02-17T20:14:31+00:00</updated>
<entry>
<title>image-tools: T6041: fix logic of is_live_boot to allow for PXE boot</title>
<updated>2024-02-17T20:14:31+00:00</updated>
<author>
<name>John Estabrook</name>
<email>jestabro@vyos.io</email>
</author>
<published>2024-02-16T19:11:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/commit/?id=64e8ae09386fc9f311a9309ffab805abd3848ce1'/>
<id>urn:sha1:64e8ae09386fc9f311a9309ffab805abd3848ce1</id>
<content type='text'>
(cherry picked from commit 5949ff72a9f953da9d06d1ad75add0e6023d0dc4)
</content>
</entry>
<entry>
<title>T6029: Rewritten Accel-PPP services to an identical feature set</title>
<updated>2024-02-15T15:11:10+00:00</updated>
<author>
<name>aapostoliuk</name>
<email>a.apostoliuk@vyos.io</email>
</author>
<published>2024-02-13T16:55:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/commit/?id=8eec0b5b062b5f98a865949ac0f2a49d61b81199'/>
<id>urn:sha1:8eec0b5b062b5f98a865949ac0f2a49d61b81199</id>
<content type='text'>
Removed dhcp-interface option (l2tp)
Added wins-server (sstp)
Added description (ipoe, pppoe, sstp, pptp)
Added exteded-script (l2tp, sstp, pptp)
Added shaper (ipoe, pptp, sstp, l2tp)
Added limits (ipoe, pptp, sstp, l2tp)
Added snmp ( ipoe, pptp,sstp, l2tp)
Refactoring and reformated code.

(cherry picked from commit ac6a16f6c5ad7700789759e1ec093236c2e182a2)
</content>
</entry>
<entry>
<title>pki: T6034: add OpenSSH key support</title>
<updated>2024-02-13T20:39:59+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2024-02-11T20:49:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/commit/?id=71397fb4070758e5ce29be08a3572bf3ee62cb06'/>
<id>urn:sha1:71397fb4070758e5ce29be08a3572bf3ee62cb06</id>
<content type='text'>
set pki openssh rpki private key ...
set pki openssh rpki public key ...
set pki openssh rpki public type 'ssh-rsa'

(cherry picked from commit 8c78ef0879f22ffd4a5f7fdb175e9109b46e9d7b)
</content>
</entry>
<entry>
<title>T6028: Fix QoS policy shaper wrong class_id_max and default_minor_id</title>
<updated>2024-02-09T11:44:35+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/marekm72/vyos-1x.git/commit/?id=a6781cd008998200d491fbf86f6976d81323a7bd'/>
<id>urn:sha1:a6781cd008998200d491fbf86f6976d81323a7bd</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.

(cherry picked from commit 2e8fa45c7f0663549edd118622b3381e7c428b2e)
</content>
</entry>
<entry>
<title>Merge pull request #2974 from vyos/mergify/bp/sagitta/pr-2643</title>
<updated>2024-02-09T09:01:43+00:00</updated>
<author>
<name>Daniil Baturin</name>
<email>daniil@vyos.io</email>
</author>
<published>2024-02-09T09:01:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/commit/?id=094e1eeb90961e82ff5f0d3c116eb791c0f3731f'/>
<id>urn:sha1:094e1eeb90961e82ff5f0d3c116eb791c0f3731f</id>
<content type='text'>
T5828: fix grub installation on arm64-efi machines (backport #2643)</content>
</entry>
<entry>
<title>T5828: fix grub installation on arm64-efi machines</title>
<updated>2024-02-09T07:27:07+00:00</updated>
<author>
<name>Mathew McBride</name>
<email>matt@traverse.com.au</email>
</author>
<published>2023-12-11T05:15:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/commit/?id=5aa56c5cc4524f7cd57f1979726b82e6537090f6'/>
<id>urn:sha1:5aa56c5cc4524f7cd57f1979726b82e6537090f6</id>
<content type='text'>
Since the migration of GRUB handling to vyos-1x, the grub install
sequence has hardcoded references to x86.
Change the GRUB sequence so it can work on arm64 as well.

(cherry picked from commit 37bd574c4e1f49b03f985c4293513ff7107ae82f)
</content>
</entry>
<entry>
<title>T5960: Rewritten authentication node in PPTP to a single view</title>
<updated>2024-02-09T07:23:30+00:00</updated>
<author>
<name>aapostoliuk</name>
<email>a.apostoliuk@vyos.io</email>
</author>
<published>2024-02-07T10:26:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/commit/?id=3e1a585f9714ffa990bb5751c7a4c7025d7c02fa'/>
<id>urn:sha1:3e1a585f9714ffa990bb5751c7a4c7025d7c02fa</id>
<content type='text'>
Rewritten authentication node in accel-ppp services
to a single view. In particular - PPTP authentication.

(cherry picked from commit 018110200c9a82815dd5d0510f0732d7159c0d59)
</content>
</entry>
<entry>
<title>init: T2044: only start rpki if cache is configured</title>
<updated>2024-02-07T20:56:38+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2024-02-07T20:34:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/commit/?id=f7a83728d4179ae5eedf0a109bc37733b79c82b4'/>
<id>urn:sha1:f7a83728d4179ae5eedf0a109bc37733b79c82b4</id>
<content type='text'>
This extends commit 9199c87cf ("init: T2044: always start/stop rpki during
system boot") to check the bootup configuration if an RPKI cache is defined.
Only start RPKI if this is the case.

(cherry picked from commit 9b8e11e078c42e3ae86ebfa45fec57336f25a0af)
</content>
</entry>
<entry>
<title>T6021: Fix QoS shaper r2q calculation</title>
<updated>2024-02-07T17:02:13+00:00</updated>
<author>
<name>Viacheslav Hletenko</name>
<email>v.gletenko@vyos.io</email>
</author>
<published>2024-02-07T16:34:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/commit/?id=6c3c5389bdd3f6b9d40e53596f9f22a2a36bfee9'/>
<id>urn:sha1:6c3c5389bdd3f6b9d40e53596f9f22a2a36bfee9</id>
<content type='text'>
The current calculation `r2q` is wrong as it uses `Floor division`
but expecting `division`
This way `math.ceil` calculate wrong value as we expect
round a number upward to its nearest integer

For example for speed 710 mbits expected value `444` but we get `443`

```
from math import ceil

MAXQUANTUM = 200000
speed = 710000000
speed_bps = int(speed) // 8

&gt;&gt;&gt; speed_bps // MAXQUANTUM
443
&gt;&gt;&gt; speed_bps / MAXQUANTUM
443.75
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt; ceil(speed_bps // MAXQUANTUM)
443
&gt;&gt;&gt; ceil(speed_bps / MAXQUANTUM)
444
&gt;&gt;&gt;
```

(cherry picked from commit ce1035e1e8642bf740e2a21693a72fe2127b8f72)
</content>
</entry>
<entry>
<title>image-tools: T6016: wait for umount in cleanup function</title>
<updated>2024-02-06T17:01:13+00:00</updated>
<author>
<name>John Estabrook</name>
<email>jestabro@vyos.io</email>
</author>
<published>2024-02-06T04:38:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/commit/?id=1eb17f79bf3ebf29c4caf7e09734cd3a6346cdd2'/>
<id>urn:sha1:1eb17f79bf3ebf29c4caf7e09734cd3a6346cdd2</id>
<content type='text'>
(cherry picked from commit d80530c48a78dfeb55293494a257f6234b0ef76d)
</content>
</entry>
</feed>
