Code Review
/
csit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
CSIT-346 Enable IPv6 latency in Trex driver
[csit.git]
/
resources
/
tools
/
t-rex
/
t-rex-stateless.py
diff --git
a/resources/tools/t-rex/t-rex-stateless.py
b/resources/tools/t-rex/t-rex-stateless.py
index
455ecef
..
8a7f34b
100755
(executable)
--- a/
resources/tools/t-rex/t-rex-stateless.py
+++ b/
resources/tools/t-rex/t-rex-stateless.py
@@
-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():
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()
# 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():
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()
# 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:
_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:
stream_a, stream_b, stream_lat_a, stream_lat_b = create_streams_v6(
_traffic_options, frame_size=_frame_size)
else: