X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=GPL%2Ftools%2Ftrex%2Ftrex_astf_stop.py;h=9185478a5539c93736a074dbecfe9baa47a8650d;hb=4e6de308248a9aadd54f0183740bbe807cf9e985;hp=8c05cb46de76190dbff6d6a3b7ef6f51f55c1203;hpb=a4ba3f4e9d2124050502b8dc5c53acbdebd39e11;p=csit.git diff --git a/GPL/tools/trex/trex_astf_stop.py b/GPL/tools/trex/trex_astf_stop.py index 8c05cb46de..9185478a55 100644 --- a/GPL/tools/trex/trex_astf_stop.py +++ b/GPL/tools/trex/trex_astf_stop.py @@ -1,6 +1,6 @@ #!/usr/bin/python3 -# Copyright (c) 2021 Cisco and/or its affiliates. +# Copyright (c) 2022 Cisco and/or its affiliates. # # 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( - 0, u"/opt/trex-core-2.88/scripts/automation/trex_control_plane/interactive/" + 0, u"/opt/trex-core-2.97/scripts/automation/trex_control_plane/interactive/" ) from trex.astf.api import ASTFClient @@ -84,7 +84,7 @@ def main(): # If TRexError happens, let the script fail with stack trace. finally: - client.clear_profile() + client.reset() client.disconnect() # TODO: check xstats format