aboutsummaryrefslogtreecommitdiffstats
path: root/GPL/tools/trex/trex_stl_assert.py
diff options
context:
space:
mode:
authorpmikus <peter.mikus@protonmail.ch>2023-10-13 06:47:52 +0000
committerPeter Mikus <peter.mikus@protonmail.ch>2023-10-13 06:58:49 +0000
commit64921d9ec4ebc5f32ab1e8f8b4498f27ee72fdb2 (patch)
treec7db9eaf70d76063227807b7e0ffaac020aca45d /GPL/tools/trex/trex_stl_assert.py
parente2c0d2e1481f899ba82a3892694a04a127668b2b (diff)
feat(core): Multilink TRex ASTF Async mode
Signed-off-by: Peter Mikus <peter.mikus@protonmail.ch> Change-Id: I9e4eac451578c0f6b86b1dde237512184c163def
Diffstat (limited to 'GPL/tools/trex/trex_stl_assert.py')
-rw-r--r--GPL/tools/trex/trex_stl_assert.py9
1 files changed, 3 insertions, 6 deletions
diff --git a/GPL/tools/trex/trex_stl_assert.py b/GPL/tools/trex/trex_stl_assert.py
index f705619fea..d4a092b4b9 100644
--- a/GPL/tools/trex/trex_stl_assert.py
+++ b/GPL/tools/trex/trex_stl_assert.py
@@ -1,6 +1,6 @@
#!/usr/bin/python3
-# Copyright (c) 2022 Cisco and/or its affiliates.
+# Copyright (c) 2023 Cisco and/or its affiliates.
#
# SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
#
@@ -30,15 +30,12 @@ Requirements:
- compiled and running T-Rex process (eg. ./t-rex-64 -i)
- trex.stl.api library
- Script must be executed on a node with T-Rex instance.
-
-Functionality:
-1. Verify the API functionality and get server information.
"""
import sys
sys.path.insert(
- 0, u"/opt/trex-core-3.03/scripts/automation/trex_control_plane/interactive/"
+ 0, "/opt/trex-core-3.03/scripts/automation/trex_control_plane/interactive/"
)
from trex.stl.api import STLClient, STLError
@@ -59,5 +56,5 @@ def main():
client.disconnect()
-if __name__ == u"__main__":
+if __name__ == "__main__":
main()