blob: aad399166ec9d7b99ee0e32972d79dc52bf9549e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
import os
import sys
import time
# update the import path to include the stateless client
root_path = os.path.dirname(os.path.abspath(__file__))
sys.path.insert(0, os.path.join(root_path, '../../scripts/automation/trex_control_plane/client/'))
sys.path.insert(0, os.path.join(root_path, '../../scripts/automation/trex_control_plane/client_utils/'))
sys.path.insert(0, os.path.join(root_path, '../../scripts/automation/trex_control_plane/client_utils/'))
# aliasing
import trex_stateless_client
STLClient = trex_stateless_client.STLClient
STLError = trex_stateless_client.STLError
|