diff options
author | Peter Mikus <pmikus@cisco.com> | 2019-12-10 09:04:59 +0000 |
---|---|---|
committer | Peter Mikus <pmikus@cisco.com> | 2020-01-07 15:46:40 +0000 |
commit | 45b4d9166c38767d18f4b73403927a2c5494cc6a (patch) | |
tree | 3f8f57c179a19762044d684586e628b99ecf634d /resources/tools/testbed-setup | |
parent | ae652334356c12b167399a340ad55abd1ef7bbce (diff) |
T-Rex: Upgrade to 2.73 with DDP profile fix
Signed-off-by: Peter Mikus <pmikus@cisco.com>
Change-Id: Icaa99e0a71a19ba23697c21a4b5aa046813a718a
Diffstat (limited to 'resources/tools/testbed-setup')
-rw-r--r-- | resources/tools/testbed-setup/ansible/inventories/lf_inventory/group_vars/all.yaml | 2 | ||||
-rw-r--r-- | resources/tools/testbed-setup/ansible/roles/tg/tasks/trex.yaml | 8 |
2 files changed, 3 insertions, 7 deletions
diff --git a/resources/tools/testbed-setup/ansible/inventories/lf_inventory/group_vars/all.yaml b/resources/tools/testbed-setup/ansible/inventories/lf_inventory/group_vars/all.yaml index f2e76a729d..ca0d2d9feb 100644 --- a/resources/tools/testbed-setup/ansible/inventories/lf_inventory/group_vars/all.yaml +++ b/resources/tools/testbed-setup/ansible/inventories/lf_inventory/group_vars/all.yaml @@ -25,7 +25,7 @@ name_servers: "1.1.1.1, 8.8.8.8" # TRex settings. trex: target_dir: '/opt' - version: '2.61' + version: '2.73' # DPDK settings. dpdk: diff --git a/resources/tools/testbed-setup/ansible/roles/tg/tasks/trex.yaml b/resources/tools/testbed-setup/ansible/roles/tg/tasks/trex.yaml index 03f7d6da53..dc86ec3e5b 100644 --- a/resources/tools/testbed-setup/ansible/roles/tg/tasks/trex.yaml +++ b/resources/tools/testbed-setup/ansible/roles/tg/tasks/trex.yaml @@ -27,15 +27,11 @@ 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 |