From c48add14dfa5f78e6f6d82afa5e87fd1ef8c5ec0 Mon Sep 17 00:00:00 2001 From: John O Loughlin Date: Mon, 12 Nov 2018 16:38:03 +0000 Subject: 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 --- ansible/roles/install_dpdk/tasks/main.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'ansible/roles') 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 -- cgit 1.2.3-korg