X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=resources%2Ftools%2Ft-rex%2Ft-rex-stateless.py;h=b23dfa8889fa616048bdba972524304459935a24;hb=27995a1fceb0b894c1647f559608d6bf04bd68af;hp=8a7f34b27aaf86d81540d72f05959b409e2134a5;hpb=19452714266d7683a294e1c817993ea51b805503;p=csit.git diff --git a/resources/tools/t-rex/t-rex-stateless.py b/resources/tools/t-rex/t-rex-stateless.py index 8a7f34b27a..b23dfa8889 100755 --- a/resources/tools/t-rex/t-rex-stateless.py +++ b/resources/tools/t-rex/t-rex-stateless.py @@ -134,19 +134,19 @@ def create_streams_v46(base_pkt_a, base_pkt_b, vm1, vm2, frame_size): max(0, fsize_no_fcs-len(base_pkt_b)))) lat_stream1 = STLStream(packet=pkt_lat_a, flow_stats=STLFlowLatencyStats(pg_id=0), - mode=STLTXCont(pps=1000)) + mode=STLTXCont(pps=9000)) # second traffic stream with a phase of 10ns (inter stream gap) lat_stream2 = STLStream(packet=pkt_lat_b, isg=10.0, flow_stats=STLFlowLatencyStats(pg_id=1), - mode=STLTXCont(pps=1000)) + mode=STLTXCont(pps=9000)) stream1 = STLStream(packet=pkt_a, - mode=STLTXCont(pps=1000)) + mode=STLTXCont(pps=9000)) # second traffic stream with a phase of 10ns (inter stream gap) stream2 = STLStream(packet=pkt_b, isg=10.0, - mode=STLTXCont(pps=1000)) + mode=STLTXCont(pps=9000)) elif type(frame_size) is str: lat_stream1 = [] lat_stream2 = [] @@ -347,8 +347,8 @@ def simple_burst(stream_a, stream_b, stream_lat_a, stream_lat_b, duration, rate, total_sent = 0 lost_a = 0 lost_b = 0 - lat_a = 'NA' - lat_b = 'NA' + lat_a = "0/0/0" + lat_b = "0/0/0" try: # turn this off if too many logs