Comment 1 for bug 1336320

Revision history for this message
Jeff Lane  (bladernr) wrote :

Now it errors and exits if the device max is not the same as the detected link speed. This should catch instances where a device is run on a lower-speed network than it should be (e.g. 10G on 1G networks)

$ sudo ./network test -i eth0 -t iperf --target 192.168.0.10
DEBUG:root:Shutting down interface:virbr0
DEBUG:root:Shutting down interface:vboxnet0
DEBUG:root:Shutting down interface:wlan0
ERROR:root:Detected link speed (100) is lower than detected max speed (1000)
ERROR:root:Please check your device configuration and try again
DEBUG:root:Restoring interface:virbr0
DEBUG:root:Restoring interface:vboxnet0
DEBUG:root:Restoring interface:wlan0