Merge "Parse "dispatcher" options correctly from InfluxDB client"
[yardstick.git] / ansible / standalone_ovs_scale_out_ixia_correlated_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       ram: 4096
31       image: "/var/lib/libvirt/images/ubuntu.qcow2"
32       extra_specs:
33         cpu_sockets: 1
34         cpu_cores: 6
35         cpu_threads: 2
36     flow:
37       traffic_type: 4
38       pkt_size:
39          uplink: {64B: 100}
40          downlink: {64B: 100}
41       count: 10
42       rfc2544:
43         allowed_drop_rate: 0.0001 - 0.0001
44       vnf_config:
45         lb_config: 'SW'
46         lb_count: 1
47         worker_config: '1C/1T'
48         worker_threads: 1
49     # Environment variables
50     gen:
51       user: ""
52       password: ""
53       key_filename: ~
54       tg_config:
55         ixchassis: "1.1.1.127" #ixia chassis ip
56         tcl_port: "8009" # tcl server port
57         lib_path: "/opt/ixia/ixos-api/8.01.0.2/lib/ixTcl1.0"
58         root_dir: "/opt/ixia/ixos-api/8.01.0.2/"
59         py_bin_path: "/opt/ixia/ixload/8.01.106.3/bin/"
60         dut_result_dir: "/mnt/results"
61         version: "8.01.106.3"
62       pcis:
63         uplink:
64           - "2:5" #Card:port
65           - "2:3" #Card:port
66         downlink:
67           - "2:6" #Card:port
68           - "2:5" #Card:port
69       ip:
70         mgmt:
71           - '1.1.1.138/24' # ixia network machine ip
72         uplink:
73           - '152.16.100.20/24'
74           - '172.16.100.20/24'
75         downlink:
76           - '152.16.40.20/24'
77           - '172.16.40.20/24'
78       mac:
79         uplink:
80           - '00:98:10:64:14:00'
81           - '00:ac:10:64:14:0'
82         downlink:
83           - '00:98:10:28:14:00'
84           - '00:ac:10:28:14:00'
85
86     # Environment variables
87     gen_1:
88       user: ""
89       password: ""
90       key_filename: /""/.ssh/id_rsa
91       pcis:
92         uplink:
93           - "0000:05:00.0"
94           - "0000:05:00.2"
95         downlink:
96           - "0000:05:00.1"
97           - "0000:05:00.3"
98       ip:
99         mgmt:
100           - '1.2.1.6/24'
101         uplink:
102           - '152.16.100.20/24'
103           - '172.16.100.20/24'
104         downlink:
105           - '152.16.40.20/24'
106           - '172.16.40.20/24'
107       mac:
108         uplink:
109           - '00:00:00:9e:00:f8'
110           - '00:00:00:9e:00:fa'
111         downlink:
112           - '00:00:00:9e:00:f9'
113           - '00:00:00:9e:00:fb'
114
115     host:
116       ip: "192.168.100.101/24"
117       user: ""
118       password: ""
119       key_filename: ~
120
121     vnf:
122       user: ""
123       password: ""
124       key_filename: ~
125       pcis:
126         uplink:
127           - "0000:07:00.0"
128           - "0000:07:00.2"
129         downlink:
130           - "0000:07:00.1"
131           - "0000:07:00.3"
132       ip:
133         mgmt:
134           - '1.1.1.1/24'
135           - '1.1.1.7/24'
136         uplink:
137           - '152.16.100.10/24'
138           - '172.16.100.10/24'
139         downlink:
140           - '152.16.40.10/24'
141           - '172.16.40.10/24'
142
143   tasks:
144     - include: ovs_scale_out_test_ixia_correlated_templates.yml
145       with_items: "{{ scale_out }}"
146