Merge "Fix UDPReplay VNF statistic parsing"
[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         dut_result_dir: "/mnt/results"
64         version: "8.01.106.3"
65       pcis:
66         uplink:
67           - "2:5" #Card:port
68           - "2:3" #Card:port
69         downlink:
70           - "2:6" #Card:port
71           - "2:5" #Card:port
72       ip:
73         mgmt:
74           - '1.2.1.6/24'
75         uplink:
76           - '152.16.100.20/24'
77           - '172.16.100.20/24'
78         downlink:
79           - '152.16.40.20/24'
80           - '172.16.40.20/24'
81       mac:
82         uplink:
83           - '00:98:10:64:14:00'
84           - '00:ac:10:64:14:0'
85         downlink:
86           - '00:98:10:28:14:00'
87           - '00:ac:10:28:14:00'
88
89     host:
90       ip: "192.168.100.101/24"
91       user: ""
92       password: ""
93       key_filename: ~
94
95     vnf:
96       user: ""
97       password: ""
98       pcis:
99         uplink:
100           - "0000:05:00.0"
101           - "0000:05:00.2"
102         downlink:
103           - "0000:05:00.1"
104           - "0000:05:00.3"
105       ip:
106         mgmt:
107           - '1.2.1.6/24'
108           - '1.2.1.6/24'
109         uplink:
110           - '152.16.100.10/24'
111           - '172.16.100.10/24'
112         downlink:
113           - '152.16.40.10/24'
114           - '172.16.40.10/24'
115
116   tasks:
117     - include: ovs_scale_out_test_ixia_templates.yml
118       with_items: "{{ scale_out }}"
119