Merge "Mock time.sleep in slow tests"
[yardstick.git] / ansible / standalone_ovs_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     ovs_properties:
21       ovs: 2.6.0
22       dpdk: 16.07.1
23       vpath: "/usr/local"
24       queues: 4
25       pmd_threads: 2
26       ram:
27         socket_0: 2048
28         socket_1: 2048
29     flavor:
30       user: root
31       password: ""
32       ram: 4096
33       image: "/var/lib/libvirt/images/ubuntu.qcow2"
34       extra_specs:
35         cpu_sockets: 1
36         cpu_cores: 6
37         cpu_threads: 2
38     flow:
39       traffic_type: 4
40       pkt_size:
41          uplink: {64B: 100}
42          downlink: {64B: 100}
43       count: 10
44       rfc2544:
45         allowed_drop_rate: 0.0001 - 0.0001
46       vnf_config:
47         lb_config: 'SW'
48         lb_count: 1
49         worker_config: '1C/1T'
50         worker_threads: 1
51
52     # Environment variables
53     gen:
54       user: ""
55       password: ""
56       key_filename: ~
57       pcis:
58         uplink:
59           - "0000:05:00.0"
60           - "0000:05:00.2"
61         downlink:
62           - "0000:05:00.1"
63           - "0000:05:00.3"
64       ip:
65         mgmt:
66           - '1.2.1.6/24'
67         uplink:
68           - '152.16.100.20/24'
69           - '172.16.100.20/24'
70         downlink:
71           - '152.16.40.20/24'
72           - '172.16.40.20/24'
73       mac:
74         uplink:
75           - '00:00:00:9e:00:f8'
76           - '00:00:00:9e:00:fa'
77         downlink:
78           - '00:00:00:9e:00:f9'
79           - '00:00:00:9e:00:fb'
80
81     host:
82       ip: "192.168.100.101/24"
83       user: ""
84       password: ""
85       key_filename: ~
86
87     vnf:
88       pcis:
89         uplink:
90           - "0000:05:00.0"
91           - "0000:05:00.2"
92         downlink:
93           - "0000:05:00.1"
94           - "0000:05:00.3"
95       ip:
96         mgmt:
97           - '1.2.1.6/24'
98           - '1.2.1.6/24'
99         uplink:
100           - '152.16.100.10/24'
101           - '172.16.100.10/24'
102         downlink:
103           - '152.16.40.10/24'
104           - '172.16.40.10/24'
105
106   tasks:
107     - include: ovs_scale_out_test_templates.yml
108       with_items: "{{ scale_out }}"
109