Merge "Upload config files for barometer collectd container"
[yardstick.git] / ansible / standalone_sriov_scale_out_test.yaml
1 # Copyright (c) 2017 Intel Corporation. #
2 # Licensed under the Apache License, Version 2.0 (the "License");
3 # you may not use this file except in compliance with the License.
4 # You may obtain a copy of the License at
5 #
6 #      http://www.apache.org/licenses/LICENSE-2.0
7 #
8 # Unless required by applicable law or agreed to in writing, software
9 # distributed under the License is distributed on an "AS IS" BASIS,
10 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11 # See the License for the specific language governing permissions and
12 # limitations under the License.
13 ---
14 - hosts: localhost
15   connection: local
16   vars:
17     scale_out:
18       - 1
19       - 2
20     flavor:
21       user: root
22       password: ""
23       ram: 4096
24       image: "/var/lib/libvirt/images/ubuntu.qcow2"
25       extra_specs:
26         cpu_sockets: 1
27         cpu_cores: 6
28         cpu_threads: 2
29     flow:
30       traffic_type: 4
31       pkt_size:
32          uplink: {64B: 100}
33          downlink: {64B: 100}
34       count: 10
35       rfc2544:
36         allowed_drop_rate: 0.0001 - 0.0001
37       vnf_config:
38         lb_config: 'SW'
39         lb_count: 1
40         worker_config: '1C/1T'
41         worker_threads: 1
42
43     # Environment variables
44     gen:
45       user: root
46       password: ""
47       key_filename: '~'
48       pcis:
49         uplink:
50           - "0000:05:00.0"
51           - "0000:05:00.2"
52         downlink:
53           - "0000:05:00.1"
54           - "0000:05:00.3"
55       ip:
56         mgmt:
57           - '1.2.1.6/24'
58         uplink:
59           - '152.16.100.20/24'
60           - '172.16.100.20/24'
61         downlink:
62           - '152.16.40.20/24'
63           - '172.16.40.20/24'
64       mac:
65         uplink:
66           - '00:00:00:9e:00:f8'
67           - '00:00:00:9e:00:fa'
68         downlink:
69           - '00:00:00:9e:00:f9'
70           - '00:00:00:9e:00:fb'
71
72     host:
73       ip: "192.168.100.101/24"
74       user: root
75       password: ""
76       key_filename: '~'
77
78     vnf:
79       pcis:
80         uplink:
81           - "0000:05:00.0"
82           - "0000:05:00.2"
83         downlink:
84           - "0000:05:00.1"
85           - "0000:05:00.3"
86       ip:
87         mgmt:
88           - '1.2.1.6/24'
89           - '1.2.1.6/24'
90         uplink:
91           - '152.16.100.10/24'
92           - '172.16.100.10/24'
93         downlink:
94           - '152.16.40.10/24'
95           - '172.16.40.10/24'
96
97   tasks:
98     - include: sriov_scale_out_test_templates.yml
99       with_items: "{{ scale_out }}"
100