sriov-netplan-shim:sysfs-virtio-netdevs

Last commit made on 2022-03-10
Get this branch:
git clone -b sysfs-virtio-netdevs https://git.launchpad.net/sriov-netplan-shim

Branch merges

Branch information

Name:
sysfs-virtio-netdevs
Repository:
lp:sriov-netplan-shim

Recent commits

d6b93fe... by Frode Nordahl

pci: Allow discovery of VirtIO PCI netdevs

The sysfs layout is slightly different for VirtIO netdevs. Part
of the code already accounts for this, but the one that lists
the netdevs missed it.

We need this to be able to test for example DPDK in virtual
machines using the virtio PMD support.

f2508bc... by James Page

Merge pull request #5 from openstack-charmers/bug/1927125

Avoid using interface name when resolving sysfs objects

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