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