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