aboutsummaryrefslogtreecommitdiffstats
path: root/tools/pkt_gen/ixnet/ixnet.py
diff options
context:
space:
mode:
authorMaryam Tahhan <maryam.tahhan@intel.com>2015-11-26 11:08:09 +0000
committerMaryam Tahhan <maryam.tahhan@intel.com>2015-12-08 17:41:12 +0000
commita05bfbc0bd553f761962634609d626085b3b3beb (patch)
treefdb99e0af6f64b9617e90d820dbc5425a24ff960 /tools/pkt_gen/ixnet/ixnet.py
parentde65a5105f62c56371249d9128e7b9a28759b40f (diff)
pkt_gen: rename throughput_tx_* to tx_rate_*
Change throughput_tx_* references to tx_rate_* so the results won't be confusing as part of the opnfv test dashboard when they become publicly available. Change-Id: Ie8cfae99a75497f15eb09d097c72c8a35df3b5f9 JIRA: VSPERF-135 Signed-off-by: Maryam Tahhan <maryam.tahhan@intel.com> Reviewed-by: Martin Klozik <martinx.klozik@intel.com> Reviewed-by: Ian Stokes <ian.stokes@intel.com> Reviewed-by: Al Morton <acmorton@att.com>
Diffstat (limited to 'tools/pkt_gen/ixnet/ixnet.py')
-rwxr-xr-xtools/pkt_gen/ixnet/ixnet.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/pkt_gen/ixnet/ixnet.py b/tools/pkt_gen/ixnet/ixnet.py
index 9a705f44..aaedf05a 100755
--- a/tools/pkt_gen/ixnet/ixnet.py
+++ b/tools/pkt_gen/ixnet/ixnet.py
@@ -363,11 +363,11 @@ class IxNet(trafficgen.ITrafficGenerator):
prev_percent_rx = \
float(results.get(ResultsConstants.THROUGHPUT_RX_FPS))
if float(row[5]) >= prev_percent_rx:
- results[ResultsConstants.THROUGHPUT_TX_FPS] = tx_fps
+ results[ResultsConstants.TX_RATE_FPS] = tx_fps
results[ResultsConstants.THROUGHPUT_RX_FPS] = row[5]
- results[ResultsConstants.THROUGHPUT_TX_MBPS] = tx_mbps
+ results[ResultsConstants.TX_RATE_MBPS] = tx_mbps
results[ResultsConstants.THROUGHPUT_RX_MBPS] = row[6]
- results[ResultsConstants.THROUGHPUT_TX_PERCENT] = row[3]
+ results[ResultsConstants.TX_RATE_PERCENT] = row[3]
results[ResultsConstants.THROUGHPUT_RX_PERCENT] = row[4]
results[ResultsConstants.MIN_LATENCY_NS] = row[11]
results[ResultsConstants.MAX_LATENCY_NS] = row[12]