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
# TRex settings.
trex:
target_dir: '/opt'
- version: '2.61'
+ version: '2.73'
# DPDK settings.
dpdk:
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
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 *
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 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 *