diff options
author | Martin Klozik <martinx.klozik@intel.com> | 2018-04-11 09:07:03 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2018-04-11 09:07:03 +0000 |
commit | 7e263087c47e471fff47f204e79d7fe21a56eaa9 (patch) | |
tree | e8f950b9aad97aa38bb728d06adb454ae7cf03e1 /tools/pkt_gen/ixia/ixia.py | |
parent | a3e365e8b39e4e907870a8224a760591c7371130 (diff) | |
parent | e9ff0fdf355d26d0c171c6c1137c4beb12561233 (diff) |
Merge "trex: Add support for burst traffic type"
Diffstat (limited to 'tools/pkt_gen/ixia/ixia.py')
-rwxr-xr-x | tools/pkt_gen/ixia/ixia.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/pkt_gen/ixia/ixia.py b/tools/pkt_gen/ixia/ixia.py index ffb1f5e3..1982663c 100755 --- a/tools/pkt_gen/ixia/ixia.py +++ b/tools/pkt_gen/ixia/ixia.py @@ -242,11 +242,11 @@ class Ixia(trafficgen.ITrafficGenerator): return result - def send_burst_traffic(self, traffic=None, numpkts=100, duration=20): + def send_burst_traffic(self, traffic=None, duration=20): """See ITrafficGenerator for description """ flow = { - 'numpkts': numpkts, + 'numpkts': traffic['burst_size'], 'duration': duration, 'type': 'stopStream', 'framerate': traffic['frame_rate'], |