diff options
author | imarom <imarom@cisco.com> | 2016-02-11 09:31:45 -0500 |
---|---|---|
committer | imarom <imarom@cisco.com> | 2016-02-11 09:32:25 -0500 |
commit | 96e96afa83a47268000194ddf75ec2323e336d18 (patch) | |
tree | bd07ecebc4402524a3443f389616519fc1f179d1 /scripts/stl/imix.py | |
parent | 53cb5b1f7340e72374eb30c6b5e495c63776ecd9 (diff) |
fixed 'streams' command that was broken because of my big commit
Diffstat (limited to 'scripts/stl/imix.py')
-rw-r--r-- | scripts/stl/imix.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/stl/imix.py b/scripts/stl/imix.py index 144bb3f8..54208af7 100644 --- a/scripts/stl/imix.py +++ b/scripts/stl/imix.py @@ -17,7 +17,7 @@ class STLImix(object): {'size': 1514, 'pps': 4, 'isg':0.2 } ] - def create_stream (self, size, pps,isg, vm ): + def create_stream (self, size, pps, isg, vm ): # create a base packet and pad it to size base_pkt = Ether()/IP()/UDP() pad = max(0, size - len(base_pkt)) * 'x' @@ -27,7 +27,7 @@ class STLImix(object): return STLStream(isg = isg, packet = pkt, - mode = STLTXCont()) + mode = STLTXCont(pps = pps)) def get_streams (self, direction = 0): |