Signed-off-by: Peter Mikus <pmikus@cisco.com>
Change-Id: Icaa99e0a71a19ba23697c21a4b5aa046813a718a
DOCKER_SUT_IMAGE_UBUNTU_ARM = u"snergster/csit-arm-sut:latest"
# TRex install directory
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"
- # 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
TREX_LIMIT_MEMORY = get_int_from_env(u"TREX_LIMIT_MEMORY ", 4096)
# TRex number of cores
# TRex settings.
trex:
target_dir: '/opt'
# TRex settings.
trex:
target_dir: '/opt'
tags: install-trex
- name: T-Rex Install - Compile Release I
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
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
when: trex_extracted
tags: install-trex
import sys
sys.path.insert(
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 *
)
from trex.stl.api import *
import sys
sys.path.insert(
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 *
)
from trex.stl.api import *
from collections import OrderedDict # Needed to parse xstats representation.
sys.path.insert(
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 *
)
from trex.stl.api import *