Upgrade T-rex to v2.22 46/5946/2
authorpmikus <pmikus@cisco.com>
Thu, 30 Mar 2017 09:22:38 +0000 (11:22 +0200)
committerPeter Mikus <pmikus@cisco.com>
Fri, 31 Mar 2017 04:44:33 +0000 (04:44 +0000)
Change-Id: I2029ba77a1c3c9ba6e128f816a353769a2cd5c8e
Signed-off-by: pmikus <pmikus@cisco.com>
resources/libraries/python/TrafficGenerator.py
resources/tools/t-rex/t-rex-installer.sh
resources/tools/t-rex/t-rex-server-info.py
resources/tools/t-rex/t-rex-stateless-stop.py
resources/tools/t-rex/t-rex-stateless.py

index 47008bc..52b5247 100644 (file)
@@ -184,7 +184,7 @@ class TrafficGenerator(object):
         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)
index d21852c..8090b75 100755 (executable)
@@ -1,6 +1,6 @@
 #!/bin/sh
 
 #!/bin/sh
 
-TREX_VERSION="2.17"
+TREX_VERSION="2.22"
 
 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"
index 891e431..0ec447b 100755 (executable)
@@ -28,7 +28,7 @@ Functionality:
 
 import sys
 
 
 import sys
 
-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 *
 
index 7fe4ab5..a706629 100755 (executable)
@@ -28,7 +28,7 @@ Functionality:
 
 import sys
 
 
 import sys
 
-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 *
 
index 0a2d7df..504ef50 100755 (executable)
@@ -48,7 +48,7 @@ import string
 import struct
 import sys
 
 import struct
 import sys
 
-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 *