pkt_gen: change duration to int for Dummy pkt_gen 87/2287/2
authorRobert Wojciechowicz <robertx.wojciechowicz@intel.com>
Tue, 29 Sep 2015 12:21:22 +0000 (08:21 -0400)
committerMaryam Tahhan <maryam.tahhan@intel.com>
Wed, 7 Oct 2015 12:17:02 +0000 (12:17 +0000)
commit46e36fffc36753b0e8e3f79f78dc084f26930a82
treea8771ae2ee1564ad45b845ae9f447c16ccfb0e66
parentca57d8cb20398bdcc6a29b277504b70960e9f068
pkt_gen: change duration to int for Dummy pkt_gen

In case there is specified concrete value for "duration" in the
configuration there is raised TypeError exception
in the send_rfc2544_throughput function of dummy traffic generator.
Conversion to integer solved this issue.

Change-Id: Ib37ecabc1000369d807a997c88d7a3d7aca425d5
Signed-off-by: Robert Wojciechowicz <robertx.wojciechowicz@intel.com>
Reviewed-by: Dino Simeon Madarang <dino.simeonx.madarang@intel.com>
Reviewed-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
core/traffic_controller_rfc2544.py