File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -212,7 +212,12 @@ type NetInterfaceInfo struct {
212212 MAC string `json:"mac"` // The network's MAC address
213213 MTU uint16 `json:"mtu"` // The network's maximum transmission unit
214214 LinkSpeedMbs uint `json:"link_speed_Mbs"`
215- Link bool `json:"link"`
215+ Link bool `json:"link"` // true when the link status is up
216+ VendorId string `json:"vendor_id"` // the link device Vendor ID (from e.g PCI info)
217+ DeviceId string `json:"device_id"` // the link device ID (from e.g PCI info)
218+ Vendor string `json:"vendor"` // the link device vendor (name)
219+ Device string `json:"device"` // the link device (name)
220+ BusInfo string `json:"bus_info"` // the link bus info/address (from e.g PCI info)
216221}
217222
218223// BcacheInfo is the information we can get for a single bcache device.
You can’t perform that action at this time.
0 commit comments