<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vyos-1x.git/python, branch mergify/bp/circinus/pr-3841</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=mergify%2Fbp%2Fcircinus%2Fpr-3841</id>
<link rel='self' href='https://git.amelek.net/vyos/vyos-1x.git/atom?h=mergify%2Fbp%2Fcircinus%2Fpr-3841'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/'/>
<updated>2024-07-20T14:21:20+00:00</updated>
<entry>
<title>interfaces: T6592: moving an interface between VRF instances failed</title>
<updated>2024-07-20T14:21:20+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2024-07-20T08:35:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=1b3350788ceeace52e2d693a18d92d82464220c0'/>
<id>urn:sha1:1b3350788ceeace52e2d693a18d92d82464220c0</id>
<content type='text'>
To reproduce:

    set vrf name mgmt table '150'
    set vrf name no-mgmt table '151'
    set interfaces ethernet eth2 vrf 'mgmt'
    commit

    set interfaces ethernet eth2 vrf no-mgmt
    commit

This resulted in an error while interacting with nftables:
[Errno 1] failed to run command: nft add element inet vrf_zones ct_iface_map { "eth2" : 151 }

The reason is that the old mapping entry still exists and was not removed.

This commit adds a new utility function get_vrf_tableid() and compares the
current and new VRF table IDs assigned to an interface. If the IDs do not
match, the nftables ct_iface_map entry is removed before the new entry is added.

(cherry picked from commit 452068ce78581bb6fba2df4dba197e95b9aeb33d)
</content>
</entry>
<entry>
<title>configdep: T6559: use single dependency list with reset under configd</title>
<updated>2024-07-17T13:04:08+00:00</updated>
<author>
<name>John Estabrook</name>
<email>jestabro@vyos.io</email>
</author>
<published>2024-07-14T21:31:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=70dbc0109282576875e20503a36c99da1073f3b4'/>
<id>urn:sha1:70dbc0109282576875e20503a36c99da1073f3b4</id>
<content type='text'>
(cherry picked from commit 52d08b1ec5b2943744daac7123e35fd415f85db2)
</content>
</entry>
<entry>
<title>configdep: T6559: drop global redundancy removal to fix error reporting</title>
<updated>2024-07-17T13:04:07+00:00</updated>
<author>
<name>John Estabrook</name>
<email>jestabro@vyos.io</email>
</author>
<published>2024-07-14T21:29:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=71f4d7c721d4b9ebfd005e8429f1d6f5c907a5ff'/>
<id>urn:sha1:71f4d7c721d4b9ebfd005e8429f1d6f5c907a5ff</id>
<content type='text'>
(cherry picked from commit 7249d10f1fbb3f90a4bdbcd0223926d0380ddd3a)
</content>
</entry>
<entry>
<title>interfaces: T6519: harden config migration if ethernet interface is missing</title>
<updated>2024-06-26T14:35:54+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2024-06-26T13:35:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=ec6bfeadbcfd838b43f49c6996430b8370caecc4'/>
<id>urn:sha1:ec6bfeadbcfd838b43f49c6996430b8370caecc4</id>
<content type='text'>
During a corner case where the configuration is migrated to a different system
with fewer ethernet interfaces, migration will fail during an image upgrade.

vyos.ethtool.Ethtool() is instantiated with an invalid interface leading to an
exception that kills the migrator

(cherry picked from commit e47d4fd385631236da6882233b09f6364cbb077b)
</content>
</entry>
<entry>
<title>vyos.utils: T6504: add interactive op-/configure mode support for get_current_user()</title>
<updated>2024-06-24T17:31:29+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2024-06-23T06:21:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=316a50a5c7b2cf8f3853d61dc2e3c0a64d66fb20'/>
<id>urn:sha1:316a50a5c7b2cf8f3853d61dc2e3c0a64d66fb20</id>
<content type='text'>
(cherry picked from commit 710bb184045baa85897d589ffbc8af14b0fce629)
</content>
</entry>
<entry>
<title>T6489: add abstraction vyos.utils.configfs to work natively with the config filesystem</title>
<updated>2024-06-24T14:08:27+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2024-06-15T06:44:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=8603967cbd7eb1ecdbad2e0960d1a18c667d38a3'/>
<id>urn:sha1:8603967cbd7eb1ecdbad2e0960d1a18c667d38a3</id>
<content type='text'>
(cherry picked from commit d7a18a3da949bfa3df89661cc0871e8f23b18a10)
</content>
</entry>
<entry>
<title>T6489: add abstraction vyos.utils.auth.get_current_user()</title>
<updated>2024-06-24T14:08:27+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2024-06-15T06:44:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=6baee9809a0626f9f555060cfb7b173388377deb'/>
<id>urn:sha1:6baee9809a0626f9f555060cfb7b173388377deb</id>
<content type='text'>
(cherry picked from commit e1a34e661d3e5f0090550796ac266dac15e1e337)
</content>
</entry>
<entry>
<title>T6489: add vyos_configdir to the dictionary of default directories</title>
<updated>2024-06-24T14:08:26+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2024-06-15T06:02:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=3e285639c9ebd4a415d1abbb738eecf3445e14fd'/>
<id>urn:sha1:3e285639c9ebd4a415d1abbb738eecf3445e14fd</id>
<content type='text'>
(cherry picked from commit f0923acffbef04c1f8cf2a6c8a9e2afd66c4a494)
</content>
</entry>
<entry>
<title>op-mode: T5514: Allow safe reboots to config defaults when config.boot is deleted</title>
<updated>2024-06-21T02:48:45+00:00</updated>
<author>
<name>Andrew Topp</name>
<email>andrewt@telekinetica.net</email>
</author>
<published>2024-06-18T23:48:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=5e88f15b16d39213f349c3a7b4f1030a1399f1cb'/>
<id>urn:sha1:5e88f15b16d39213f349c3a7b4f1030a1399f1cb</id>
<content type='text'>
* Added flag to vyos.config_mgmt.unsaved_commits() that will tolerate missing config.boot for specific circumstances
* Shutdown/reboot uses this flag; config will regenerate from defaults after a reboot

(cherry picked from commit 8281383a09f12da20a1c9b4864b38ac3f541b48f)
</content>
</entry>
<entry>
<title>macsec: T5447: fix error message syntax - there is no tx and rx key, only key</title>
<updated>2024-06-19T19:25:12+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2024-06-19T19:18:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=53e628e9b2c99632f4026b5093ad4693511cb75e'/>
<id>urn:sha1:53e628e9b2c99632f4026b5093ad4693511cb75e</id>
<content type='text'>
(cherry picked from commit f29caa824c02c833a3978b9236391e4277c1a6ba)
</content>
</entry>
</feed>
