summaryrefslogtreecommitdiffstats
path: root/ansible/roles/install_dpdk
diff options
context:
space:
mode:
authorJohn O Loughlin <john.oloughlin@intel.com>2018-11-12 16:38:03 +0000
committerVolodymyr Mytnyk <volodymyrx.mytnyk@intel.com>2018-11-14 16:27:36 +0000
commitc48add14dfa5f78e6f6d82afa5e87fd1ef8c5ec0 (patch)
treefd6a898644d7ae03b6ac6f8e69cb49b109e89976 /ansible/roles/install_dpdk
parent3f37af01bc959e886b10d399e172e2c5ac943abe (diff)
Create vPE binary from dpdk
Build and move the vPE binary from dpdk to nsb_bin JIRA: YARDSTICK-1473 Change-Id: I01c44fb375d200d990efd27e1f1717cd0e100bb0 Signed-off-by: John O Loughlin <john.oloughlin@intel.com>
Diffstat (limited to 'ansible/roles/install_dpdk')
-rw-r--r--ansible/roles/install_dpdk/tasks/main.yml15
1 files changed, 15 insertions, 0 deletions
diff --git a/ansible/roles/install_dpdk/tasks/main.yml b/ansible/roles/install_dpdk/tasks/main.yml
index f89a43cae..d1dc2900b 100644
--- a/ansible/roles/install_dpdk/tasks/main.yml
+++ b/ansible/roles/install_dpdk/tasks/main.yml
@@ -128,3 +128,18 @@
remote_src: yes
force: yes
mode: 0755
+
+- name: make vPE binary
+ command: make -j {{ ansible_processor_vcpus }}
+ args:
+ chdir: "{{ dpdk_path }}/examples/ip_pipeline"
+ environment:
+ RTE_SDK: "{{ dpdk_path }}"
+
+- name: Copy vPE to correct location
+ copy:
+ src: "{{ dpdk_path }}/examples/ip_pipeline/build/app/ip_pipeline"
+ dest: "{{ INSTALL_BIN_PATH }}/vPE_vnf"
+ remote_src: yes
+ force: yes
+ mode: 0755