Merge "Fix UDPReplay VNF statistic parsing"
[yardstick.git] / ansible / multi_port_baremetal_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     flow:
21       traffic_type: 4
22       pkt_size:
23          uplink: {64B: 100}
24          downlink: {64B: 100}
25       count: 10
26       rfc2544:
27         allowed_drop_rate: 0.0001 - 0.0001
28       vnf_config:
29         lb_config: 'SW'
30         lb_count: 1
31         worker_config: '1C/1T'
32         worker_threads: 1
33
34     # Environment variables
35     gen:
36       user: root
37       password: ""
38       key_filename: /root/.ssh/id_rsa
39       pcis:
40         uplink:
41           - "0000:05:00.0"
42           - "0000:05:00.2"
43         downlink:
44           - "0000:05:00.1"
45           - "0000:05:00.3"
46       ip:
47         mgmt:
48           - '1.2.1.6/24'
49         uplink:
50           - '152.16.100.20/24'
51           - '172.16.100.20/24'
52         downlink:
53           - '152.16.40.20/24'
54           - '172.16.40.20/24'
55       mac:
56         uplink:
57           - '00:00:00:9e:00:f8'
58           - '00:00:00:9e:00:fa'
59         downlink:
60           - '00:00:00:9e:00:f9'
61           - '00:00:00:9e:00:fb'
62
63     vnf:
64       ip: "192.168.100.101/24"
65       user: root
66       password: ""
67       key_filename: /root/.ssh/id_rsa
68       pcis:
69         uplink:
70           - "0000:05:00.0"
71           - "0000:05:00.2"
72         downlink:
73           - "0000:05:00.1"
74           - "0000:05:00.3"
75       ip:
76         mgmt:
77           - '1.2.1.6/24'
78         uplink:
79           - '152.16.100.10/24'
80           - '172.16.100.10/24'
81         downlink:
82           - '152.16.40.10/24'
83           - '172.16.40.10/24'
84       mac:
85         uplink:
86           - '00:00:00:9e:00:f8'
87           - '00:00:00:9e:00:fa'
88         downlink:
89           - '00:00:00:9e:00:f9'
90           - '00:00:00:9e:00:fb'
91
92   tasks:
93     - include: multi_port_baremetal_test_templates.yml
94       with_items: "{{ scale_out }}"
95