summaryrefslogtreecommitdiffstats
path: root/ansible/roles/install_L4Replay/tasks/main.yml
diff options
context:
space:
mode:
Diffstat (limited to 'ansible/roles/install_L4Replay/tasks/main.yml')
-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 }}/"
+