Merge "Cleanup unittests for test_lmbench"
[yardstick.git] / ansible / ubuntu_server_baremetal_deploy_samplevnfs.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 - hosts: yardstick-standalone:jumphost
16   vars:
17     clone_dir: /tmp/yardstick-clone
18   environment:
19     "{{ proxy_env }}"
20
21   roles:
22     - add_custom_repos
23     - role: set_package_installer_proxy
24       when: proxy_env is defined and proxy_env
25 #     can't update grub in chroot/docker
26     - enable_hugepages_on_boot
27     # needed for collectd plugins
28     - increase_open_file_limits
29     - install_image_dependencies
30     - role: download_dpdk
31 #      dpdk_version: "17.02"
32     - install_dpdk
33     - download_trex
34     - install_trex
35     - download_civetweb
36     - install_civetweb
37     - download_samplevnfs
38     - role: install_samplevnf
39       vnf_name: PROX
40     - role: install_samplevnf
41       vnf_name: UDP_Replay
42     - role: install_samplevnf
43       vnf_name: ACL
44     - role: install_samplevnf
45       vnf_name: FW
46     - role: install_samplevnf
47       vnf_name: CGNAPT
48     # build shared DPDK for collectd only, required DPDK downloaded already
49     - install_dpdk_shared
50     - install_rabbitmq
51     - download_intel_cmt_cat
52     - install_intel_cmt_cat
53     - download_pmu_tools
54     - install_pmu_tools
55     - download_collectd
56     - install_collectd