From a05bfbc0bd553f761962634609d626085b3b3beb Mon Sep 17 00:00:00 2001 From: Maryam Tahhan Date: Thu, 26 Nov 2015 11:08:09 +0000 Subject: 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 Reviewed-by: Martin Klozik Reviewed-by: Ian Stokes Reviewed-by: Al Morton --- tools/pkt_gen/testcenter/testcenter.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tools/pkt_gen/testcenter') diff --git a/tools/pkt_gen/testcenter/testcenter.py b/tools/pkt_gen/testcenter/testcenter.py index 3579b3f7..4ba5bc89 100644 --- a/tools/pkt_gen/testcenter/testcenter.py +++ b/tools/pkt_gen/testcenter/testcenter.py @@ -140,11 +140,11 @@ class TestCenter(trafficgen.ITrafficGenerator): csvreader = csv.DictReader(csvfile) for row in csvreader: print("Row: %s" % row) - result[ResultsConstants.THROUGHPUT_TX_FPS] = 0.0 + result[ResultsConstants.TX_RATE_FPS] = 0.0 result[ResultsConstants.THROUGHPUT_RX_FPS] = 0.0 - result[ResultsConstants.THROUGHPUT_TX_MBPS] = 0.0 + result[ResultsConstants.TX_RATE_MBPS] = 0.0 result[ResultsConstants.THROUGHPUT_RX_MBPS] = 0.0 - result[ResultsConstants.THROUGHPUT_TX_PERCENT] = float(row["OfferedLoad(%)"]) + result[ResultsConstants.TX_RATE_PERCENT] = float(row["OfferedLoad(%)"]) result[ResultsConstants.THROUGHPUT_RX_PERCENT] = float(row["Throughput(%)"]) result[ResultsConstants.MIN_LATENCY_NS] = float(row["MinimumLatency(us)"]) * 1000 result[ResultsConstants.MAX_LATENCY_NS] = float(row["MaximumLatency(us)"]) * 1000 -- cgit 1.2.3-korg