Code Review
/
csit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
feat(trex): Bump T-Rex to v3.00
[csit.git]
/
GPL
/
tools
/
trex
/
trex_astf_stop.py
diff --git
a/GPL/tools/trex/trex_astf_stop.py
b/GPL/tools/trex/trex_astf_stop.py
index
8c05cb4
..
77f6cd3
100644
(file)
--- a/
GPL/tools/trex/trex_astf_stop.py
+++ b/
GPL/tools/trex/trex_astf_stop.py
@@
-1,6
+1,6
@@
#!/usr/bin/python3
#!/usr/bin/python3
-# Copyright (c) 202
1
Cisco and/or its affiliates.
+# Copyright (c) 202
2
Cisco and/or its affiliates.
#
# SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
#
#
# SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
#
@@
-44,7
+44,7
@@
import sys
from collections import OrderedDict # Needed to parse xstats representation.
sys.path.insert(
from collections import OrderedDict # Needed to parse xstats representation.
sys.path.insert(
- 0, u"/opt/trex-core-
2.88
/scripts/automation/trex_control_plane/interactive/"
+ 0, u"/opt/trex-core-
3.00
/scripts/automation/trex_control_plane/interactive/"
)
from trex.astf.api import ASTFClient
)
from trex.astf.api import ASTFClient
@@
-84,7
+84,7
@@
def main():
# If TRexError happens, let the script fail with stack trace.
finally:
# If TRexError happens, let the script fail with stack trace.
finally:
- client.
clear_profile
()
+ client.
reset
()
client.disconnect()
# TODO: check xstats format
client.disconnect()
# TODO: check xstats format