sriov-netplan-shim:enumerate-with-sysfs

Last commit made on 2021-03-16
Get this branch:
git clone -b enumerate-with-sysfs https://git.launchpad.net/sriov-netplan-shim

Branch merges

Branch information

Name:
enumerate-with-sysfs
Repository:
lp:sriov-netplan-shim

Recent commits

6314c70... by Frode Nordahl

PCINetDevices: pass on device information to PCINetDevice

Pass on device details when instantiating the PCINetDevice objects
instead of enumerating devices twice.

9e01a7b... by Frode Nordahl

PCINetDevices: use sysfs to enumerate ethernet devices

The `PCINetDevice` constructor already uses sysfs to initialize
itself so this would not introduce a behavioural change. It
does however allow use of the PCI library with the `netdevsim`
driver which would help in downstream testing.

Use existence of `sriov_numvfs` as indication of SR-IOV support
instead of `sriov_totalvfs` to allow testing with `netdevsim`.

Handle non-existence of `sriov_totalvfs` by detecting the
`netdevsim` driver and returning a fixed number for totalvfs.

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.

ef25998... by James Page

Lift upper cap on hacking