diff options
author | Ryan Harper <ryan.harper@canonical.com> | 2019-09-17 10:11:00 +0000 |
---|---|---|
committer | Server Team CI Bot <josh.powers+server-team-bot@canonical.com> | 2019-09-17 10:11:00 +0000 |
commit | 059d049c57cac02cdeaca832233a19712e0b4ded (patch) | |
tree | 9af213fb538f5c014a994b78681e9128fbf524e3 /doc/rtd | |
parent | 6f931795cc7c79033e6cc5c2f1be8de3e03a645b (diff) | |
download | vyos-cloud-init-059d049c57cac02cdeaca832233a19712e0b4ded.tar.gz vyos-cloud-init-059d049c57cac02cdeaca832233a19712e0b4ded.zip |
net: add is_master check for filtering device list
Some network devices are transformed into a bond via kernel magic
and do not have the 'bonding' sysfs attribute, but like a bond they
have a duplicate MAC of other bond members. On Azure Advanced
Networking SRIOV devices are auto bonded and will have the same MAC
as the HyperV nic. We can detect this via the 'master' sysfs attribute
in the device sysfs path and this patch adds this to the list of devices
we ignore when enumerating device lists.
LP: #1844191
Diffstat (limited to 'doc/rtd')
0 files changed, 0 insertions, 0 deletions