From 478a499e8cb048abf434559c8d47259ec238ed24 Mon Sep 17 00:00:00 2001 From: Jing Zhang Date: Thu, 30 Mar 2017 09:26:55 -0400 Subject: 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 (cherry picked from commit 639450d91ab409f70b6f119291197da40b1d5f0b) --- yardstick/benchmark/scenarios/networking/pktgen.py | 1 + 1 file changed, 1 insertion(+) (limited to 'yardstick') 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'] -- cgit 1.2.3-korg