sriov-netplan-shim:bug/1927125

Last commit made on 2021-08-27
Get this branch:
git clone -b bug/1927125 https://git.launchpad.net/sriov-netplan-shim

Branch merges

Branch information

Name:
bug/1927125
Repository:
lp:sriov-netplan-shim

Recent commits

0e9d911... by Frode Nordahl

Handle empty interfaces key in configuration file

In the event the configuration file exists and contains a
interfaces key with no nodes, the current validation will not
detect it and cause an exception when trying to iterate on a
NoneType value.

abafe27... by Frode Nordahl

Avoid using interface name when resolving sysfs objects

At the point in time in the boot process this script is run
interface names has not settled yet, so we can't really rely on
/sys/class/net/* paths for anything.

Go the route via /sys/bus/pci/devices instead.

Also make the resolution of netdev name from PCI device more robust
taking into account PCI devices that may have multiple netdevs.

Closes-Bug: #1927125
Related-Bug: #1892132

8d13ebf... by Frode Nordahl

ci: Migrate to GitHub Actions

Also add ignore for H216 (use of third party mock), pending
migration to the built-in mock package.

78f8cbd... by James Page

Merge pull request #3 from fnordahl/device-by-pci-addr

Add support for matching devices on MAC or PCI address

2d5706a... by Frode Nordahl

Add support for matching devices on MAC or PCI address

When running this service early in the boot sequence the interface
names may be unpredictable. Add support for matching devices on
MAC address or PCI address.

e3a6449... by James Page

Merge pull request #2 from fnordahl/service-ordering

Set up VFs prior to system network initialization

8a630ec... by Frode Nordahl

Set up VFs prior to system network initialization

When used together with the `mlnx-switchdev-mode` package we need
to do the initialization of VFs prior to netplan applying runtime
network system config. This is to be able to support any required
initialization before putting network interfaces into bonds etc.

https://community.mellanox.com/s/article/Configuring-VF-LAG-using-TC

7e09645... by Frode Nordahl

ci: Drop Python 3.5 gate

ded94de... by James Page

Merge pull request #1 from fnordahl/comment-example

Improve handling of invalid configration file

123f0a8... by Frode Nordahl

Improve handling of invalid configration file

Comment out the example configuration and improve handling of
empty/invalid configuration file.