X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=resources%2Ftools%2Ft-rex%2Ft-rex-stateless.py;h=f456b6631651e4ee8c11b003328a4bf22c41250e;hb=b1a54dd8bbf32a025b998ef9d87a4c2d908c28dc;hp=455ecef662f78b7c2c30e0c1b2a8c1c0c487fdf0;hpb=147ce6e1ab9e6f557172d05aa0c09d44a34b0fdc;p=csit.git diff --git a/resources/tools/t-rex/t-rex-stateless.py b/resources/tools/t-rex/t-rex-stateless.py index 455ecef662..f456b66316 100755 --- a/resources/tools/t-rex/t-rex-stateless.py +++ b/resources/tools/t-rex/t-rex-stateless.py @@ -48,7 +48,7 @@ import string import struct import sys -sys.path.insert(0, "/opt/trex-core-2.07/scripts/automation/"+\ +sys.path.insert(0, "/opt/trex-core-2.06/scripts/automation/"+\ "trex_control_plane/stl/") from trex_stl_lib.api import * @@ -380,7 +380,7 @@ def simple_burst(stream_a, stream_b, stream_lat_a, stream_lat_b, duration, rate, if client.get_warnings(): for warning in client.get_warnings(): - print_error(warning) + print(warning) # read the stats after the test stats = client.get_stats() @@ -408,7 +408,7 @@ def simple_burst(stream_a, stream_b, stream_lat_a, stream_lat_b, duration, rate, if client.get_warnings(): for warning in client.get_warnings(): - print_error(warning) + print(warning) # read the stats after the test stats = client.get_stats()