T-Rex: Upgrade to 2.73 with DDP profile fix 00/23900/7
authorPeter Mikus <pmikus@cisco.com>
Tue, 10 Dec 2019 09:04:59 +0000 (09:04 +0000)
committerPeter Mikus <pmikus@cisco.com>
Tue, 7 Jan 2020 15:46:40 +0000 (15:46 +0000)
Signed-off-by: Peter Mikus <pmikus@cisco.com>
Change-Id: Icaa99e0a71a19ba23697c21a4b5aa046813a718a

resources/libraries/python/Constants.py
resources/tools/testbed-setup/ansible/inventories/lf_inventory/group_vars/all.yaml
resources/tools/testbed-setup/ansible/roles/tg/tasks/trex.yaml
resources/tools/trex/trex_server_info.py
resources/tools/trex/trex_stateless_profile.py
resources/tools/trex/trex_stateless_stop.py

index d6a94ab..0a8470e 100644 (file)
@@ -182,10 +182,9 @@ class Constants:
     DOCKER_SUT_IMAGE_UBUNTU_ARM = u"snergster/csit-arm-sut:latest"
 
     # TRex install directory
-    TREX_INSTALL_DIR = u"/opt/trex-core-2.61"
+    TREX_INSTALL_DIR = u"/opt/trex-core-2.73"
 
     # TRex limit memory.
-    # 4096 pages (4 GB) is used just due to the current testbed settings.
     TREX_LIMIT_MEMORY = get_int_from_env(u"TREX_LIMIT_MEMORY ", 4096)
 
     # TRex number of cores
index 03f7d6d..dc86ec3 100644 (file)
   tags: install-trex
 
 - name: T-Rex Install - Compile Release I
-  command: './b configure; ./b build'
-  args:
-    chdir: '{{ trex.target_dir }}/trex-core-{{ trex.version }}/linux_dpdk/'
+  raw: 'cd {{ trex.target_dir }}/trex-core-{{ trex.version }}/linux_dpdk/; ./b configure; ./b build'
   when: trex_extracted
   tags: install-trex
 
 - name: T-Rex Install - Compile Release II
-  command: 'make; make install'
-  args:
-    chdir: '{{ trex.target_dir }}/trex-core-{{ trex.version }}/scripts/ko/src'
+  raw: 'cd {{ trex.target_dir }}/trex-core-{{ trex.version }}/scripts/ko/src; make; make install'
   when: trex_extracted
   tags: install-trex
index e74a63e..b34709b 100755 (executable)
@@ -29,7 +29,7 @@ Functionality:
 import sys
 
 sys.path.insert(
-    0, u"/opt/trex-core-2.61/scripts/automation/trex_control_plane/interactive/"
+    0, u"/opt/trex-core-2.73/scripts/automation/trex_control_plane/interactive/"
 )
 from trex.stl.api import *
 
index 9233f6a..90a4cf0 100755 (executable)
@@ -23,7 +23,7 @@ import json
 import sys
 
 sys.path.insert(
-    0, "/opt/trex-core-2.61/scripts/automation/trex_control_plane/interactive/"
+    0, u"/opt/trex-core-2.73/scripts/automation/trex_control_plane/interactive/"
 )
 from trex.stl.api import *
 
index 45f4838..d4461ff 100755 (executable)
@@ -34,7 +34,7 @@ import sys
 from collections import OrderedDict  # Needed to parse xstats representation.
 
 sys.path.insert(
-    0, u"/opt/trex-core-2.61/scripts/automation/trex_control_plane/interactive/"
+    0, u"/opt/trex-core-2.73/scripts/automation/trex_control_plane/interactive/"
 )
 from trex.stl.api import *