Merge "Disable spoof check on vfs in sriov setup"
[yardstick.git] / ansible / multi_port_baremetal_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     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: ""
37       password: ""
38       key_filename: ~
39       tg_config:
40         ixchassis: "1.1.1.127" #ixia chassis ip
41         tcl_port: "8009" # tcl server port
42         lib_path: "/opt/ixia/ixos-api/8.01.0.2/lib/ixTcl1.0"
43         root_dir: "/opt/ixia/ixos-api/8.01.0.2/"
44         py_bin_path: "/opt/ixia/ixload/8.01.106.3/bin/"
45         py_lib_path: "/opt/ixia/ixnetwork/8.01.1029.14/lib/PythonApi"
46         dut_result_dir: "/mnt/results"
47         version: "8.01.106.3"
48       pcis:
49         uplink:
50           - "2:5" #Card:port
51           - "2:3" #Card:port
52         downlink:
53           - "2:6" #Card:port
54           - "2:5" #Card:port
55       ip:
56         mgmt:
57           - '1.2.1.6/24'
58         uplink:
59           - '152.16.100.20/24'
60           - '172.16.100.20/24'
61         downlink:
62           - '152.16.40.20/24'
63           - '172.16.40.20/24'
64       mac:
65         uplink:
66           - '00:98:10:64:14:00'
67           - '00:ac:10:64:14:0'
68         downlink:
69           - '00:98:10:28:14:00'
70           - '00:ac:10:28:14:00'
71
72     # Environment variables
73     gen_1:
74       user: ""
75       password: ""
76       key_filename: ~
77       pcis:
78         uplink:
79           - "0000:05:00.0"
80           - "0000:05:00.2"
81         downlink:
82           - "0000:05:00.1"
83           - "0000:05:00.3"
84       ip:
85         mgmt:
86           - '1.2.1.6/24'
87         uplink:
88           - '152.16.100.20/24'
89           - '172.16.100.20/24'
90         downlink:
91           - '152.16.40.20/24'
92           - '172.16.40.20/24'
93       mac:
94         uplink:
95           - '00:00:00:9e:00:f8'
96           - '00:00:00:9e:00:fa'
97         downlink:
98           - '00:00:00:9e:00:f9'
99           - '00:00:00:9e:00:fb'
100
101     vnf:
102       ip: "192.168.100.101/24"
103       user: root
104       password: ""
105       key_filename: /root/.ssh/id_rsa
106       pcis:
107         uplink:
108           - "0000:05:00.0"
109           - "0000:05:00.2"
110         downlink:
111           - "0000:05:00.1"
112           - "0000:05:00.3"
113       ip:
114         mgmt:
115           - '1.2.1.6/24'
116         uplink:
117           - '152.16.100.10/24'
118           - '172.16.100.10/24'
119         downlink:
120           - '152.16.40.10/24'
121           - '172.16.40.10/24'
122       mac:
123         uplink:
124           - '00:00:00:9e:00:f8'
125           - '00:00:00:9e:00:fa'
126         downlink:
127           - '00:00:00:9e:00:f9'
128           - '00:00:00:9e:00:fb'
129
130   tasks:
131     - include: multi_port_baremetal_ixia_correlated_test_templates.yml
132       with_items: "{{ scale_out }}"
133