iperf3: fix for influxDb schema errors 05/10505/1
authorJo¶rgen Karlsson <jorgen.w.karlsson@ericsson.com>
Tue, 23 Feb 2016 12:10:00 +0000 (13:10 +0100)
committerJörgen Karlsson <jorgen.w.karlsson@ericsson.com>
Tue, 23 Feb 2016 12:56:06 +0000 (12:56 +0000)
commitf5a60cbbfd999c6012e1c633d58e5b0f1938a7ff
tree5f0c1a24b5344c912d93b8618c5a0ef2ceb4b272
parentcb2f7c2eb7291e6365ea319db1daebd1939b3ded
iperf3: fix for influxDb schema errors

Convert integers to float before dumping to influxDb.

Iperf3 is not always consistent about data types in its
JSON output. This may cause schema errors when values with
different types (integer and float) are written to the same
field in InfluxDb.

This is a quick fix. A Future improvement would be to write a
format func for the data.

Change-Id: I7011adc19693f91db5889554fd6bec0d46dc6679
Signed-off-by: Jo¶rgen Karlsson <jorgen.w.karlsson@ericsson.com>
yardstick/benchmark/scenarios/networking/iperf3.py