<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vyos-1x.git/python/vyos/ifconfig, branch sagitta</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=sagitta</id>
<link rel='self' href='https://git.amelek.net/marekm72/vyos-1x.git/atom?h=sagitta'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/'/>
<updated>2024-07-26T09:36:35+00:00</updated>
<entry>
<title>vxlan: T6505: Support VXLAN VLAN-VNI range mapping in CLI (#3756)</title>
<updated>2024-07-26T09:36:35+00:00</updated>
<author>
<name>Nataliia S</name>
<email>81954790+natali-rs1985@users.noreply.github.com</email>
</author>
<published>2024-07-08T15:51:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/commit/?id=a80813920040e8e0351c3504b9e385b5c579d6a8'/>
<id>urn:sha1:a80813920040e8e0351c3504b9e385b5c579d6a8</id>
<content type='text'>
(cherry picked from commit 115e99630a317cab62c6f99e0461f6ce2c1edaf3)
</content>
</entry>
<entry>
<title>interface: T6592: remove interface from conntrack ct_iface_map on deletion</title>
<updated>2024-07-25T17:29:12+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2024-07-23T17:03:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/commit/?id=6d60f88fef6edeb06a0efe1974c662f75c40640f'/>
<id>urn:sha1:6d60f88fef6edeb06a0efe1974c662f75c40640f</id>
<content type='text'>
We always have had stale interface entries in the ct_iface_map of nftables/
conntrack for any interface that once belonged to a VRF.

This commit will always clean the nftables interface map when the interface
is deleted from the system.

(cherry picked from commit 17c12bde5c6f314311e7524842fd1ddc254009b4)
</content>
</entry>
<entry>
<title>interfaces: T6592: moving an interface between VRF instances failed</title>
<updated>2024-07-20T18:21:07+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/marekm72/vyos-1x.git/commit/?id=031eebc1ee473196cffe9e4b7b0164444cf88905'/>
<id>urn:sha1:031eebc1ee473196cffe9e4b7b0164444cf88905</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)

# Conflicts:
#	python/vyos/ifconfig/interface.py
#	python/vyos/utils/network.py
</content>
</entry>
<entry>
<title>macsec: T5447: fix error message syntax - there is no tx and rx key, only key</title>
<updated>2024-06-19T19:24:40+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/marekm72/vyos-1x.git/commit/?id=0ef709dc082c97a5e0d1e19646ead98036d9a85c'/>
<id>urn:sha1:0ef709dc082c97a5e0d1e19646ead98036d9a85c</id>
<content type='text'>
(cherry picked from commit f29caa824c02c833a3978b9236391e4277c1a6ba)
</content>
</entry>
<entry>
<title>vxlan: T6401: Avoid calling get_vxlan_vni_filter() unless we need it</title>
<updated>2024-06-09T06:25:36+00:00</updated>
<author>
<name>Andrew Topp</name>
<email>andrewt@telekinetica.net</email>
</author>
<published>2024-06-01T13:42:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/commit/?id=083e15c224be61ba51e1a29efdb24921a5278da5'/>
<id>urn:sha1:083e15c224be61ba51e1a29efdb24921a5278da5</id>
<content type='text'>
`bridge vni show dev vxlanX` will exit with an error if no VNI filters
are installed, but the getter is used even when we haven't installed any.

This fix avoids fetching a list of VNI filters unless we know we've
created some.

(cherry picked from commit ac7ee2b36df23c3a4dd2be393132631556b6ef40)
</content>
</entry>
<entry>
<title>vyos.ifconfig: T6421: verify /etc/hostname exists before reading</title>
<updated>2024-05-30T11:43:08+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2024-05-30T07:44:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/commit/?id=013ed1d6ff6360db771cb992d8331a5dceada154'/>
<id>urn:sha1:013ed1d6ff6360db771cb992d8331a5dceada154</id>
<content type='text'>
Inspired-By: Brandon Zhi &lt;Huiyuze_Zhi@protonmail.com&gt;
(cherry picked from commit cf07a55d183be1f4d28b8b50a0784513d91d6fe2)
</content>
</entry>
<entry>
<title>bond: T6303: must reset system-mac to 00:00:00:00:00:00 on deletion</title>
<updated>2024-05-10T13:21:59+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2024-05-10T13:17:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/commit/?id=bced1b4ef04f9e1a12c083c08839e4c1a54e2549'/>
<id>urn:sha1:bced1b4ef04f9e1a12c083c08839e4c1a54e2549</id>
<content type='text'>
(cherry picked from commit 314901e7b45782fb6266b35b0e788ab7ea1404b8)
</content>
</entry>
<entry>
<title>bond: T6303: system-mac is not allowed to be a multicast MAC address</title>
<updated>2024-05-10T13:21:59+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2024-05-10T13:15:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/commit/?id=82552e2abc77640b3a81560e3f8c5be2c21e3ad2'/>
<id>urn:sha1:82552e2abc77640b3a81560e3f8c5be2c21e3ad2</id>
<content type='text'>
(cherry picked from commit d8ddd7191d3004e886fa45a2cf9bd8dd5e7f5e14)
</content>
</entry>
<entry>
<title>bond: T6303: add system mac address on bond</title>
<updated>2024-05-10T13:21:59+00:00</updated>
<author>
<name>fett0</name>
<email>fernando.gmaidana@gmail.com</email>
</author>
<published>2024-05-04T17:07:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/commit/?id=05099eab245c265474f10ffb206ab23c494c8b88'/>
<id>urn:sha1:05099eab245c265474f10ffb206ab23c494c8b88</id>
<content type='text'>
(cherry picked from commit 234f35d8bae71b5d33ad97cdabc236ec6b13c3a2)
</content>
</entry>
<entry>
<title>netns: T6295: disable incomplete support in VyOS 1.4 sagitta</title>
<updated>2024-05-02T19:04:30+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2024-05-02T19:04:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/commit/?id=dd40ed58b9e50d40cd395e67be3e9bccfb89e1f6'/>
<id>urn:sha1:dd40ed58b9e50d40cd395e67be3e9bccfb89e1f6</id>
<content type='text'>
The netns support currently available on the VyOS CLI is only a
proof-of-technology, we have no real support for any service behind it.

In order to not confuse anyone on the LTS branch we decided to remove the
netns option for interfaces until there is a proper usecase and implementation
available.
</content>
</entry>
</feed>
