jaypipes / ghw

Go HardWare discovery/inspection library
Apache License 2.0
1.62k stars 174 forks source link

bonded network interfaces result in missing MAC address for NIC #367

Open HuangTD1 opened 3 months ago

HuangTD1 commented 3 months ago

如果目标主机有bond ,真实的网卡没法获取到mac 而且还有个bonding_masters 网卡

HuangTD1 commented 3 months ago

image

jaypipes commented 2 months ago

@HuangTD1 I've translated your original issue to:

If the target host has a bond, the real network card cannot get the mac and there is also a bonding_masters network card

If that is not correct, please provide a better translation.

I will look into how we discover capabilities/attributes for bonded network interfaces.