netplan icon indicating copy to clipboard operation
netplan copied to clipboard

Added pciid match support

Open fatihusta opened this issue 2 years ago • 1 comments

Description

Netplan doesn't match mac address of ethernet when using bond. So member ethernet doesn't up.

This PR fixes ethernet up problem, but still prints warning message(below).

I try to add PCI ID match support for better renaming to the ethernet.

[]
Cannot find unique matching interface for enp152s0f0np0
[]
Cannot find unique matching interface for eno12399np0
[]
Cannot find unique matching interface for enp152s0f1np1
[]
Cannot find unique matching interface for eno12409np1

Checklist

  • [x] Runs make check successfully.
  • [x] Retains 100% code coverage (make check-coverage).
  • [x] New/changed keys in YAML format are documented.
  • [x] (Optional) Adds example YAML for new feature.
  • [ ] (Optional) Closes an open bug in Launchpad.

Also may fixes this issue: https://bugs.launchpad.net/netplan/+bug/1608447

fatihusta avatar Jul 06 '23 08:07 fatihusta

Sorry, this is taking much longer than anticipated. I like the idea of having pciid matching capabilities. But it touches core components of Netplan and I need to find enough time to do a proper review on this.

slyon avatar Aug 16 '23 15:08 slyon