Merge "Disable spoof check on vfs in sriov setup"
[yardstick.git] / ansible / standalone_sriov_scale_out_ixia_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     host:
80       ip: "192.168.100.101/24"
81       user: ""
82       password: ""
83       key_filename: "~"
84
85     vnf:
86       user: ""
87       password: ""
88       key_filename: ~
89       pcis:
90         uplink:
91           - "0000:07:00.0"
92           - "0000:07:00.2"
93         downlink:
94           - "0000:07:00.1"
95           - "0000:07:00.3"
96       ip:
97         mgmt:
98           - '1.1.1.1/24'
99           - '1.1.1.7/24'
100         uplink:
101           - '152.16.100.10/24'
102           - '172.16.100.10/24'
103         downlink:
104           - '152.16.40.10/24'
105           - '172.16.40.10/24'
106
107   tasks:
108     - include: sriov_scale_out_test_ixia_templates.yml
109       with_items: "{{ scale_out }}"
110