aboutsummaryrefslogtreecommitdiffstats
path: root/yardstick/benchmark/scenarios/networking/pktgen.py
diff options
context:
space:
mode:
authorJing Zhang <jing.c.zhang@nokia.com>2017-03-30 09:26:55 -0400
committerJing Lu <lvjing5@huawei.com>2017-05-04 12:38:04 +0000
commit478a499e8cb048abf434559c8d47259ec238ed24 (patch)
treeb595dc08ada913cb4053c7cdcf61f7cdbd0e1de8 /yardstick/benchmark/scenarios/networking/pktgen.py
parentf4f7104e942988e6cf294c3ad80d1a96dc051aaa (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> (cherry picked from commit 639450d91ab409f70b6f119291197da40b1d5f0b)
Diffstat (limited to 'yardstick/benchmark/scenarios/networking/pktgen.py')
-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']