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 *
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()
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()
_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: