<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vyos-1x.git/src/migration-scripts/interfaces, branch 1.3.2</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.3.2</id>
<link rel='self' href='https://git.amelek.net/marekm72/vyos-1x.git/atom?h=1.3.2'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/'/>
<updated>2021-10-21T17:38:38+00:00</updated>
<entry>
<title>tunnel: T3925: dhcp-interface was of no use - use source-interface instead</title>
<updated>2021-10-21T17:38:38+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2021-10-21T17:38:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/commit/?id=c1015d8ce0013719eb898b60b14ffec192b8141c'/>
<id>urn:sha1:c1015d8ce0013719eb898b60b14ffec192b8141c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>vyos.ethtool: T3163: purify code to read and change flow-control settings</title>
<updated>2021-08-31T21:36:14+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2021-08-31T21:03:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/commit/?id=b0d4112bd6073e4a947869c3bd80f8e87783fbfa'/>
<id>urn:sha1:b0d4112bd6073e4a947869c3bd80f8e87783fbfa</id>
<content type='text'>
It makes no sense to have a parser for the ethtool values in ethtool.py
and ethernet.py - one instance ios more then enough!

(cherry picked from commit 0229645c8248decb5664056df8aa5cd5dff41802)
</content>
</entry>
<entry>
<title>ethernet: T2241: check if interface supports changing speed/duplex settings</title>
<updated>2021-08-31T17:04:15+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2021-08-31T16:15:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/commit/?id=2bfd809e9ae198d95b9fcb556440637fdcc4005c'/>
<id>urn:sha1:2bfd809e9ae198d95b9fcb556440637fdcc4005c</id>
<content type='text'>
Not all interface drivers have the ability to change the speed and duplex
settings. Known drivers with this limitation are vmxnet3, virtio_net and
xen_netfront. If this driver is detected, an error will be presented to the
user.

(cherry picked from commit cc742d48579e4f76e5d3230d87e22f71f76f9301)
</content>
</entry>
<entry>
<title>ethernet: T3787: remove deprecated UDP fragmentation offloading option</title>
<updated>2021-08-30T19:38:44+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2021-08-30T19:36:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/commit/?id=f5e46ee6cc2b6c1c1869e26beca4ccd5bf52b62f'/>
<id>urn:sha1:f5e46ee6cc2b6c1c1869e26beca4ccd5bf52b62f</id>
<content type='text'>
Deprecated in the Linux Kernel by commit 08a00fea6de277df12ccfadc21 ("net:
Remove references to NETIF_F_UFO from ethtool.").
</content>
</entry>
<entry>
<title>ethernet: T3619: fix VyOS 1.2 -&gt; 1.3 performance degradation</title>
<updated>2021-08-30T19:38:44+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2021-08-30T19:29:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/commit/?id=a515212f4efb08846df04405f31a828edcd63552'/>
<id>urn:sha1:a515212f4efb08846df04405f31a828edcd63552</id>
<content type='text'>
An analysis of the code base from VyOS 1.2 -&gt; 1.3 -&gt; 1.4 revealed the following
"root-cause"

VyOS 1.2 uses the "old" node.def file format for:
* Generic Segmentation Offloading
* Generic Receive Offloading

So if any of the above settings is available on the configuration CLI, the
node.def file will be executed - this is how it works.

By default, this CLI option is not enabled in VyOS 1.2 - but the Linux Kernel
enables offloading "under the hood" by default for GRO, GSO... which will boost
the performance for users magically.

With the rewrite in VyOS 1.3 of all the interface related code T1579, and
especially T1637 this was moved to a new approach. There is now only one handler
script which is called whenever a user changes something under the interfaces
ethernet tree. The Full CLI configuration is assembled by get_interface_dict() -
a wrapper for get_config_dict() which abstracts and works for all of our
interface types - single source design.

The problem now comes into play when the gathered configuration is actually
written to the hardware, as there is no GSO, GRO or foo-offloading setting
defined - we behave as instructed and disable the offloading.

So the real bug originates from VyOS 1.2 and the old Vyatta codebase, but the
recent XML Python rewrites brought that one up to light.

Solution:
A configuration migration script will be provided starting with VyOS 1.3 which
will read in the CLI configuration of the ethernet interfaces and if not
enabled, will query the adapter if offloading is supported at all, and if so,
will enable the CLI nodes.

One might say that this will "blow" the CLI configuration but it only represents
the truth - which was masked in VyOS 1.2.
</content>
</entry>
<entry>
<title>ifconfig: backport ifconfig framework from 1.4 to support new tunnel options</title>
<updated>2021-07-25T19:10:25+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2021-07-25T09:49:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/commit/?id=7a85dbfb8b97dade658e8213099fc4995ae62ea1'/>
<id>urn:sha1:7a85dbfb8b97dade658e8213099fc4995ae62ea1</id>
<content type='text'>
It is easier to backport the entire vyos.ifconfig library from 1.4 instead of
backporting single pieces which are required to add new feature to the tunnel
interface section.

In addition that both libraries are now back in sync it will become much easier
to backport any other new feature introduced in VyOS 1.4!
</content>
</entry>
<entry>
<title>wwan: T3620: adjust NAT inbound/outbound interfaces on config migration</title>
<updated>2021-06-13T09:20:08+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2021-06-13T09:06:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/commit/?id=0352aa560122146d761c7bbc00b008cd59a3fc97'/>
<id>urn:sha1:0352aa560122146d761c7bbc00b008cd59a3fc97</id>
<content type='text'>
(cherry picked from commit e24e35e1ac11a0771b15417af191694fd0b88022)
</content>
</entry>
<entry>
<title>wwan: T3620: fix backup route metric in migration script</title>
<updated>2021-06-13T09:20:08+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2021-06-13T08:31:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/commit/?id=a95d3dd5c43e6ada07db3f86ed2082264912813b'/>
<id>urn:sha1:a95d3dd5c43e6ada07db3f86ed2082264912813b</id>
<content type='text'>
(cherry picked from commit d20dd7a0e6af08a80c7c911e7b151f28e4666173)
</content>
</entry>
<entry>
<title>wwan: T3620: rename "wirelessmodem wlm" interfaces to new wwan interface tree</title>
<updated>2021-06-13T09:20:08+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2021-06-12T11:17:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/commit/?id=8a98235b5d7f19a0f90cbd536097b3aef0ea29d7'/>
<id>urn:sha1:8a98235b5d7f19a0f90cbd536097b3aef0ea29d7</id>
<content type='text'>
(cherry picked from commit c2a1c071e7d0a9ca754d7f5016eed7db188b3d1a)
</content>
</entry>
<entry>
<title>router-advert: T3561: fix inconsistent use of tabs and spaces in indentation</title>
<updated>2021-05-24T08:45:48+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2021-05-24T06:33:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/commit/?id=f0020ef10d601c5e8dbcc4ed8fb1dab402170c9e'/>
<id>urn:sha1:f0020ef10d601c5e8dbcc4ed8fb1dab402170c9e</id>
<content type='text'>
Commit c17f259d ("router-advert: T3561: add support for specific routes") used
tabs over spaces in the Migration script which triggered a TabError (inconsistent
use of tabs and spaces in indentation").

(cherry picked from commit acc701bac3483a3242c77a2e00c076890e27eea9)
</content>
</entry>
</feed>
