Change-Id: I2029ba77a1c3c9ba6e128f816a353769a2cd5c8e
Signed-off-by: pmikus <pmikus@cisco.com>
self._node = tg_node
if tg_node['subtype'] == NodeSubTypeTG.TREX:
self._node = tg_node
if tg_node['subtype'] == NodeSubTypeTG.TREX:
- trex_path = "/opt/trex-core-2.17"
+ trex_path = "/opt/trex-core-2.22"
ssh = SSH()
ssh.connect(tg_node)
ssh = SSH()
ssh.connect(tg_node)
TREX_DOWNLOAD_REPO="https://github.com/cisco-system-traffic-generator/trex-core/archive/"
TREX_DOWNLOAD_PACKAGE="v${TREX_VERSION}.zip"
TREX_DOWNLOAD_REPO="https://github.com/cisco-system-traffic-generator/trex-core/archive/"
TREX_DOWNLOAD_PACKAGE="v${TREX_VERSION}.zip"
-sys.path.insert(0, "/opt/trex-core-2.17/scripts/automation/"+\
+sys.path.insert(0, "/opt/trex-core-2.22/scripts/automation/"+\
"trex_control_plane/stl/")
from trex_stl_lib.api import *
"trex_control_plane/stl/")
from trex_stl_lib.api import *
-sys.path.insert(0, "/opt/trex-core-2.17/scripts/automation/"+\
+sys.path.insert(0, "/opt/trex-core-2.22/scripts/automation/"+\
"trex_control_plane/stl/")
from trex_stl_lib.api import *
"trex_control_plane/stl/")
from trex_stl_lib.api import *
-sys.path.insert(0, "/opt/trex-core-2.17/scripts/automation/"+\
+sys.path.insert(0, "/opt/trex-core-2.22/scripts/automation/"+\
"trex_control_plane/stl/")
from trex_stl_lib.api import *
"trex_control_plane/stl/")
from trex_stl_lib.api import *