mirror of https://git.48k.eu/ogclient
Add link speed to refresh response
Probe response already has client's link speed, but this API is deprecated.more_events
parent
ad2d4a1f1a
commit
a3cf8d150a
|
@ -325,9 +325,12 @@ class OgLiveOperations:
|
|||
|
||||
cache = cache_probe()
|
||||
disks = get_disks()
|
||||
interface = os.getenv('DEVICE')
|
||||
link = ethtool(interface)
|
||||
parsed = { 'serial_number': '',
|
||||
'disk_setup': [],
|
||||
'partition_setup': []
|
||||
'partition_setup': [],
|
||||
'link': link
|
||||
}
|
||||
|
||||
for num_disk, disk in enumerate(get_disks(), start=1):
|
||||
|
|
Loading…
Reference in New Issue