aboutsummaryrefslogtreecommitdiffstats
path: root/ansible/roles/install_L4Replay
diff options
context:
space:
mode:
authorRoss Brattain <ross.b.brattain@intel.com>2017-08-11 17:47:29 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-08-11 17:47:29 +0000
commit0949884ab431a16dc1841118e13c0b893fa11b85 (patch)
treeba8588f8fbaf0a17179b339f5512d949386a77a7 /ansible/roles/install_L4Replay
parent43bf12d6ab7bcaea16dc75ed4ccbe3895cf51da3 (diff)
parentc7c51d5100e8eba93337c34bd9eb101ec4cf70df (diff)
Merge "yardstick setup ansible, including load_images"
Diffstat (limited to 'ansible/roles/install_L4Replay')
-rw-r--r--ansible/roles/install_L4Replay/tasks/main.yml9
1 files changed, 9 insertions, 0 deletions
diff --git a/ansible/roles/install_L4Replay/tasks/main.yml b/ansible/roles/install_L4Replay/tasks/main.yml
new file mode 100644
index 000000000..1401d1b13
--- /dev/null
+++ b/ansible/roles/install_L4Replay/tasks/main.yml
@@ -0,0 +1,9 @@
+---
+# there is no clean for L4Replay
+#- my_make: chdir="{{ vnf_build_dir }}/L4Replay" target=clean extra_args="-j {{ ansible_processor_vcpus }}"
+
+- name: Building L4Replay VNF
+ my_make: chdir="{{ NSB_INSTALL_DIR }}/L4Replay" params="RTE_SDK={{ dpdk_path }}" extra_args="-j {{ ansible_processor_vcpus }}"
+
+- command: cp "{{ NSB_INSTALL_DIR }}/L4Replay/build/L4replay" "{{ INSTALL_BIN_PATH }}/"
+