Update Intel Copyright for files edited in 2019
[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         dut_result_dir: "/mnt/results"
53         version: "8.01.106.3"
54       pcis:
55         uplink:
56           - "2:5" #Card:port
57           - "2:3" #Card:port
58         downlink:
59           - "2:6" #Card:port
60           - "2:5" #Card:port
61       ip:
62         mgmt:
63           - '1.1.1.138/24' # ixia network machine ip
64         uplink:
65           - '152.16.100.20/24'
66           - '172.16.100.20/24'
67         downlink:
68           - '152.16.40.20/24'
69           - '172.16.40.20/24'
70       mac:
71         uplink:
72           - '00:98:10:64:14:00'
73           - '00:ac:10:64:14:0'
74         downlink:
75           - '00:98:10:28:14:00'
76           - '00:ac:10:28:14:00'
77
78     host:
79       ip: "192.168.100.101/24"
80       user: ""
81       password: ""
82       key_filename: "~"
83
84     vnf:
85       user: ""
86       password: ""
87       key_filename: ~
88       pcis:
89         uplink:
90           - "0000:07:00.0"
91           - "0000:07:00.2"
92         downlink:
93           - "0000:07:00.1"
94           - "0000:07:00.3"
95       ip:
96         mgmt:
97           - '1.1.1.1/24'
98           - '1.1.1.7/24'
99         uplink:
100           - '152.16.100.10/24'
101           - '172.16.100.10/24'
102         downlink:
103           - '152.16.40.10/24'
104           - '172.16.40.10/24'
105
106   tasks:
107     - include: sriov_scale_out_test_ixia_templates.yml
108       with_items: "{{ scale_out }}"
109