Merge "Add common openstack opertation scenarios: volume & floating ip"
[yardstick.git] / ansible / roles / install_vnf_vACL / tasks / main.yml
1 # Copyright (c) 2017 Intel Corporation
2 #
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
6 #
7 #      http://www.apache.org/licenses/LICENSE-2.0
8 #
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.
14 ---
15 - name: vACL_vnf make clean
16   my_make: chdir="{{ acl_build_dir }}" target=clean extra_args="-j {{ ansible_processor_vcpus }}"
17   environment:
18     RTE_SDK: "{{ RTE_SDK }}"
19     RTE_TARGET: "{{ RTE_TARGET }}"
20     VNF_CORE: "{{ samplevnf_path }}"
21
22 - name: make vACL VNF
23   my_make: chdir="{{ acl_build_dir }}" extra_args="-j {{ ansible_processor_vcpus }}"
24   environment:
25     RTE_SDK: "{{ RTE_SDK }}"
26     RTE_TARGET: "{{ RTE_TARGET }}"
27     VNF_CORE: "{{ samplevnf_path }}"
28
29 #- command: cp "{{ acl_build_dir }}/vACL/build/ip_pipeline" "{{ INSTALL_BIN_PATH }}/vACL_vnf"
30 - name: Install vACL VNF
31   copy:
32     src: "{{ acl_build_dir }}/build/vACL"
33     dest: "{{ INSTALL_BIN_PATH }}/vACL"
34     remote_src: True
35     # make executable
36     mode: 0755
37
38 #- command: cp "{{ acl_build_dir }}/vACL/config/full_tm_profile_10G.cfg" "{{ INSTALL_BIN_PATH }}/"
39 #- copy:
40 #    src: "{{ acl_build_dir }}/vACL/config/full_tm_profile_10G.cfg"
41 #    dest: "{{ INSTALL_BIN_PATH }}/"