aboutsummaryrefslogtreecommitdiffstats
path: root/yardstick/benchmark
diff options
context:
space:
mode:
authorJing Zhang <jing.c.zhang@nokia.com>2017-03-30 09:26:55 -0400
committerRoss Brattain <ross.b.brattain@intel.com>2017-03-31 04:24:30 +0000
commit639450d91ab409f70b6f119291197da40b1d5f0b (patch)
tree49c09c5dc278a9a866cb575a4c576a4a3e693353 /yardstick/benchmark
parent2eca9b5a2de0e2c02e7ba3991944f01761679d3f (diff)
Store packetsize in influxdb
This allows calculating throughput in Gbps. Add: test_pktgen.py Change-Id: I7e2132ec71985c14570ef18b952b2264ebf7abbc JIRA: YARKSTICK-611 Signed-off-by: Jing Zhang <jing.c.zhang@nokia.com>
Diffstat (limited to 'yardstick/benchmark')
-rw-r--r--yardstick/benchmark/scenarios/networking/pktgen.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/yardstick/benchmark/scenarios/networking/pktgen.py b/yardstick/benchmark/scenarios/networking/pktgen.py
index b61337a70..9a8725cfd 100644
--- a/yardstick/benchmark/scenarios/networking/pktgen.py
+++ b/yardstick/benchmark/scenarios/networking/pktgen.py
@@ -137,6 +137,7 @@ class Pktgen(base.Scenario):
result.update(jsonutils.loads(stdout))
result['packets_received'] = self._iptables_get_result()
+ result['packetsize'] = packetsize
if "sla" in self.scenario_cfg:
sent = result['packets_sent']