X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=resources%2Ftools%2Ft-rex%2Ft-rex-stateless.py;h=8a7f34b27aaf86d81540d72f05959b409e2134a5;hb=refs%2Fchanges%2F80%2F2280%2F11;hp=6c7579d0c391081d3a1e90334494bc469a710e70;hpb=ab4c093f3c9470ffc316864ddd603e49aa21fdf6;p=csit.git diff --git a/resources/tools/t-rex/t-rex-stateless.py b/resources/tools/t-rex/t-rex-stateless.py index 6c7579d0c3..8a7f34b27a 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.06/scripts/automation/"+\ +sys.path.insert(0, "/opt/trex-core-2.07/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() @@ -542,10 +542,6 @@ def main(): _traffic_options[attr] = getattr(args, attr) if _use_ipv6: - # WARNING: Trex limitation to IPv4 only. IPv6 is not yet supported. - print_error('IPv6 latency is not supported yet. Running without lat.') - _latency = False - stream_a, stream_b, stream_lat_a, stream_lat_b = create_streams_v6( _traffic_options, frame_size=_frame_size) else: