1 # Copyright (c) 2017 Intel Corporation
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
7 # http://www.apache.org/licenses/LICENSE-2.0
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
15 - name: vFW_vnf make clean
16 my_make: chdir="{{ vfw_build_dir }}" target=clean extra_args="-j {{ ansible_processor_vcpus }}"
18 RTE_SDK: "{{ RTE_SDK }}"
19 RTE_TARGET: "{{ RTE_TARGET }}"
20 VNF_CORE: "{{ samplevnf_path }}"
23 # my_make: chdir="{{ vfw_build_dir }}" extra_args="-j {{ ansible_processor_vcpus }}"
25 # RTE_SDK: "{{ RTE_SDK }}"
26 # RTE_TARGET: "{{ RTE_TARGET }}"
27 # VNF_CORE: "{{ samplevnf_path }}"
30 command: make chdir="{{ vfw_build_dir }}" extra_args="-j {{ ansible_processor_vcpus }}" all
32 chdir: "{{ vfw_build_dir }}"
34 RTE_SDK: "{{ RTE_SDK }}"
35 RTE_TARGET: "{{ RTE_TARGET }}"
36 VNF_CORE: "{{ samplevnf_path }}"
38 #- command: cp "{{ vfw_build_dir }}/vFW/build/ip_pipeline" "{{ INSTALL_BIN_PATH }}/vFW_vnf"
39 - name: Install vFW VNF
41 src: "{{ vfw_build_dir }}/build/vFW"
42 dest: "{{ INSTALL_BIN_PATH }}/vFW"
47 #- command: cp "{{ vfw_build_dir }}/vFW/config/full_tm_profile_10G.cfg" "{{ INSTALL_BIN_PATH }}/"
49 # src: "{{ vfw_build_dir }}/vFW/config/full_tm_profile_10G.cfg"
50 # dest: "{{ INSTALL_BIN_PATH }}/"