summary |
shortlog |
log |
commit | commitdiff |
review |
tree
raw |
patch |
inline | side by side (from parent 1:
5c51731)
Now sure why clear_profile gets stuck with v2.97
(unless block=False), but calling reset() works,
and will be less risky next time we bump TRex version.
- Only ASTF for now.
Change-Id: Ib6906fb8ce269e888bf0e0438d3309931d5e9981
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
for warning in client.get_warnings():
print(warning)
for warning in client.get_warnings():
print(warning)
- # Now finish the complete reset.
- client.reset()
+ # No profile cleanup here, reset will be done in the finally block.
print(u"##### Statistics #####")
print(json.dumps(stats, indent=4, separators=(u",", u": ")))
print(u"##### Statistics #####")
print(json.dumps(stats, indent=4, separators=(u",", u": ")))
if async_start:
client.disconnect(stop_traffic=False, release_ports=True)
else:
if async_start:
client.disconnect(stop_traffic=False, release_ports=True)
else:
client.disconnect()
print(
f"multiplier={multiplier!r}; "
client.disconnect()
print(
f"multiplier={multiplier!r}; "
# If TRexError happens, let the script fail with stack trace.
finally:
# If TRexError happens, let the script fail with stack trace.
finally:
client.disconnect()
# TODO: check xstats format
client.disconnect()
# TODO: check xstats format