Renaming of all perf TCs.
[csit.git] / tests / perf / 10ge2p1x520-ethip6lispip6-ip6base-ndrdisc.robot
1 # Copyright (c) 2016 Cisco and/or its affiliates.
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 *** Settings ***
15 | Resource | resources/libraries/robot/performance.robot
16 | Resource | resources/libraries/robot/lisp/lisp_static_adjacency.robot
17 # import additional Lisp settings from resource file
18 | Variables | resources/test_data/lisp/performance/lisp_static_adjacency.py
19 | Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDRDISC
20 | ... | NIC_Intel-X520-DA2 | IP6FWD | ENCAP | LISP | IP6UNRLAY | IP6OVRLAY
21 | Suite Setup | 3-node Performance Suite Setup with DUT's NIC model
22 | ... | L3 | Intel-X520-DA2
23 | Suite Teardown | 3-node Performance Suite Teardown
24 | Test Setup | Setup all DUTs before test
25 | Test Teardown | Run Keywords
26 | ...           | Run Keyword If Test Failed
27 | ...           | Traffic should pass with no loss | 10
28 | ...           | ${min_rate}pps | ${framesize} | 3-node-IPv6
29 | ...           | fail_on_loss=${False}
30 | ...           | AND | Remove startup configuration of VPP from all DUTs
31 | Documentation | *RFC6830: Pkt throughput Lisp test cases*
32 | ...
33 | ... | *[Top] Network Topologies:* TG-DUT1-DUT2-TG 3-node circular topology\
34 | ... | with single links between nodes.
35 | ... | *[Enc] Packet Encapsulations:* Eth-IPv6-LISP-IPv6 on DUT1-DUT2,\
36 | ... | Eth-IPv6 on TG-DUTn for IPv6 routing over LISPoIPv6 tunnel.
37 | ... | *[Cfg] DUT configuration:* DUT1 and DUT2 are configured with IPv6\
38 | ... | routing and static routes. LISPoIPv6 tunnel is configured between\
39 | ... | DUT1 and DUT2. DUT1 and DUT2 tested with 2p10GE NIC X520 Niantic\
40 | ... | by Intel.
41 | ... | *[Ver] TG verification:* TG finds and reports throughput NDR (Non Drop\
42 | ... | Rate) with zero packet loss tolerance or throughput PDR (Partial Drop\
43 | ... | Rate) with non-zero packet loss tolerance (LT) expressed in percentage\
44 | ... | of packets transmitted. NDR and PDR are discovered for different\
45 | ... | Ethernet L2 frame sizes using either binary search or linear search\
46 | ... | *[Ref] Applicable standard specifications:* RFC6830.
47
48 *** Variables ***
49 #X520-DA2 bandwidth limit
50 | ${s_limit} | ${10000000000}
51
52 *** Test Cases ***
53 | tc01-78B-1t1c-ethip6lispip6-ip6base-ndrdisc
54 | | [Documentation]
55 | | ... | [Cfg] DUT runs IPv6 LISP remote static mappings and whitelist\
56 | | ... | filters config with 1 thread, 1 phy core, 1 receive queue per NIC\
57 | | ... | port.
58 | | ... | [Ver] Find NDR for 78 Byte frames using binary search start\
59 | | ... | at 10GE linerate, step 100kpps.
60 | | [Tags] | 1T1C | STHREAD | NDRDISC
61 | | ${framesize}= | Set Variable | ${78}
62 | | ${min_rate}= | Set Variable | ${100000}
63 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + 8}
64 | | ${binary_min}= | Set Variable | ${min_rate}
65 | | ${binary_max}= | Set Variable | ${max_rate}
66 | | ${threshold}= | Set Variable | ${min_rate}
67 | | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo
68 | | And   Add PCI devices to DUTs from 3-node single link topology
69 | | And   Add No Multi Seg to all DUTs
70 | | And   Apply startup configuration on all VPP DUTs
71 | | When Lisp IPv6 forwarding initialized in a 3-node circular topology
72 | | ...  | ${dut1_to_dut2_ip6} | ${dut1_to_tg_ip6} | ${dut2_to_dut1_ip6}
73 | | ...  | ${dut2_to_tg_ip6} | ${prefix6}
74 | | And  Set up Lisp topology
75 | | ...  | ${dut1} | ${dut1_if2} | ${NONE}
76 | | ...  | ${dut2} | ${dut2_if1} | ${NONE}
77 | | ...  | ${duts_locator_set} | ${dut1_ip6_eid} | ${dut2_ip6_eid}
78 | | ...  | ${dut1_ip6_static_adjacency} | ${dut2_ip6_static_adjacency}
79 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
80 | | ...                                       | ${binary_max} | 3-node-IPv6
81 | | ...                                       | ${min_rate} | ${max_rate}
82 | | ...                                       | ${threshold}
83
84 | tc02-78B-1t1c-ethip6lispip6-ip6base-pdrdisc
85 | | [Documentation]
86 | | ... | [Cfg] DUT runs IPv6 LISP remote static mappings and whitelist\
87 | | ... | filters config with 1 thread, 1 phy core, 1 receive queue per NIC\
88 | | ... | port.
89 | | ... | [Ver] Find PDR for 78 Byte frames using binary search start\
90 | | ... | at 10GE linerate, step 100kpps, LT=0.5%.
91 | | [Tags] | 1T1C | STHREAD | PDRDISC | SKIP_PATCH
92 | | ${framesize}= | Set Variable | ${78}
93 | | ${min_rate}= | Set Variable | ${100000}
94 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + 8}
95 | | ${binary_min}= | Set Variable | ${min_rate}
96 | | ${binary_max}= | Set Variable | ${max_rate}
97 | | ${threshold}= | Set Variable | ${min_rate}
98 | | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo
99 | | And   Add PCI devices to DUTs from 3-node single link topology
100 | | And   Add No Multi Seg to all DUTs
101 | | And   Apply startup configuration on all VPP DUTs
102 | | When Lisp IPv6 forwarding initialized in a 3-node circular topology
103 | | ...  | ${dut1_to_dut2_ip6} | ${dut1_to_tg_ip6} | ${dut2_to_dut1_ip6}
104 | | ...  | ${dut2_to_tg_ip6} | ${prefix6}
105 | | And  Set up Lisp topology
106 | | ...  | ${dut1} | ${dut1_if2} | ${NONE}
107 | | ...  | ${dut2} | ${dut2_if1} | ${NONE}
108 | | ...  | ${duts_locator_set} | ${dut1_ip6_eid} | ${dut2_ip6_eid}
109 | | ...  | ${dut1_ip6_static_adjacency} | ${dut2_ip6_static_adjacency}
110 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
111 | | ...                                       | ${binary_max} | 3-node-IPv6
112 | | ...                                       | ${min_rate} | ${max_rate}
113 | | ...                                       | ${threshold}
114 | | ...                                       | ${glob_loss_acceptance}
115 | | ...                                       | ${glob_loss_acceptance_type}
116
117 | tc03-1460B-1t1c-ethip6lispip6-ip6base-ndrdisc
118 | | [Documentation]
119 | | ... | [Cfg] DUT runs IPv6 LISP remote static mappings and whitelist\
120 | | ... | filters config with 1 thread, 1 phy core, 1 receive queue per NIC\
121 | | ... | port.
122 | | ... | [Ver] Find NDR for 1460 Byte frames using binary search start\
123 | | ... | at 10GE linerate, step 10kpps.
124 | | [Tags] | 1T1C | STHREAD | NDRDISC
125 | | ${framesize}= | Set Variable | ${1460}
126 | | ${min_rate}= | Set Variable | ${10000}
127 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + 8}
128 | | ${binary_min}= | Set Variable | ${min_rate}
129 | | ${binary_max}= | Set Variable | ${max_rate}
130 | | ${threshold}= | Set Variable | ${min_rate}
131 | | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo
132 | | And   Add PCI devices to DUTs from 3-node single link topology
133 | | And   Add No Multi Seg to all DUTs
134 | | And   Apply startup configuration on all VPP DUTs
135 | | When Lisp IPv6 forwarding initialized in a 3-node circular topology
136 | | ...  | ${dut1_to_dut2_ip6} | ${dut1_to_tg_ip6} | ${dut2_to_dut1_ip6}
137 | | ...  | ${dut2_to_tg_ip6} | ${prefix6}
138 | | And  Set up Lisp topology
139 | | ...  | ${dut1} | ${dut1_if2} | ${NONE}
140 | | ...  | ${dut2} | ${dut2_if1} | ${NONE}
141 | | ...  | ${duts_locator_set} | ${dut1_ip6_eid} | ${dut2_ip6_eid}
142 | | ...  | ${dut1_ip6_static_adjacency} | ${dut2_ip6_static_adjacency}
143 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
144 | | ...                                       | ${binary_max} | 3-node-IPv6
145 | | ...                                       | ${min_rate} | ${max_rate}
146 | | ...                                       | ${threshold}
147
148 | tc04-1460B-1t1c-ethip6lispip6-ip6base-pdrdisc
149 | | [Documentation]
150 | | ... | [Cfg] DUT runs IPv6 LISP remote static mappings and whitelist\
151 | | ... | filters config with 1 thread, 1 phy core, 1 receive queue per NIC\
152 | | ... | port.
153 | | ... | [Ver] Find PDR for 1460 Byte frames using binary search start\
154 | | ... | at 10GE linerate, step 10kpps, LT=0.5%.
155 | | [Tags] | 1T1C | STHREAD | PDRDISC | SKIP_PATCH
156 | | ${framesize}= | Set Variable | ${1460}
157 | | ${min_rate}= | Set Variable | ${10000}
158 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + 8}
159 | | ${binary_min}= | Set Variable | ${min_rate}
160 | | ${binary_max}= | Set Variable | ${max_rate}
161 | | ${threshold}= | Set Variable | ${min_rate}
162 | | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo
163 | | And   Add PCI devices to DUTs from 3-node single link topology
164 | | And   Add No Multi Seg to all DUTs
165 | | And   Apply startup configuration on all VPP DUTs
166 | | When Lisp IPv6 forwarding initialized in a 3-node circular topology
167 | | ...  | ${dut1_to_dut2_ip6} | ${dut1_to_tg_ip6} | ${dut2_to_dut1_ip6}
168 | | ...  | ${dut2_to_tg_ip6} | ${prefix6}
169 | | And  Set up Lisp topology
170 | | ...  | ${dut1} | ${dut1_if2} | ${NONE}
171 | | ...  | ${dut2} | ${dut2_if1} | ${NONE}
172 | | ...  | ${duts_locator_set} | ${dut1_ip6_eid} | ${dut2_ip6_eid}
173 | | ...  | ${dut1_ip6_static_adjacency} | ${dut2_ip6_static_adjacency}
174 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
175 | | ...                                       | ${binary_max} | 3-node-IPv6
176 | | ...                                       | ${min_rate} | ${max_rate}
177 | | ...                                       | ${threshold}
178 | | ...                                       | ${glob_loss_acceptance}
179 | | ...                                       | ${glob_loss_acceptance_type}
180
181 | tc05-9000B-1t1c-ethip6lispip6-ip6base-ndrdisc
182 | | [Documentation]
183 | | ... | [Cfg] DUT runs IPv6 LISP remote static mappings and whitelist\
184 | | ... | filters config with 1 thread, 1 phy core, 1 receive queue per NIC\
185 | | ... | port.
186 | | ... | [Ver] Find NDR for 9000 Byte frames using binary search start\
187 | | ... | at 10GE linerate, step 5kpps.
188 | | [Tags] | 1T1C | STHREAD | NDRDISC
189 | | ${framesize}= | Set Variable | ${9000}
190 | | ${min_rate}= | Set Variable | ${10000}
191 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + 8}
192 | | ${binary_min}= | Set Variable | ${min_rate}
193 | | ${binary_max}= | Set Variable | ${max_rate}
194 | | ${threshold}= | Set Variable | ${min_rate}
195 | | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo
196 | | And   Add PCI devices to DUTs from 3-node single link topology
197 | | And   Apply startup configuration on all VPP DUTs
198 | | When Lisp IPv6 forwarding initialized in a 3-node circular topology
199 | | ...  | ${dut1_to_dut2_ip6} | ${dut1_to_tg_ip6} | ${dut2_to_dut1_ip6}
200 | | ...  | ${dut2_to_tg_ip6} | ${prefix6}
201 | | And  Set up Lisp topology
202 | | ...  | ${dut1} | ${dut1_if2} | ${NONE}
203 | | ...  | ${dut2} | ${dut2_if1} | ${NONE}
204 | | ...  | ${duts_locator_set} | ${dut1_ip6_eid} | ${dut2_ip6_eid}
205 | | ...  | ${dut1_ip6_static_adjacency} | ${dut2_ip6_static_adjacency}
206 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
207 | | ...                                       | ${binary_max} | 3-node-IPv6
208 | | ...                                       | ${min_rate} | ${max_rate}
209 | | ...                                       | ${threshold}
210
211 | tc06-9000B-1t1c-ethip6lispip6-ip6base-pdrdisc
212 | | [Documentation]
213 | | ... | [Cfg] DUT runs IPv6 LISP remote static mappings and whitelist\
214 | | ... | filters config with 1 thread, 1 phy core, 1 receive queue per NIC\
215 | | ... | port.
216 | | ... | [Ver] Find PDR for 9000 Byte frames using binary search start\
217 | | ... | at 10GE linerate, step 5kpps, LT=0.5%.
218 | | [Tags] | 1T1C | STHREAD | PDRDISC | SKIP_PATCH
219 | | ${framesize}= | Set Variable | ${9000}
220 | | ${min_rate}= | Set Variable | ${10000}
221 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + 8}
222 | | ${binary_min}= | Set Variable | ${min_rate}
223 | | ${binary_max}= | Set Variable | ${max_rate}
224 | | ${threshold}= | Set Variable | ${min_rate}
225 | | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo
226 | | And   Add PCI devices to DUTs from 3-node single link topology
227 | | And   Apply startup configuration on all VPP DUTs
228 | | When Lisp IPv6 forwarding initialized in a 3-node circular topology
229 | | ...  | ${dut1_to_dut2_ip6} | ${dut1_to_tg_ip6} | ${dut2_to_dut1_ip6}
230 | | ...  | ${dut2_to_tg_ip6} | ${prefix6}
231 | | And  Set up Lisp topology
232 | | ...  | ${dut1} | ${dut1_if2} | ${NONE}
233 | | ...  | ${dut2} | ${dut2_if1} | ${NONE}
234 | | ...  | ${duts_locator_set} | ${dut1_ip6_eid} | ${dut2_ip6_eid}
235 | | ...  | ${dut1_ip6_static_adjacency} | ${dut2_ip6_static_adjacency}
236 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
237 | | ...                                       | ${binary_max} | 3-node-IPv6
238 | | ...                                       | ${min_rate} | ${max_rate}
239 | | ...                                       | ${threshold}
240 | | ...                                       | ${glob_loss_acceptance}
241 | | ...                                       | ${glob_loss_acceptance_type}
242
243 | tc07-78B-2t2c-ethip6lispip6-ip6base-ndrdisc
244 | | [Documentation]
245 | | ... | [Cfg] DUT runs IPv6 LISP remote static mappings and whitelist\
246 | | ... | filters config with 2 threads, 2 phy cores, 1 receive queue per NIC\
247 | | ... | port.
248 | | ... | [Ver] Find NDR for 78 Byte frames using binary search start\
249 | | ... | at 10GE linerate, step 100kpps.
250 | | [Tags] | 2T2C | MTHREAD | NDRDISC
251 | | ${framesize}= | Set Variable | ${78}
252 | | ${min_rate}= | Set Variable | ${100000}
253 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + 8}
254 | | ${binary_min}= | Set Variable | ${min_rate}
255 | | ${binary_max}= | Set Variable | ${max_rate}
256 | | ${threshold}= | Set Variable | ${min_rate}
257 | | Given Add '2' worker threads and rxqueues '1' in 3-node single-link topo
258 | | And   Add PCI devices to DUTs from 3-node single link topology
259 | | And   Add No Multi Seg to all DUTs
260 | | And   Apply startup configuration on all VPP DUTs
261 | | When Lisp IPv6 forwarding initialized in a 3-node circular topology
262 | | ...  | ${dut1_to_dut2_ip6} | ${dut1_to_tg_ip6} | ${dut2_to_dut1_ip6}
263 | | ...  | ${dut2_to_tg_ip6} | ${prefix6}
264 | | And  Set up Lisp topology
265 | | ...  | ${dut1} | ${dut1_if2} | ${NONE}
266 | | ...  | ${dut2} | ${dut2_if1} | ${NONE}
267 | | ...  | ${duts_locator_set} | ${dut1_ip6_eid} | ${dut2_ip6_eid}
268 | | ...  | ${dut1_ip6_static_adjacency} | ${dut2_ip6_static_adjacency}
269 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
270 | | ...                                       | ${binary_max} | 3-node-IPv6
271 | | ...                                       | ${min_rate} | ${max_rate}
272 | | ...                                       | ${threshold}
273
274 | tc08-78B-2t2c-ethip6lispip6-ip6base-pdrdisc
275 | | [Documentation]
276 | | ... | [Cfg] DUT runs IPv6 LISP remote static mappings and whitelist\
277 | | ... | filters config with 2 threads, 2 phy cores, 1 receive queue per NIC\
278 | | ... | port.
279 | | ... | [Ver] Find PDR for 78 Byte frames using binary search start\
280 | | ... | at 10GE linerate, step 100kpps, LT=0.5%.
281 | | [Tags] | 2T2C | MTHREAD | PDRDISC | SKIP_PATCH
282 | | ${framesize}= | Set Variable | ${78}
283 | | ${min_rate}= | Set Variable | ${100000}
284 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + 8}
285 | | ${binary_min}= | Set Variable | ${min_rate}
286 | | ${binary_max}= | Set Variable | ${max_rate}
287 | | ${threshold}= | Set Variable | ${min_rate}
288 | | Given Add '2' worker threads and rxqueues '1' in 3-node single-link topo
289 | | And   Add PCI devices to DUTs from 3-node single link topology
290 | | And   Add No Multi Seg to all DUTs
291 | | And   Apply startup configuration on all VPP DUTs
292 | | When Lisp IPv6 forwarding initialized in a 3-node circular topology
293 | | ...  | ${dut1_to_dut2_ip6} | ${dut1_to_tg_ip6} | ${dut2_to_dut1_ip6}
294 | | ...  | ${dut2_to_tg_ip6} | ${prefix6}
295 | | And  Set up Lisp topology
296 | | ...  | ${dut1} | ${dut1_if2} | ${NONE}
297 | | ...  | ${dut2} | ${dut2_if1} | ${NONE}
298 | | ...  | ${duts_locator_set} | ${dut1_ip6_eid} | ${dut2_ip6_eid}
299 | | ...  | ${dut1_ip6_static_adjacency} | ${dut2_ip6_static_adjacency}
300 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
301 | | ...                                       | ${binary_max} | 3-node-IPv6
302 | | ...                                       | ${min_rate} | ${max_rate}
303 | | ...                                       | ${threshold}
304 | | ...                                       | ${glob_loss_acceptance}
305 | | ...                                       | ${glob_loss_acceptance_type}
306
307 | tc09-1460B-2t2c-ethip6lispip6-ip6base-ndrdisc
308 | | [Documentation]
309 | | ... | [Cfg] DUT runs IPv6 LISP remote static mappings and whitelist\
310 | | ... | filters config with 2 threads, 2 phy cores, 1 receive queue per NIC\
311 | | ... | port.
312 | | ... | [Ver] Find NDR for 1460 Byte frames using binary search start\
313 | | ... | at 10GE linerate, step 10kpps.
314 | | [Tags] | 2T2C | MTHREAD | NDRDISC | SKIP_PATCH
315 | | ${framesize}= | Set Variable | ${1460}
316 | | ${min_rate}= | Set Variable | ${10000}
317 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + 8}
318 | | ${binary_min}= | Set Variable | ${min_rate}
319 | | ${binary_max}= | Set Variable | ${max_rate}
320 | | ${threshold}= | Set Variable | ${min_rate}
321 | | Given Add '2' worker threads and rxqueues '1' in 3-node single-link topo
322 | | And   Add PCI devices to DUTs from 3-node single link topology
323 | | And   Add No Multi Seg to all DUTs
324 | | And   Apply startup configuration on all VPP DUTs
325 | | When Lisp IPv6 forwarding initialized in a 3-node circular topology
326 | | ...  | ${dut1_to_dut2_ip6} | ${dut1_to_tg_ip6} | ${dut2_to_dut1_ip6}
327 | | ...  | ${dut2_to_tg_ip6} | ${prefix6}
328 | | And  Set up Lisp topology
329 | | ...  | ${dut1} | ${dut1_if2} | ${NONE}
330 | | ...  | ${dut2} | ${dut2_if1} | ${NONE}
331 | | ...  | ${duts_locator_set} | ${dut1_ip6_eid} | ${dut2_ip6_eid}
332 | | ...  | ${dut1_ip6_static_adjacency} | ${dut2_ip6_static_adjacency}
333 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
334 | | ...                                       | ${binary_max} | 3-node-IPv6
335 | | ...                                       | ${min_rate} | ${max_rate}
336 | | ...                                       | ${threshold}
337
338 | tc10-1460B-2t2c-ethip6lispip6-ip6base-pdrdisc
339 | | [Documentation]
340 | | ... | [Cfg] DUT runs IPv6 LISP remote static mappings and whitelist\
341 | | ... | filters config with 2 threads, 2 phy cores, 1 receive queue per NIC\
342 | | ... | port.
343 | | ... | [Ver] Find PDR for 1460 Byte frames using binary search start\
344 | | ... | at 10GE linerate, step 10kpps, LT=0.5%.
345 | | [Tags] | 2T2C | MTHREAD | PDRDISC | SKIP_PATCH
346 | | ${framesize}= | Set Variable | ${1460}
347 | | ${min_rate}= | Set Variable | ${10000}
348 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + 8}
349 | | ${binary_min}= | Set Variable | ${min_rate}
350 | | ${binary_max}= | Set Variable | ${max_rate}
351 | | ${threshold}= | Set Variable | ${min_rate}
352 | | Given Add '2' worker threads and rxqueues '1' in 3-node single-link topo
353 | | And   Add PCI devices to DUTs from 3-node single link topology
354 | | And   Add No Multi Seg to all DUTs
355 | | And   Apply startup configuration on all VPP DUTs
356 | | When Lisp IPv6 forwarding initialized in a 3-node circular topology
357 | | ...  | ${dut1_to_dut2_ip6} | ${dut1_to_tg_ip6} | ${dut2_to_dut1_ip6}
358 | | ...  | ${dut2_to_tg_ip6} | ${prefix6}
359 | | And  Set up Lisp topology
360 | | ...  | ${dut1} | ${dut1_if2} | ${NONE}
361 | | ...  | ${dut2} | ${dut2_if1} | ${NONE}
362 | | ...  | ${duts_locator_set} | ${dut1_ip6_eid} | ${dut2_ip6_eid}
363 | | ...  | ${dut1_ip6_static_adjacency} | ${dut2_ip6_static_adjacency}
364 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
365 | | ...                                       | ${binary_max} | 3-node-IPv6
366 | | ...                                       | ${min_rate} | ${max_rate}
367 | | ...                                       | ${threshold}
368 | | ...                                       | ${glob_loss_acceptance}
369 | | ...                                       | ${glob_loss_acceptance_type}
370
371 | tc11-9000B-2t2c-ethip6lispip6-ip6base-ndrdisc
372 | | [Documentation]
373 | | ... | [Cfg] DUT runs IPv6 LISP remote static mappings and whitelist\
374 | | ... | filters config with 2 threads, 2 phy cores, 1 receive queue per NIC\
375 | | ... | port.
376 | | ... | [Ver] Find NDR for 9000 Byte frames using binary search start\
377 | | ... | at 10GE linerate, step 5kpps.
378 | | [Tags] | 2T2C | MTHREAD | NDRDISC | SKIP_PATCH
379 | | ${framesize}= | Set Variable | ${9000}
380 | | ${min_rate}= | Set Variable | ${10000}
381 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + 8}
382 | | ${binary_min}= | Set Variable | ${min_rate}
383 | | ${binary_max}= | Set Variable | ${max_rate}
384 | | ${threshold}= | Set Variable | ${min_rate}
385 | | Given Add '2' worker threads and rxqueues '1' in 3-node single-link topo
386 | | And   Add PCI devices to DUTs from 3-node single link topology
387 | | And   Apply startup configuration on all VPP DUTs
388 | | When Lisp IPv6 forwarding initialized in a 3-node circular topology
389 | | ...  | ${dut1_to_dut2_ip6} | ${dut1_to_tg_ip6} | ${dut2_to_dut1_ip6}
390 | | ...  | ${dut2_to_tg_ip6} | ${prefix6}
391 | | And  Set up Lisp topology
392 | | ...  | ${dut1} | ${dut1_if2} | ${NONE}
393 | | ...  | ${dut2} | ${dut2_if1} | ${NONE}
394 | | ...  | ${duts_locator_set} | ${dut1_ip6_eid} | ${dut2_ip6_eid}
395 | | ...  | ${dut1_ip6_static_adjacency} | ${dut2_ip6_static_adjacency}
396 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
397 | | ...                                       | ${binary_max} | 3-node-IPv6
398 | | ...                                       | ${min_rate} | ${max_rate}
399 | | ...                                       | ${threshold}
400
401 | tc12-9000B-2t2c-ethip6lispip6-ip6base-pdrdisc
402 | | [Documentation]
403 | | ... | [Cfg] DUT runs IPv6 LISP remote static mappings and whitelist\
404 | | ... | filters config with 2 threads, 2 phy cores, 1 receive queue per NIC\
405 | | ... | port.
406 | | ... | [Ver] Find PDR for 9000 Byte frames using binary search start\
407 | | ... | at 10GE linerate, step 5kpps.
408 | | [Tags] | 2T2C | MTHREAD | PDRDISC | SKIP_PATCH
409 | | ${framesize}= | Set Variable | ${9000}
410 | | ${min_rate}= | Set Variable | ${10000}
411 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + 8}
412 | | ${binary_min}= | Set Variable | ${min_rate}
413 | | ${binary_max}= | Set Variable | ${max_rate}
414 | | ${threshold}= | Set Variable | ${min_rate}
415 | | Given Add '2' worker threads and rxqueues '1' in 3-node single-link topo
416 | | And   Add PCI devices to DUTs from 3-node single link topology
417 | | And   Apply startup configuration on all VPP DUTs
418 | | When Lisp IPv6 forwarding initialized in a 3-node circular topology
419 | | ...  | ${dut1_to_dut2_ip6} | ${dut1_to_tg_ip6} | ${dut2_to_dut1_ip6}
420 | | ...  | ${dut2_to_tg_ip6} | ${prefix6}
421 | | And  Set up Lisp topology
422 | | ...  | ${dut1} | ${dut1_if2} | ${NONE}
423 | | ...  | ${dut2} | ${dut2_if1} | ${NONE}
424 | | ...  | ${duts_locator_set} | ${dut1_ip6_eid} | ${dut2_ip6_eid}
425 | | ...  | ${dut1_ip6_static_adjacency} | ${dut2_ip6_static_adjacency}
426 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
427 | | ...                                       | ${binary_max} | 3-node-IPv6
428 | | ...                                       | ${min_rate} | ${max_rate}
429 | | ...                                       | ${threshold}
430 | | ...                                       | ${glob_loss_acceptance}
431 | | ...                                       | ${glob_loss_acceptance_type}
432
433 | tc13-78B-4t4c-ethip6lispip6-ip6base-ndrdisc
434 | | [Documentation]
435 | | ... | [Cfg] DUT runs IPv6 LISP remote static mappings and whitelist\
436 | | ... | filters config with 4 threads, 4 phy cores, 2 receive queues per NIC\
437 | | ... | port.
438 | | ... | [Ver] Find NDR for 78 Byte frames using binary search start\
439 | | ... | at 10GE linerate, step 100kpps.
440 | | [Tags] | 4T4C | MTHREAD | NDRDISC
441 | | ${framesize}= | Set Variable | ${78}
442 | | ${min_rate}= | Set Variable | ${100000}
443 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + 8}
444 | | ${binary_min}= | Set Variable | ${min_rate}
445 | | ${binary_max}= | Set Variable | ${max_rate}
446 | | ${threshold}= | Set Variable | ${min_rate}
447 | | Given Add '4' worker threads and rxqueues '2' in 3-node single-link topo
448 | | And   Add PCI devices to DUTs from 3-node single link topology
449 | | And   Add No Multi Seg to all DUTs
450 | | And   Apply startup configuration on all VPP DUTs
451 | | When Lisp IPv6 forwarding initialized in a 3-node circular topology
452 | | ...  | ${dut1_to_dut2_ip6} | ${dut1_to_tg_ip6} | ${dut2_to_dut1_ip6}
453 | | ...  | ${dut2_to_tg_ip6} | ${prefix6}
454 | | And  Set up Lisp topology
455 | | ...  | ${dut1} | ${dut1_if2} | ${NONE}
456 | | ...  | ${dut2} | ${dut2_if1} | ${NONE}
457 | | ...  | ${duts_locator_set} | ${dut1_ip6_eid} | ${dut2_ip6_eid}
458 | | ...  | ${dut1_ip6_static_adjacency} | ${dut2_ip6_static_adjacency}
459 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
460 | | ...                                       | ${binary_max} | 3-node-IPv6
461 | | ...                                       | ${min_rate} | ${max_rate}
462 | | ...                                       | ${threshold}
463
464 | tc14-78B-4t4c-ethip6lispip6-ip6base-pdrdisc
465 | | [Documentation]
466 | | ... | [Cfg] DUT runs IPv6 LISP remote static mappings and whitelist\
467 | | ... | filters config with 4 threads, 4 phy cores, 2 receive queues per NIC\
468 | | ... | port.
469 | | ... | [Ver] Find PDR for 78 Byte frames using binary search start\
470 | | ... | at 10GE linerate, step 100kpps, LT=0.5%.
471 | | [Tags] | 4T4C | MTHREAD | PDRDISC | SKIP_PATCH
472 | | ${framesize}= | Set Variable | ${78}
473 | | ${min_rate}= | Set Variable | ${100000}
474 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + 8}
475 | | ${binary_min}= | Set Variable | ${min_rate}
476 | | ${binary_max}= | Set Variable | ${max_rate}
477 | | ${threshold}= | Set Variable | ${min_rate}
478 | | Given Add '4' worker threads and rxqueues '2' in 3-node single-link topo
479 | | And   Add PCI devices to DUTs from 3-node single link topology
480 | | And   Add No Multi Seg to all DUTs
481 | | And   Apply startup configuration on all VPP DUTs
482 | | When Lisp IPv6 forwarding initialized in a 3-node circular topology
483 | | ...  | ${dut1_to_dut2_ip6} | ${dut1_to_tg_ip6} | ${dut2_to_dut1_ip6}
484 | | ...  | ${dut2_to_tg_ip6} | ${prefix6}
485 | | And  Set up Lisp topology
486 | | ...  | ${dut1} | ${dut1_if2} | ${NONE}
487 | | ...  | ${dut2} | ${dut2_if1} | ${NONE}
488 | | ...  | ${duts_locator_set} | ${dut1_ip6_eid} | ${dut2_ip6_eid}
489 | | ...  | ${dut1_ip6_static_adjacency} | ${dut2_ip6_static_adjacency}
490 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
491 | | ...                                       | ${binary_max} | 3-node-IPv6
492 | | ...                                       | ${min_rate} | ${max_rate}
493 | | ...                                       | ${threshold}
494 | | ...                                       | ${glob_loss_acceptance}
495 | | ...                                       | ${glob_loss_acceptance_type}
496
497 | tc15-1460B-4t4c-ethip6lispip6-ip6base-ndrdisc
498 | | [Documentation]
499 | | ... | [Cfg] DUT runs IPv6 LISP remote static mappings and whitelist\
500 | | ... | filters config with 4 threads, 4 phy cores, 2 receive queues per NIC\
501 | | ... | port.
502 | | ... | [Ver] Find NDR for 1460 Byte frames using binary search start\
503 | | ... | at 10GE linerate, step 100kpps.
504 | | [Tags] | 4T4C | MTHREAD | NDRDISC | SKIP_PATCH
505 | | ${framesize}= | Set Variable | ${1460}
506 | | ${min_rate}= | Set Variable | ${10000}
507 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + 8}
508 | | ${binary_min}= | Set Variable | ${min_rate}
509 | | ${binary_max}= | Set Variable | ${max_rate}
510 | | ${threshold}= | Set Variable | ${min_rate}
511 | | Given Add '4' worker threads and rxqueues '2' in 3-node single-link topo
512 | | And   Add PCI devices to DUTs from 3-node single link topology
513 | | And   Add No Multi Seg to all DUTs
514 | | And   Apply startup configuration on all VPP DUTs
515 | | When Lisp IPv6 forwarding initialized in a 3-node circular topology
516 | | ...  | ${dut1_to_dut2_ip6} | ${dut1_to_tg_ip6} | ${dut2_to_dut1_ip6}
517 | | ...  | ${dut2_to_tg_ip6} | ${prefix6}
518 | | And  Set up Lisp topology
519 | | ...  | ${dut1} | ${dut1_if2} | ${NONE}
520 | | ...  | ${dut2} | ${dut2_if1} | ${NONE}
521 | | ...  | ${duts_locator_set} | ${dut1_ip6_eid} | ${dut2_ip6_eid}
522 | | ...  | ${dut1_ip6_static_adjacency} | ${dut2_ip6_static_adjacency}
523 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
524 | | ...                                       | ${binary_max} | 3-node-IPv6
525 | | ...                                       | ${min_rate} | ${max_rate}
526 | | ...                                       | ${threshold}
527
528 | tc16-1460B-4t4c-ethip6lispip6-ip6base-pdrdisc
529 | | [Documentation]
530 | | ... | [Cfg] DUT runs IPv6 LISP remote static mappings and whitelist\
531 | | ... | filters config with 4 threads, 4 phy cores, 2 receive queues per NIC\
532 | | ... | port.
533 | | ... | [Ver] Find PDR for 1460 Byte frames using binary search start\
534 | | ... | at 10GE linerate, step 10kpps, LT=0.5%.
535 | | [Tags] | 4T4C | MTHREAD | PDRDISC | SKIP_PATCH
536 | | ${framesize}= | Set Variable | ${1460}
537 | | ${min_rate}= | Set Variable | ${10000}
538 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + 8}
539 | | ${binary_min}= | Set Variable | ${min_rate}
540 | | ${binary_max}= | Set Variable | ${max_rate}
541 | | ${threshold}= | Set Variable | ${min_rate}
542 | | Given Add '4' worker threads and rxqueues '2' in 3-node single-link topo
543 | | And   Add PCI devices to DUTs from 3-node single link topology
544 | | And   Add No Multi Seg to all DUTs
545 | | And   Apply startup configuration on all VPP DUTs
546 | | When Lisp IPv6 forwarding initialized in a 3-node circular topology
547 | | ...  | ${dut1_to_dut2_ip6} | ${dut1_to_tg_ip6} | ${dut2_to_dut1_ip6}
548 | | ...  | ${dut2_to_tg_ip6} | ${prefix6}
549 | | And  Set up Lisp topology
550 | | ...  | ${dut1} | ${dut1_if2} | ${NONE}
551 | | ...  | ${dut2} | ${dut2_if1} | ${NONE}
552 | | ...  | ${duts_locator_set} | ${dut1_ip6_eid} | ${dut2_ip6_eid}
553 | | ...  | ${dut1_ip6_static_adjacency} | ${dut2_ip6_static_adjacency}
554 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
555 | | ...                                       | ${binary_max} | 3-node-IPv6
556 | | ...                                       | ${min_rate} | ${max_rate}
557 | | ...                                       | ${threshold}
558 | | ...                                       | ${glob_loss_acceptance}
559 | | ...                                       | ${glob_loss_acceptance_type}
560
561 | tc17-9000B-4t4c-ethip6lispip6-ip6base-ndrdisc
562 | | [Documentation]
563 | | ... | [Cfg] DUT runs IPv6 LISP remote static mappings and whitelist\
564 | | ... | filters config with 4 threads, 4 phy cores, 2 receive queues per NIC\
565 | | ... | port.
566 | | ... | [Ver] Find NDR for 9000 Byte frames using binary search start\
567 | | ... | at 10GE linerate, step 5kpps.
568 | | [Tags] | 4T4C | MTHREAD | NDRDISC | SKIP_PATCH
569 | | ${framesize}= | Set Variable | ${9000}
570 | | ${min_rate}= | Set Variable | ${10000}
571 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + 8}
572 | | ${binary_min}= | Set Variable | ${min_rate}
573 | | ${binary_max}= | Set Variable | ${max_rate}
574 | | ${threshold}= | Set Variable | ${min_rate}
575 | | Given Add '4' worker threads and rxqueues '2' in 3-node single-link topo
576 | | And   Add PCI devices to DUTs from 3-node single link topology
577 | | And   Apply startup configuration on all VPP DUTs
578 | | When Lisp IPv6 forwarding initialized in a 3-node circular topology
579 | | ...  | ${dut1_to_dut2_ip6} | ${dut1_to_tg_ip6} | ${dut2_to_dut1_ip6}
580 | | ...  | ${dut2_to_tg_ip6} | ${prefix6}
581 | | And  Set up Lisp topology
582 | | ...  | ${dut1} | ${dut1_if2} | ${NONE}
583 | | ...  | ${dut2} | ${dut2_if1} | ${NONE}
584 | | ...  | ${duts_locator_set} | ${dut1_ip6_eid} | ${dut2_ip6_eid}
585 | | ...  | ${dut1_ip6_static_adjacency} | ${dut2_ip6_static_adjacency}
586 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
587 | | ...                                       | ${binary_max} | 3-node-IPv6
588 | | ...                                       | ${min_rate} | ${max_rate}
589 | | ...                                       | ${threshold}
590
591 | tc18-9000B-4t4c-ethip6lispip6-ip6base-pdrdisc
592 | | [Documentation]
593 | | ... | [Cfg] DUT runs IPv6 LISP remote static mappings and whitelist\
594 | | ... | filters config with 4 threads, 4 phy cores, 2 receive queues per NIC\
595 | | ... | port.
596 | | ... | [Ver] Find PDR for 9000 Byte frames using binary search start\
597 | | ... | at 10GE linerate, step 5kpps, LT=0.5%.
598 | | [Tags] | 4T4C | MTHREAD | PDRDISC | SKIP_PATCH
599 | | ${framesize}= | Set Variable | ${9000}
600 | | ${min_rate}= | Set Variable | ${10000}
601 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + 8}
602 | | ${binary_min}= | Set Variable | ${min_rate}
603 | | ${binary_max}= | Set Variable | ${max_rate}
604 | | ${threshold}= | Set Variable | ${min_rate}
605 | | Given Add '4' worker threads and rxqueues '2' in 3-node single-link topo
606 | | And   Add PCI devices to DUTs from 3-node single link topology
607 | | And   Apply startup configuration on all VPP DUTs
608 | | When Lisp IPv6 forwarding initialized in a 3-node circular topology
609 | | ...  | ${dut1_to_dut2_ip6} | ${dut1_to_tg_ip6} | ${dut2_to_dut1_ip6}
610 | | ...  | ${dut2_to_tg_ip6} | ${prefix6}
611 | | And  Set up Lisp topology
612 | | ...  | ${dut1} | ${dut1_if2} | ${NONE}
613 | | ...  | ${dut2} | ${dut2_if1} | ${NONE}
614 | | ...  | ${duts_locator_set} | ${dut1_ip6_eid} | ${dut2_ip6_eid}
615 | | ...  | ${dut1_ip6_static_adjacency} | ${dut2_ip6_static_adjacency}
616 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
617 | | ...                                       | ${binary_max} | 3-node-IPv6
618 | | ...                                       | ${min_rate} | ${max_rate}
619 | | ...                                       | ${threshold}
620 | | ...                                       | ${glob_loss_acceptance}
621 | | ...                                       | ${glob_loss_acceptance_type}