Merge "NSB sync: clean-up draft IPC implementation (part 1)"
[yardstick.git] / ansible / baremetal_scale_out_ixia_correlated_test.yaml
1 # Copyright (c) 2018 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         dut_result_dir: "/mnt/results"
46         version: "8.01.106.3"
47       pcis:
48         uplink:
49           - "2:5" #Card:port
50           - "2:3" #Card:port
51         downlink:
52           - "2:6" #Card:port
53           - "2:5" #Card:port
54       ip:
55         mgmt:
56           - '1.2.1.6/24'
57         uplink:
58           - '152.16.100.20/24'
59           - '172.16.100.20/24'
60         downlink:
61           - '152.16.40.20/24'
62           - '172.16.40.20/24'
63       mac:
64         uplink:
65           - '00:98:10:64:14:00'
66           - '00:ac:10:64:14:0'
67         downlink:
68           - '00:98:10:28:14:00'
69           - '00:ac:10:28:14:00'
70
71     # Environment variables
72     gen_1:
73       user: ""
74       password: ""
75       key_filename: ~
76       pcis:
77         uplink:
78           - "0000:05:00.0"
79           - "0000:05:00.2"
80         downlink:
81           - "0000:05:00.1"
82           - "0000:05:00.3"
83       ip:
84         mgmt:
85           - '1.2.1.6/24'
86         uplink:
87           - '152.16.100.20/24'
88           - '172.16.100.20/24'
89         downlink:
90           - '152.16.40.20/24'
91           - '172.16.40.20/24'
92       mac:
93         uplink:
94           - '00:00:00:9e:00:f8'
95           - '00:00:00:9e:00:fa'
96         downlink:
97           - '00:00:00:9e:00:f9'
98           - '00:00:00:9e:00:fb'
99
100     vnf:
101       ip: "192.168.100.101/24"
102       user: root
103       password: ""
104       key_filename: /root/.ssh/id_rsa
105       pcis:
106         uplink:
107           - "0000:05:00.0"
108           - "0000:05:00.2"
109         downlink:
110           - "0000:05:00.1"
111           - "0000:05:00.3"
112       ip:
113         mgmt:
114           - '1.2.1.6/24'
115           - '1.2.1.7/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: baremetal_scale_out_ixia_correlated_test_templates.yml
132       with_items: "{{ scale_out }}"
133