Merge "BugFix: Fix to negative dropped packets appearing in results."
[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         py_lib_path: "/opt/ixia/ixnetwork/8.01.1029.14/lib/PythonApi"
61         dut_result_dir: "/mnt/results"
62         version: "8.01.106.3"
63       pcis:
64         uplink:
65           - "2:5" #Card:port
66           - "2:3" #Card:port
67         downlink:
68           - "2:6" #Card:port
69           - "2:5" #Card:port
70       ip:
71         mgmt:
72           - '1.1.1.138/24' # ixia network machine ip
73         uplink:
74           - '152.16.100.20/24'
75           - '172.16.100.20/24'
76         downlink:
77           - '152.16.40.20/24'
78           - '172.16.40.20/24'
79       mac:
80         uplink:
81           - '00:98:10:64:14:00'
82           - '00:ac:10:64:14:0'
83         downlink:
84           - '00:98:10:28:14:00'
85           - '00:ac:10:28:14:00'
86
87     # Environment variables
88     gen_1:
89       user: ""
90       password: ""
91       key_filename: /""/.ssh/id_rsa
92       pcis:
93         uplink:
94           - "0000:05:00.0"
95           - "0000:05:00.2"
96         downlink:
97           - "0000:05:00.1"
98           - "0000:05:00.3"
99       ip:
100         mgmt:
101           - '1.2.1.6/24'
102         uplink:
103           - '152.16.100.20/24'
104           - '172.16.100.20/24'
105         downlink:
106           - '152.16.40.20/24'
107           - '172.16.40.20/24'
108       mac:
109         uplink:
110           - '00:00:00:9e:00:f8'
111           - '00:00:00:9e:00:fa'
112         downlink:
113           - '00:00:00:9e:00:f9'
114           - '00:00:00:9e:00:fb'
115
116     host:
117       ip: "192.168.100.101/24"
118       user: ""
119       password: ""
120       key_filename: ~
121
122     vnf:
123       user: ""
124       password: ""
125       key_filename: ~
126       pcis:
127         uplink:
128           - "0000:07:00.0"
129           - "0000:07:00.2"
130         downlink:
131           - "0000:07:00.1"
132           - "0000:07:00.3"
133       ip:
134         mgmt:
135           - '1.1.1.1/24'
136           - '1.1.1.7/24'
137         uplink:
138           - '152.16.100.10/24'
139           - '172.16.100.10/24'
140         downlink:
141           - '152.16.40.10/24'
142           - '172.16.40.10/24'
143
144   tasks:
145     - include: ovs_scale_out_test_ixia_correlated_templates.yml
146       with_items: "{{ scale_out }}"
147