Since vsperf (ixnet trafficgen) started using AggResults.csv
to pull out traffic results after bi-dir support was added.
Some of the derived results are wrong (derived meaning
these are figures vsperf calculates from the info available
in the raw ixnet results).
JIRA: VSPERF-88
Change-Id: I79d88bfc7718bda675d2ba7e5148053405a94211
Signed-off-by: Radek Zetik <radekx.zetik@intel.com>
Reviewed-by: Billy O Mahony <billy.o.mahony@intel.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
for row in reader:
#Replace null entries added by Ixia with 0s.
row = [entry if len(entry) > 0 else '0' for entry in row]
- # calculate tx fps by (rx fps * (tx % / rx %))
- tx_fps = float(row[5]) * (float(row[4]) / float(row[3]))
- # calculate tx mbps by (rx mbps * (tx % / rx %))
- tx_mbps = float(row[6]) * (float(row[4]) / float(row[3]))
+
+ # tx_fps and tx_mps cannot be reliably calculated
+ # as the DUT may be modifying the frame size
+ tx_fps = 'Unknown'
+ tx_mbps = 'Unknown'
if bool(results.get(ResultsConstants.THROUGHPUT_RX_FPS)) \
== False: