4f4d7d075474a751148cd04f637eb31a955d6f4d
[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   vars_files:
19     - roles/download_dpdk/defaults/main.yml
20   environment:
21     "{{ proxy_env }}"
22
23   roles:
24     - add_custom_repos
25     - role: set_package_installer_proxy
26       when: proxy_env is defined and proxy_env
27 #     can't update grub in chroot/docker
28     - enable_hugepages_on_boot
29     - enable_iommu_on_boot
30     # needed for collectd plugins
31     - increase_open_file_limits
32     - install_image_dependencies
33     - download_trex
34     - install_trex
35     - download_civetweb
36     - install_civetweb
37     - role: download_dpdk
38       dpdk_version: "{{ dpdk_version_for_PROX }}"
39     - role: install_dpdk
40       dpdk_version: "{{ dpdk_version_for_PROX }}"
41     - download_samplevnfs
42     - role: install_samplevnf
43       vnf_name: PROX
44     - download_dpdk
45     - install_dpdk
46     - role: install_samplevnf
47       vnf_name: UDP_Replay
48     - role: install_samplevnf
49       vnf_name: ACL
50     - role: install_samplevnf
51       vnf_name: FW
52     - role: install_samplevnf
53       vnf_name: CGNAPT
54     # build shared DPDK for collectd only, required DPDK downloaded already
55     - install_dpdk_shared
56     - install_rabbitmq
57     - download_intel_cmt_cat
58     - install_intel_cmt_cat
59     - download_pmu_tools
60     - install_pmu_tools
61     - download_collectd
62     - install_collectd
63     - docker
64     - barometer_collectd