nokia / moler

Moler – library to help build automated tests

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

api to simplify iperf result retrieval

greg-latuszek opened this issue · comments

Currently iperf just returns parsed output as dict

Would be great to have API like

throughput =iperf.final_bandwith(unit="Mbits/sec")
transfered =iperf.total_transfer(unit="MBytes")

It should take last record of report (the one with interval 0-max) and recalculate bandwith according to requested unit.