netplan
netplan copied to clipboard
Added pciid match support
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 checksuccessfully. - [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
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.