<feed xmlns='http://www.w3.org/2005/Atom'>
<title>veeos-1x.git/python/vyos/utils, 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-09-11T16:09:31+00:00</updated>
<entry>
<title>migration: T6007: use load_as_module_source for files without extension</title>
<updated>2024-09-11T16:09:31+00:00</updated>
<author>
<name>John Estabrook</name>
<email>jestabro@vyos.io</email>
</author>
<published>2024-06-20T01:37:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos-contrib/veeos-1x.git/commit/?id=a79237bb168e611d2965031479d0786b8380e438'/>
<id>urn:sha1:a79237bb168e611d2965031479d0786b8380e438</id>
<content type='text'>
(cherry picked from commit 8a57e7b14c818c93655819757d99b69747c9b2ca)
</content>
</entry>
<entry>
<title>vyos.utils.dict: T5195: fix syntax warning</title>
<updated>2024-09-11T16:07:20+00:00</updated>
<author>
<name>John Estabrook</name>
<email>jestabro@vyos.io</email>
</author>
<published>2024-06-16T02:02:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos-contrib/veeos-1x.git/commit/?id=461195c5046da1013a0cb201da917c41daf6f0dc'/>
<id>urn:sha1:461195c5046da1013a0cb201da917c41daf6f0dc</id>
<content type='text'>
(cherry picked from commit 23356ee435344d8e9272f3a8a2273e00e7fca3ad)
</content>
</entry>
<entry>
<title>configdiff: T5666: provide list of scripts scheduled for proposed commit</title>
<updated>2024-08-26T05:25:22+00:00</updated>
<author>
<name>John Estabrook</name>
<email>jestabro@vyos.io</email>
</author>
<published>2024-08-22T01:18:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos-contrib/veeos-1x.git/commit/?id=79c66813a99831352319c557f4712c5a63bdbcb1'/>
<id>urn:sha1:79c66813a99831352319c557f4712c5a63bdbcb1</id>
<content type='text'>
(cherry picked from commit 5819fd88e7948572a65b62885ddcba8ebbb7371c)
</content>
</entry>
<entry>
<title>utils: T6658: fix write_file check in case of empty directory path (#3993)</title>
<updated>2024-08-16T18:27:57+00:00</updated>
<author>
<name>mergify[bot]</name>
<email>37929162+mergify[bot]@users.noreply.github.com</email>
</author>
<published>2024-08-16T18:27:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos-contrib/veeos-1x.git/commit/?id=a43b5c7d1ca00fe67af08ae576889e657ac9b7b0'/>
<id>urn:sha1:a43b5c7d1ca00fe67af08ae576889e657ac9b7b0</id>
<content type='text'>
(cherry picked from commit 58125b64c6678ea581998c9f83a19fae0cdbda12)

Co-authored-by: John Estabrook &lt;jestabro@vyos.io&gt;</content>
</entry>
<entry>
<title>system: op-mode: T3334: replace some print() statements with Warning()</title>
<updated>2024-07-30T13:53:08+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2024-07-30T13:50:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos-contrib/veeos-1x.git/commit/?id=1ce6c77eb37c9519c8e970eafc210c4f6533f55b'/>
<id>urn:sha1:1ce6c77eb37c9519c8e970eafc210c4f6533f55b</id>
<content type='text'>
Make it more obvious for the user aber the severity of his action.

(cherry picked from commit b3b31153963cc4338e8229f9f94b339682dd73a0)
</content>
</entry>
<entry>
<title>system: op-mode: T3334: allow delayed getty restart when configuring serial ports</title>
<updated>2024-07-30T13:53:07+00:00</updated>
<author>
<name>Andrew Topp</name>
<email>andrewt@telekinetica.net</email>
</author>
<published>2024-07-08T13:58:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos-contrib/veeos-1x.git/commit/?id=9d8609c97650c0a65856bdfe705b740070de9f1a'/>
<id>urn:sha1:9d8609c97650c0a65856bdfe705b740070de9f1a</id>
<content type='text'>
* Created op-mode command "restart serial console"
* Relocated service control to vyos.utils.serial helpers, used by conf- and
  op-mode serial console handling
  * Checking for logged-in serial sessions that may be affected by getty reconfig
  * Warning the user when changes are committed and serial sessions are active,
    otherwise restart services as normal. No prompts issued during commit,
    all config gen/commit steps still occur except for the service restarts
    (everything remains consistent)
  * To apply committed changes, user will need to run "restart serial console"
    to complete the process or reboot the whole router
  * Added additional flags and target filtering for generic use of helpers.

(cherry picked from commit bc9049ebd76576d727fa87b10b96d1616950237c)
</content>
</entry>
<entry>
<title>smoketest: T6592: verify no interface stalls in conntrack ct_iface_map on deletion</title>
<updated>2024-07-24T23:52:14+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2024-07-24T09:19:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos-contrib/veeos-1x.git/commit/?id=28fedd4e76bbea2b174159ee7b67ddda5e952ab5'/>
<id>urn:sha1:28fedd4e76bbea2b174159ee7b67ddda5e952ab5</id>
<content type='text'>
Now that interfaces are deleted from ct_iface_map during deletion it's time to
also add a smoketest ensuring there is no entry in the ct_iface_map once an
interface was deleted from the CLI.

(cherry picked from commit 1c42ee9d16dd49fff2cbde652bf24a38f364526c)
</content>
</entry>
<entry>
<title>utils: T5195: fix timeout comment</title>
<updated>2024-07-22T19:57:10+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2024-07-19T11:48:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos-contrib/veeos-1x.git/commit/?id=3512c7081beb8befa8d4b33f6be01c2c9c7e9be8'/>
<id>urn:sha1:3512c7081beb8befa8d4b33f6be01c2c9c7e9be8</id>
<content type='text'>
(cherry picked from commit 11b273108d78ab1588be3c077f40b2ac876369a4)
</content>
</entry>
<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-contrib/veeos-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>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-contrib/veeos-1x.git/commit/?id=316a50a5c7b2cf8f3853d61dc2e3c0a64d66fb20'/>
<id>urn:sha1:316a50a5c7b2cf8f3853d61dc2e3c0a64d66fb20</id>
<content type='text'>
(cherry picked from commit 710bb184045baa85897d589ffbc8af14b0fce629)
</content>
</entry>
</feed>
