Description of Network Adapter on Linux

OK this is plaguing me more than I want it to :frowning:

Is there a way to do this using pure relevance?

I can obviously do it using ActionScript but I’d like to try avoid that if possible?

I’m sure that there is a really advanced way if I want to start gathering all of the pci data then looking it up against the data in /usr/share/hwdata/pci.ids but that’s horrible and could be very resource hungry if it’s even possible at all.

This is the Network Adapter object from relevance perspective: https://developer.bigfix.com/relevance/reference/network-adapter-interface.html

Yeah I’ve seen that - it doesn’t work out of the box, I just wondered if anyone had written a way to get the data as description only works in Windows

Is there any useful info in /sys/class/net/*/device/uevent? (mine Linux test machine VM and only has DRIVER and MODALIAS values). Googling indicates there maybe data that could hold data similar to the Windows only “description” property. If so then maybe parsing that with something like the follow…but that a complete stab in the dark as I’m a bit of newbie when it comes to Linux.

Q: lines of files "uevent" of folders "device" of folders of folder "/sys/class/net"
A: DRIVER=hv_netvsc
A: MODALIAS=vmbus:635161f83edfc546913ff2d2f965ed0e
T: 328
Q: keys "driver" of files "uevent" of folders "device" of folders of folder "/sys/class/net"
A: hv_netvsc
T: 4053