648ffe889d6db71adfcf44483ef4fab1dfbc1c31
[csit.git] / tests / perf / 10ge2p1x520-ethip4-ip4scale-snat-ndrpdrdisc.robot
1 # Copyright (c) 2017 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/snat.robot
17 | Resource | resources/libraries/robot/traffic.robot
18 | ...
19 | Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDRDISC
20 | ... | NIC_Intel-X520-DA2 | ETH | IP4FWD | FEATURE | SNAT | SCALE
21 | ...
22 | Suite Setup | 3-node Performance Suite Setup with DUT's NIC model
23 | ... | L3 | Intel-X520-DA2
24 | Suite Teardown | 3-node Performance Suite Teardown
25 | ...
26 | Test Setup | Performance test setup
27 | ...
28 | Documentation | *SNAT performance test cases*
29 | ...
30 | ... | *High level description*
31 | ...
32 | ... | - NDR and PDR tests
33 | ... | - 3-node topology, TG-DUT1-DUT2-TG, SNAT is enabled between DUTs.
34 | ... | - Cores / threads: 1t1c and 2t2c
35 | ... | - Framesize: 64B, 1518B, IMIX
36 | ... | - Packet: ETH / IP(src, dst) / UDP(src_port, dst_port) / payload
37 | ... | - scale: src: 1 user, 10 users, 100 users, ..., 4000 up to the memory
38 | ... |   limit; 15 ports per user
39 | ...
40 | ... | *Low level description*
41 | ...
42 | ... | *[Top] Network Topologies:* TG-DUT1-DUT2-TG 3-node circular topology
43 | ... | with single links between nodes.
44 | ... | *[Enc] Packet Encapsulations:* Eth-IPv4-UDP for IPv4 routing.
45 | ... | *[Cfg] DUT configuration:* DUT1 and DUT2 are configured with IPv4
46 | ... | routing and two static IPv4 /24 and IPv4/20 route entries. DUT1 and DUT2
47 | ... | tested with 2p10GE NIC X520 Niantic by Intel.
48 | ... | *[Ver] TG verification:* TG finds and reports throughput NDR (Non Drop
49 | ... | Rate) with zero packet loss tolerance or throughput PDR (Partial Drop
50 | ... | Rate) with non-zero packet loss tolerance (LT) expressed in percentage
51 | ... | of packets transmitted. NDR and PDR are discovered for different
52 | ... | Ethernet L2 frame sizes using either binary search or linear search
53 | ... | algorithms with configured starting rate and final step that determines
54 | ... | throughput measurement resolution. Test packets are generated by TG on
55 | ... | links to DUTs. TG traffic profile contains two L3 flow-groups
56 | ... | (flow-group per direction, one flow per flow-group) with all packets
57 | ... | containing Ethernet header, IPv4 header with UDP header and static
58 | ... | payload. MAC addresses are matching MAC addresses of the TG node
59 | ... | interfaces.
60 | ... | *[Ref] Applicable standard specifications:* RFC2544.
61
62 *** Variables ***
63 # X520-DA2 bandwidth limit
64 | ${s_limit} | ${10000000000}
65
66 *** Test Cases ***
67 | tc01-64B-1t1c-ethip4-ip4base-snat-1u-15p-ndrdisc
68 | | [Documentation]
69 | | ... | [Cfg] DUT runs IPv4 routing config with 1 thread, 1 phy core,\
70 | | ... | 1 receive queue per NIC port. SNAT is configured between DUTs -\
71 | | ... | 1 user and 15 ports (sessions) per user.
72 | | ... | [Ver] Find NDR for 64 Byte frames using binary search start at 10GE\
73 | | ... | linerate, step 100kpps.
74 | | ...
75 | | [Teardown] | Run keywords | Performance test teardown | ${min_rate}pps
76 | | ... | ${framesize} | 3-node-IPv4-SNAT-1u-15p
77 | | ... | AND | Show SNAT verbose | ${dut1}
78 | | ... | AND | Show SNAT verbose | ${dut2}
79 | | ...
80 | | [Tags] | 1T1C | STHREAD | NDRDISC
81 | | ...
82 | | ${framesize}= | Set Variable | ${64}
83 | | ${min_rate}= | Set Variable | ${100000}
84 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
85 | | ${binary_min}= | Set Variable | ${min_rate}
86 | | ${binary_max}= | Set Variable | ${max_rate}
87 | | ${threshold}= | Set Variable | ${min_rate}
88 | | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo
89 | | And Add PCI devices to DUTs from 3-node single link topology
90 | | And Add No Multi Seg to all DUTs
91 | | And Add SNAT to all DUTs
92 | | And Apply startup configuration on all VPP DUTs
93 | | When SNAT is initialized in a 3-node circular topology
94 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
95 | | ... | ${binary_max} | 3-node-IPv4-SNAT-1u-15p | ${min_rate} | ${max_rate}
96 | | ... | ${threshold}
97
98 | tc02-64B-1t1c-ethip4-ip4base-snat-1u-15p-pdrdisc
99 | | [Documentation]
100 | | ... | [Cfg] DUT runs IPv4 routing config with 1 thread, 1 phy core,\
101 | | ... | 1 receive queue per NIC port. SNAT is configured between DUTs -\
102 | | ... | 1 user and 15 ports (sessions) per user.
103 | | ... | [Ver] Find PDR for 64 Byte frames using binary search start at 10GE\
104 | | ... | linerate, step 100kpps.
105 | | ...
106 | | [Teardown] | Performance test teardown | ${min_rate}pps | ${framesize}
107 | | ... | 3-node-IPv4-SNAT-1u-15p
108 | | ...
109 | | [Tags] | 1T1C | STHREAD | PDRDISC | SKIP_PATCH
110 | | ...
111 | | ${framesize}= | Set Variable | ${64}
112 | | ${min_rate}= | Set Variable | ${100000}
113 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
114 | | ${binary_min}= | Set Variable | ${min_rate}
115 | | ${binary_max}= | Set Variable | ${max_rate}
116 | | ${threshold}= | Set Variable | ${min_rate}
117 | | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo
118 | | And Add PCI devices to DUTs from 3-node single link topology
119 | | And Add No Multi Seg to all DUTs
120 | | And Add SNAT to all DUTs
121 | | And Apply startup configuration on all VPP DUTs
122 | | When SNAT is initialized in a 3-node circular topology
123 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
124 | | ... | ${binary_max} | 3-node-IPv4-SNAT-1u-15p | ${min_rate} | ${max_rate}
125 | | ... | ${threshold} | ${perf_pdr_loss_acceptance}
126 | | ... | ${perf_pdr_loss_acceptance_type}
127
128 | tc03-64B-1t1c-ethip4-ip4base-snat-10u-15p-ndrdisc
129 | | [Documentation]
130 | | ... | [Cfg] DUT runs IPv4 routing config with 1 thread, 1 phy core,\
131 | | ... | 1 receive queue per NIC port. SNAT is configured between DUTs -\
132 | | ... | 10 users and 15 ports (sessions) per user.
133 | | ... | [Ver] Find NDR for 64 Byte frames using binary search start at 10GE\
134 | | ... | linerate, step 100kpps.
135 | | ...
136 | | [Teardown] | Run keywords | Performance test teardown | ${min_rate}pps
137 | | ... | ${framesize} | 3-node-IPv4-SNAT-10u-15p
138 | | ... | AND | Show SNAT verbose | ${dut1}
139 | | ... | AND | Show SNAT verbose | ${dut2}
140 | | ...
141 | | [Tags] | 1T1C | STHREAD | NDRDISC
142 | | ...
143 | | ${framesize}= | Set Variable | ${64}
144 | | ${min_rate}= | Set Variable | ${100000}
145 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
146 | | ${binary_min}= | Set Variable | ${min_rate}
147 | | ${binary_max}= | Set Variable | ${max_rate}
148 | | ${threshold}= | Set Variable | ${min_rate}
149 | | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo
150 | | And Add PCI devices to DUTs from 3-node single link topology
151 | | And Add No Multi Seg to all DUTs
152 | | And Add SNAT to all DUTs
153 | | And Apply startup configuration on all VPP DUTs
154 | | When SNAT is initialized in a 3-node circular topology
155 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
156 | | ... | ${binary_max} | 3-node-IPv4-SNAT-10u-15p | ${min_rate} | ${max_rate}
157 | | ... | ${threshold}
158
159 | tc04-64B-1t1c-ethip4-ip4base-snat-10u-15p-pdrdisc
160 | | [Documentation]
161 | | ... | [Cfg] DUT runs IPv4 routing config with 1 thread, 1 phy core,\
162 | | ... | 1 receive queue per NIC port. SNAT is configured between DUTs -\
163 | | ... | 10 users and 15 ports (sessions) per user.
164 | | ... | [Ver] Find PDR for 64 Byte frames using binary search start at 10GE\
165 | | ... | linerate, step 100kpps.
166 | | ...
167 | | [Teardown] | Performance test teardown | ${min_rate}pps | ${framesize}
168 | | ... | 3-node-IPv4-SNAT-10u-15p
169 | | ...
170 | | [Tags] | 1T1C | STHREAD | PDRDISC | SKIP_PATCH
171 | | ...
172 | | ${framesize}= | Set Variable | ${64}
173 | | ${min_rate}= | Set Variable | ${100000}
174 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
175 | | ${binary_min}= | Set Variable | ${min_rate}
176 | | ${binary_max}= | Set Variable | ${max_rate}
177 | | ${threshold}= | Set Variable | ${min_rate}
178 | | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo
179 | | And Add PCI devices to DUTs from 3-node single link topology
180 | | And Add No Multi Seg to all DUTs
181 | | And Add SNAT to all DUTs
182 | | And Apply startup configuration on all VPP DUTs
183 | | When SNAT is initialized in a 3-node circular topology
184 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
185 | | ... | ${binary_max} | 3-node-IPv4-SNAT-10u-15p | ${min_rate} | ${max_rate}
186 | | ... | ${threshold} | ${perf_pdr_loss_acceptance}
187 | | ... | ${perf_pdr_loss_acceptance_type}
188
189 | tc05-64B-1t1c-ethip4-ip4base-snat-100u-15p-ndrdisc
190 | | [Documentation]
191 | | ... | [Cfg] DUT runs IPv4 routing config with 1 thread, 1 phy core,\
192 | | ... | 1 receive queue per NIC port. SNAT is configured between DUTs -\
193 | | ... | 100 users and 15 ports (sessions) per user.
194 | | ... | [Ver] Find NDR for 64 Byte frames using binary search start at 10GE\
195 | | ... | linerate, step 100kpps.
196 | | ...
197 | | [Teardown] | Run keywords | Performance test teardown | ${min_rate}pps
198 | | ... | ${framesize} | 3-node-IPv4-SNAT-100u-15p
199 | | ... | AND | Show SNAT verbose | ${dut1}
200 | | ... | AND | Show SNAT verbose | ${dut2}
201 | | ...
202 | | [Tags] | 1T1C | STHREAD | NDRDISC
203 | | ...
204 | | ${framesize}= | Set Variable | ${64}
205 | | ${min_rate}= | Set Variable | ${100000}
206 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
207 | | ${binary_min}= | Set Variable | ${min_rate}
208 | | ${binary_max}= | Set Variable | ${max_rate}
209 | | ${threshold}= | Set Variable | ${min_rate}
210 | | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo
211 | | And Add PCI devices to DUTs from 3-node single link topology
212 | | And Add No Multi Seg to all DUTs
213 | | And Add SNAT to all DUTs
214 | | And Apply startup configuration on all VPP DUTs
215 | | When SNAT is initialized in a 3-node circular topology
216 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
217 | | ... | ${binary_max} | 3-node-IPv4-SNAT-100u-15p | ${min_rate} | ${max_rate}
218 | | ... | ${threshold}
219
220 | tc06-64B-1t1c-ethip4-ip4base-snat-100u-15p-pdrdisc
221 | | [Documentation]
222 | | ... | [Cfg] DUT runs IPv4 routing config with 1 thread, 1 phy core,\
223 | | ... | 1 receive queue per NIC port. SNAT is configured between DUTs -\
224 | | ... | 100 users and 15 ports (sessions) per user.
225 | | ... | [Ver] Find PDR for 64 Byte frames using binary search start at 10GE\
226 | | ... | linerate, step 100kpps.
227 | | ...
228 | | [Teardown] | Performance test teardown | ${min_rate}pps | ${framesize}
229 | | ... | 3-node-IPv4-SNAT-100u-15p
230 | | ...
231 | | [Tags] | 1T1C | STHREAD | PDRDISC | SKIP_PATCH
232 | | ...
233 | | ${framesize}= | Set Variable | ${64}
234 | | ${min_rate}= | Set Variable | ${100000}
235 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
236 | | ${binary_min}= | Set Variable | ${min_rate}
237 | | ${binary_max}= | Set Variable | ${max_rate}
238 | | ${threshold}= | Set Variable | ${min_rate}
239 | | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo
240 | | And Add PCI devices to DUTs from 3-node single link topology
241 | | And Add No Multi Seg to all DUTs
242 | | And Add SNAT to all DUTs
243 | | And Apply startup configuration on all VPP DUTs
244 | | When SNAT is initialized in a 3-node circular topology
245 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
246 | | ... | ${binary_max} | 3-node-IPv4-SNAT-100u-15p | ${min_rate} | ${max_rate}
247 | | ... | ${threshold} | ${perf_pdr_loss_acceptance}
248 | | ... | ${perf_pdr_loss_acceptance_type}
249
250 | tc07-64B-1t1c-ethip4-ip4base-snat-1000u-15p-ndrdisc
251 | | [Documentation]
252 | | ... | [Cfg] DUT runs IPv4 routing config with 1 thread, 1 phy core,\
253 | | ... | 1 receive queue per NIC port. SNAT is configured between DUTs -\
254 | | ... | 1000 users and 15 ports (sessions) per user.
255 | | ... | [Ver] Find NDR for 64 Byte frames using binary search start at 10GE\
256 | | ... | linerate, step 100kpps.
257 | | ...
258 | | [Teardown] | Run keywords | Performance test teardown | ${min_rate}pps
259 | | ... | ${framesize} | 3-node-IPv4-SNAT-1000u-15p
260 | | ... | AND | Show SNAT verbose | ${dut1}
261 | | ... | AND | Show SNAT verbose | ${dut2}
262 | | ...
263 | | [Tags] | 1T1C | STHREAD | NDRDISC
264 | | ...
265 | | ${framesize}= | Set Variable | ${64}
266 | | ${min_rate}= | Set Variable | ${100000}
267 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
268 | | ${binary_min}= | Set Variable | ${min_rate}
269 | | ${binary_max}= | Set Variable | ${max_rate}
270 | | ${threshold}= | Set Variable | ${min_rate}
271 | | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo
272 | | And Add PCI devices to DUTs from 3-node single link topology
273 | | And Add No Multi Seg to all DUTs
274 | | And Add SNAT to all DUTs
275 | | And Apply startup configuration on all VPP DUTs
276 | | When SNAT is initialized in a 3-node circular topology
277 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
278 | | ... | ${binary_max} | 3-node-IPv4-SNAT-1000u-15p | ${min_rate} | ${max_rate}
279 | | ... | ${threshold}
280
281 | tc08-64B-1t1c-ethip4-ip4base-snat-1000u-15p-pdrdisc
282 | | [Documentation]
283 | | ... | [Cfg] DUT runs IPv4 routing config with 1 thread, 1 phy core,\
284 | | ... | 1 receive queue per NIC port. SNAT is configured between DUTs -\
285 | | ... | 1000 users and 15 ports (sessions) per user.
286 | | ... | [Ver] Find PDR for 64 Byte frames using binary search start at 10GE\
287 | | ... | linerate, step 100kpps.
288 | | ...
289 | | [Teardown] | Performance test teardown | ${min_rate}pps | ${framesize}
290 | | ... | 3-node-IPv4-SNAT-1000u-15p
291 | | ...
292 | | [Tags] | 1T1C | STHREAD | PDRDISC | SKIP_PATCH
293 | | ...
294 | | ${framesize}= | Set Variable | ${64}
295 | | ${min_rate}= | Set Variable | ${100000}
296 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
297 | | ${binary_min}= | Set Variable | ${min_rate}
298 | | ${binary_max}= | Set Variable | ${max_rate}
299 | | ${threshold}= | Set Variable | ${min_rate}
300 | | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo
301 | | And Add PCI devices to DUTs from 3-node single link topology
302 | | And Add No Multi Seg to all DUTs
303 | | And Add SNAT to all DUTs
304 | | And Apply startup configuration on all VPP DUTs
305 | | When SNAT is initialized in a 3-node circular topology
306 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
307 | | ... | ${binary_max} | 3-node-IPv4-SNAT-1000u-15p | ${min_rate} | ${max_rate}
308 | | ... | ${threshold} | ${perf_pdr_loss_acceptance}
309 | | ... | ${perf_pdr_loss_acceptance_type}
310
311 | tc09-64B-1t1c-ethip4-ip4base-snat-2000u-15p-ndrdisc
312 | | [Documentation]
313 | | ... | [Cfg] DUT runs IPv4 routing config with 1 thread, 1 phy core,\
314 | | ... | 1 receive queue per NIC port. SNAT is configured between DUTs -\
315 | | ... | 2000 users and 15 ports (sessions) per user.
316 | | ... | [Ver] Find NDR for 64 Byte frames using binary search start at 10GE\
317 | | ... | linerate, step 100kpps.
318 | | ...
319 | | [Teardown] | Run keywords | Performance test teardown | ${min_rate}pps
320 | | ... | ${framesize} | 3-node-IPv4-SNAT-2000u-15p
321 | | ... | AND | Show SNAT verbose | ${dut1}
322 | | ... | AND | Show SNAT verbose | ${dut2}
323 | | ...
324 | | [Tags] | 1T1C | STHREAD | NDRDISC
325 | | ...
326 | | ${framesize}= | Set Variable | ${64}
327 | | ${min_rate}= | Set Variable | ${100000}
328 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
329 | | ${binary_min}= | Set Variable | ${min_rate}
330 | | ${binary_max}= | Set Variable | ${max_rate}
331 | | ${threshold}= | Set Variable | ${min_rate}
332 | | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo
333 | | And Add PCI devices to DUTs from 3-node single link topology
334 | | And Add No Multi Seg to all DUTs
335 | | And Add SNAT to all DUTs
336 | | And Apply startup configuration on all VPP DUTs
337 | | When SNAT is initialized in a 3-node circular topology
338 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
339 | | ... | ${binary_max} | 3-node-IPv4-SNAT-2000u-15p | ${min_rate} | ${max_rate}
340 | | ... | ${threshold}
341
342 | tc10-64B-1t1c-ethip4-ip4base-snat-2000u-15p-pdrdisc
343 | | [Documentation]
344 | | ... | [Cfg] DUT runs IPv4 routing config with 1 thread, 1 phy core,\
345 | | ... | 1 receive queue per NIC port. SNAT is configured between DUTs -\
346 | | ... | 2000 users and 15 ports (sessions) per user.
347 | | ... | [Ver] Find PDR for 64 Byte frames using binary search start at 10GE\
348 | | ... | linerate, step 100kpps.
349 | | ...
350 | | [Teardown] | Performance test teardown | ${min_rate}pps | ${framesize}
351 | | ... | 3-node-IPv4-SNAT-2000u-15p
352 | | ...
353 | | [Tags] | 1T1C | STHREAD | PDRDISC | SKIP_PATCH
354 | | ...
355 | | ${framesize}= | Set Variable | ${64}
356 | | ${min_rate}= | Set Variable | ${100000}
357 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
358 | | ${binary_min}= | Set Variable | ${min_rate}
359 | | ${binary_max}= | Set Variable | ${max_rate}
360 | | ${threshold}= | Set Variable | ${min_rate}
361 | | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo
362 | | And Add PCI devices to DUTs from 3-node single link topology
363 | | And Add No Multi Seg to all DUTs
364 | | And Add SNAT to all DUTs
365 | | And Apply startup configuration on all VPP DUTs
366 | | When SNAT is initialized in a 3-node circular topology
367 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
368 | | ... | ${binary_max} | 3-node-IPv4-SNAT-2000u-15p | ${min_rate} | ${max_rate}
369 | | ... | ${threshold} | ${perf_pdr_loss_acceptance}
370 | | ... | ${perf_pdr_loss_acceptance_type}
371
372 | tc11-64B-1t1c-ethip4-ip4base-snat-4000u-15p-ndrdisc
373 | | [Documentation]
374 | | ... | [Cfg] DUT runs IPv4 routing config with 1 thread, 1 phy core,\
375 | | ... | 1 receive queue per NIC port. SNAT is configured between DUTs -\
376 | | ... | 4000 users and 15 ports (sessions) per user.
377 | | ... | [Ver] Find NDR for 64 Byte frames using binary search start at 10GE\
378 | | ... | linerate, step 100kpps.
379 | | ...
380 | | [Teardown] | Run keywords | Performance test teardown | ${min_rate}pps
381 | | ... | ${framesize} | 3-node-IPv4-SNAT-4000u-15p
382 | | ... | AND | Show SNAT verbose | ${dut1}
383 | | ... | AND | Show SNAT verbose | ${dut2}
384 | | ...
385 | | [Tags] | 1T1C | STHREAD | NDRDISC
386 | | ...
387 | | ${framesize}= | Set Variable | ${64}
388 | | ${min_rate}= | Set Variable | ${100000}
389 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
390 | | ${binary_min}= | Set Variable | ${min_rate}
391 | | ${binary_max}= | Set Variable | ${max_rate}
392 | | ${threshold}= | Set Variable | ${min_rate}
393 | | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo
394 | | And Add PCI devices to DUTs from 3-node single link topology
395 | | And Add No Multi Seg to all DUTs
396 | | And Add SNAT to all DUTs
397 | | And Apply startup configuration on all VPP DUTs
398 | | When SNAT is initialized in a 3-node circular topology
399 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
400 | | ... | ${binary_max} | 3-node-IPv4-SNAT-4000u-15p | ${min_rate} | ${max_rate}
401 | | ... | ${threshold}
402
403 | tc12-64B-1t1c-ethip4-ip4base-snat-4000u-15p-pdrdisc
404 | | [Documentation]
405 | | ... | [Cfg] DUT runs IPv4 routing config with 1 thread, 1 phy core,\
406 | | ... | 1 receive queue per NIC port. SNAT is configured between DUTs -\
407 | | ... | 4000 users and 15 ports (sessions) per user.
408 | | ... | [Ver] Find PDR for 64 Byte frames using binary search start at 10GE\
409 | | ... | linerate, step 100kpps.
410 | | ...
411 | | [Teardown] | Performance test teardown | ${min_rate}pps | ${framesize}
412 | | ... | 3-node-IPv4-SNAT-4000u-15p
413 | | ...
414 | | [Tags] | 1T1C | STHREAD | PDRDISC | SKIP_PATCH
415 | | ...
416 | | ${framesize}= | Set Variable | ${64}
417 | | ${min_rate}= | Set Variable | ${100000}
418 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
419 | | ${binary_min}= | Set Variable | ${min_rate}
420 | | ${binary_max}= | Set Variable | ${max_rate}
421 | | ${threshold}= | Set Variable | ${min_rate}
422 | | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo
423 | | And Add PCI devices to DUTs from 3-node single link topology
424 | | And Add No Multi Seg to all DUTs
425 | | And Add SNAT to all DUTs
426 | | And Apply startup configuration on all VPP DUTs
427 | | When SNAT is initialized in a 3-node circular topology
428 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
429 | | ... | ${binary_max} | 3-node-IPv4-SNAT-4000u-15p | ${min_rate} | ${max_rate}
430 | | ... | ${threshold} | ${perf_pdr_loss_acceptance}
431 | | ... | ${perf_pdr_loss_acceptance_type}
432
433 | tc13-1518B-1t1c-ethip4-ip4base-snat-1u-15p-ndrdisc
434 | | [Documentation]
435 | | ... | [Cfg] DUT runs IPv4 routing config with 1 thread, 1 phy core,\
436 | | ... | 1 receive queue per NIC port. SNAT is configured between DUTs -\
437 | | ... | 1 user and 15 ports (sessions) per user.
438 | | ... | [Ver] Find NDR for 1518 Byte frames using binary search start at 10GE\
439 | | ... | linerate, step 100kpps.
440 | | ...
441 | | [Teardown] | Run keywords | Performance test teardown | ${min_rate}pps
442 | | ... | ${framesize} | 3-node-IPv4-SNAT-1u-15p
443 | | ... | AND | Show SNAT verbose | ${dut1}
444 | | ... | AND | Show SNAT verbose | ${dut2}
445 | | ...
446 | | [Tags] | 1T1C | STHREAD | NDRDISC
447 | | ...
448 | | ${framesize}= | Set Variable | ${1518}
449 | | ${min_rate}= | Set Variable | ${100000}
450 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
451 | | ${binary_min}= | Set Variable | ${min_rate}
452 | | ${binary_max}= | Set Variable | ${max_rate}
453 | | ${threshold}= | Set Variable | ${min_rate}
454 | | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo
455 | | And Add PCI devices to DUTs from 3-node single link topology
456 | | And Add No Multi Seg to all DUTs
457 | | And Add SNAT to all DUTs
458 | | And Apply startup configuration on all VPP DUTs
459 | | When SNAT is initialized in a 3-node circular topology
460 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
461 | | ... | ${binary_max} | 3-node-IPv4-SNAT-1u-15p | ${min_rate} | ${max_rate}
462 | | ... | ${threshold}
463
464 | tc14-1518B-1t1c-ethip4-ip4base-snat-1u-15p-pdrdisc
465 | | [Documentation]
466 | | ... | [Cfg] DUT runs IPv4 routing config with 1 thread, 1 phy core,\
467 | | ... | 1 receive queue per NIC port. SNAT is configured between DUTs -\
468 | | ... | 1 user and 15 ports (sessions) per user.
469 | | ... | [Ver] Find PDR for 1518 Byte frames using binary search start at 10GE\
470 | | ... | linerate, step 100kpps.
471 | | ...
472 | | [Teardown] | Performance test teardown | ${min_rate}pps | ${framesize}
473 | | ... | 3-node-IPv4-SNAT-1u-15p
474 | | ...
475 | | [Tags] | 1T1C | STHREAD | PDRDISC | SKIP_PATCH
476 | | ...
477 | | ${framesize}= | Set Variable | ${1518}
478 | | ${min_rate}= | Set Variable | ${100000}
479 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
480 | | ${binary_min}= | Set Variable | ${min_rate}
481 | | ${binary_max}= | Set Variable | ${max_rate}
482 | | ${threshold}= | Set Variable | ${min_rate}
483 | | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo
484 | | And Add PCI devices to DUTs from 3-node single link topology
485 | | And Add No Multi Seg to all DUTs
486 | | And Add SNAT to all DUTs
487 | | And Apply startup configuration on all VPP DUTs
488 | | When SNAT is initialized in a 3-node circular topology
489 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
490 | | ... | ${binary_max} | 3-node-IPv4-SNAT-1u-15p | ${min_rate} | ${max_rate}
491 | | ... | ${threshold} | ${perf_pdr_loss_acceptance}
492 | | ... | ${perf_pdr_loss_acceptance_type}
493
494 | tc15-1518B-1t1c-ethip4-ip4base-snat-10u-15p-ndrdisc
495 | | [Documentation]
496 | | ... | [Cfg] DUT runs IPv4 routing config with 1 thread, 1 phy core,\
497 | | ... | 1 receive queue per NIC port. SNAT is configured between DUTs -\
498 | | ... | 10 users and 15 ports (sessions) per user.
499 | | ... | [Ver] Find NDR for 1518 Byte frames using binary search start at 10GE\
500 | | ... | linerate, step 100kpps.
501 | | ...
502 | | [Teardown] | Run keywords | Performance test teardown | ${min_rate}pps
503 | | ... | ${framesize} | 3-node-IPv4-SNAT-10u-15p
504 | | ... | AND | Show SNAT verbose | ${dut1}
505 | | ... | AND | Show SNAT verbose | ${dut2}
506 | | ...
507 | | [Tags] | 1T1C | STHREAD | NDRDISC
508 | | ...
509 | | ${framesize}= | Set Variable | ${1518}
510 | | ${min_rate}= | Set Variable | ${100000}
511 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
512 | | ${binary_min}= | Set Variable | ${min_rate}
513 | | ${binary_max}= | Set Variable | ${max_rate}
514 | | ${threshold}= | Set Variable | ${min_rate}
515 | | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo
516 | | And Add PCI devices to DUTs from 3-node single link topology
517 | | And Add No Multi Seg to all DUTs
518 | | And Add SNAT to all DUTs
519 | | And Apply startup configuration on all VPP DUTs
520 | | When SNAT is initialized in a 3-node circular topology
521 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
522 | | ... | ${binary_max} | 3-node-IPv4-SNAT-10u-15p | ${min_rate} | ${max_rate}
523 | | ... | ${threshold}
524
525 | tc16-1518B-1t1c-ethip4-ip4base-snat-10u-15p-pdrdisc
526 | | [Documentation]
527 | | ... | [Cfg] DUT runs IPv4 routing config with 1 thread, 1 phy core,\
528 | | ... | 1 receive queue per NIC port. SNAT is configured between DUTs -\
529 | | ... | 10 users and 15 ports (sessions) per user.
530 | | ... | [Ver] Find PDR for 1518 Byte frames using binary search start at 10GE\
531 | | ... | linerate, step 100kpps.
532 | | ...
533 | | [Teardown] | Performance test teardown | ${min_rate}pps | ${framesize}
534 | | ... | 3-node-IPv4-SNAT-10u-15p
535 | | ...
536 | | [Tags] | 1T1C | STHREAD | PDRDISC | SKIP_PATCH
537 | | ...
538 | | ${framesize}= | Set Variable | ${1518}
539 | | ${min_rate}= | Set Variable | ${100000}
540 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
541 | | ${binary_min}= | Set Variable | ${min_rate}
542 | | ${binary_max}= | Set Variable | ${max_rate}
543 | | ${threshold}= | Set Variable | ${min_rate}
544 | | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo
545 | | And Add PCI devices to DUTs from 3-node single link topology
546 | | And Add No Multi Seg to all DUTs
547 | | And Add SNAT to all DUTs
548 | | And Apply startup configuration on all VPP DUTs
549 | | When SNAT is initialized in a 3-node circular topology
550 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
551 | | ... | ${binary_max} | 3-node-IPv4-SNAT-10u-15p | ${min_rate} | ${max_rate}
552 | | ... | ${threshold} | ${perf_pdr_loss_acceptance}
553 | | ... | ${perf_pdr_loss_acceptance_type}
554
555 | tc17-1518B-1t1c-ethip4-ip4base-snat-100u-15p-ndrdisc
556 | | [Documentation]
557 | | ... | [Cfg] DUT runs IPv4 routing config with 1 thread, 1 phy core,\
558 | | ... | 1 receive queue per NIC port. SNAT is configured between DUTs -\
559 | | ... | 100 users and 15 ports (sessions) per user.
560 | | ... | [Ver] Find NDR for 1518 Byte frames using binary search start at 10GE\
561 | | ... | linerate, step 100kpps.
562 | | ...
563 | | [Teardown] | Run keywords | Performance test teardown | ${min_rate}pps
564 | | ... | ${framesize} | 3-node-IPv4-SNAT-100u-15p
565 | | ... | AND | Show SNAT verbose | ${dut1}
566 | | ... | AND | Show SNAT verbose | ${dut2}
567 | | ...
568 | | [Tags] | 1T1C | STHREAD | NDRDISC
569 | | ...
570 | | ${framesize}= | Set Variable | ${1518}
571 | | ${min_rate}= | Set Variable | ${100000}
572 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
573 | | ${binary_min}= | Set Variable | ${min_rate}
574 | | ${binary_max}= | Set Variable | ${max_rate}
575 | | ${threshold}= | Set Variable | ${min_rate}
576 | | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo
577 | | And Add PCI devices to DUTs from 3-node single link topology
578 | | And Add No Multi Seg to all DUTs
579 | | And Add SNAT to all DUTs
580 | | And Apply startup configuration on all VPP DUTs
581 | | When SNAT is initialized in a 3-node circular topology
582 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
583 | | ... | ${binary_max} | 3-node-IPv4-SNAT-100u-15p | ${min_rate} | ${max_rate}
584 | | ... | ${threshold}
585
586 | tc18-1518B-1t1c-ethip4-ip4base-snat-100u-15p-pdrdisc
587 | | [Documentation]
588 | | ... | [Cfg] DUT runs IPv4 routing config with 1 thread, 1 phy core,\
589 | | ... | 1 receive queue per NIC port. SNAT is configured between DUTs -\
590 | | ... | 100 users and 15 ports (sessions) per user.
591 | | ... | [Ver] Find PDR for 1518 Byte frames using binary search start at 10GE\
592 | | ... | linerate, step 100kpps.
593 | | ...
594 | | [Teardown] | Performance test teardown | ${min_rate}pps | ${framesize}
595 | | ... | 3-node-IPv4-SNAT-100u-15p
596 | | ...
597 | | [Tags] | 1T1C | STHREAD | PDRDISC | SKIP_PATCH
598 | | ...
599 | | ${framesize}= | Set Variable | ${1518}
600 | | ${min_rate}= | Set Variable | ${100000}
601 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
602 | | ${binary_min}= | Set Variable | ${min_rate}
603 | | ${binary_max}= | Set Variable | ${max_rate}
604 | | ${threshold}= | Set Variable | ${min_rate}
605 | | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo
606 | | And Add PCI devices to DUTs from 3-node single link topology
607 | | And Add No Multi Seg to all DUTs
608 | | And Add SNAT to all DUTs
609 | | And Apply startup configuration on all VPP DUTs
610 | | When SNAT is initialized in a 3-node circular topology
611 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
612 | | ... | ${binary_max} | 3-node-IPv4-SNAT-100u-15p | ${min_rate} | ${max_rate}
613 | | ... | ${threshold} | ${perf_pdr_loss_acceptance}
614 | | ... | ${perf_pdr_loss_acceptance_type}
615
616 | tc19-1518B-1t1c-ethip4-ip4base-snat-1000u-15p-ndrdisc
617 | | [Documentation]
618 | | ... | [Cfg] DUT runs IPv4 routing config with 1 thread, 1 phy core,\
619 | | ... | 1 receive queue per NIC port. SNAT is configured between DUTs -\
620 | | ... | 1000 users and 15 ports (sessions) per user.
621 | | ... | [Ver] Find NDR for 1518 Byte frames using binary search start at 10GE\
622 | | ... | linerate, step 100kpps.
623 | | ...
624 | | [Teardown] | Run keywords | Performance test teardown | ${min_rate}pps
625 | | ... | ${framesize} | 3-node-IPv4-SNAT-1000u-15p
626 | | ... | AND | Show SNAT verbose | ${dut1}
627 | | ... | AND | Show SNAT verbose | ${dut2}
628 | | ...
629 | | [Tags] | 1T1C | STHREAD | NDRDISC
630 | | ...
631 | | ${framesize}= | Set Variable | ${1518}
632 | | ${min_rate}= | Set Variable | ${100000}
633 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
634 | | ${binary_min}= | Set Variable | ${min_rate}
635 | | ${binary_max}= | Set Variable | ${max_rate}
636 | | ${threshold}= | Set Variable | ${min_rate}
637 | | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo
638 | | And Add PCI devices to DUTs from 3-node single link topology
639 | | And Add No Multi Seg to all DUTs
640 | | And Add SNAT to all DUTs
641 | | And Apply startup configuration on all VPP DUTs
642 | | When SNAT is initialized in a 3-node circular topology
643 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
644 | | ... | ${binary_max} | 3-node-IPv4-SNAT-1000u-15p | ${min_rate} | ${max_rate}
645 | | ... | ${threshold}
646
647 | tc20-1518B-1t1c-ethip4-ip4base-snat-1000u-15p-pdrdisc
648 | | [Documentation]
649 | | ... | [Cfg] DUT runs IPv4 routing config with 1 thread, 1 phy core,\
650 | | ... | 1 receive queue per NIC port. SNAT is configured between DUTs -\
651 | | ... | 1000 users and 15 ports (sessions) per user.
652 | | ... | [Ver] Find PDR for 1518 Byte frames using binary search start at 10GE\
653 | | ... | linerate, step 100kpps.
654 | | ...
655 | | [Teardown] | Performance test teardown | ${min_rate}pps | ${framesize}
656 | | ... | 3-node-IPv4-SNAT-1000u-15p
657 | | ...
658 | | [Tags] | 1T1C | STHREAD | PDRDISC | SKIP_PATCH
659 | | ...
660 | | ${framesize}= | Set Variable | ${1518}
661 | | ${min_rate}= | Set Variable | ${100000}
662 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
663 | | ${binary_min}= | Set Variable | ${min_rate}
664 | | ${binary_max}= | Set Variable | ${max_rate}
665 | | ${threshold}= | Set Variable | ${min_rate}
666 | | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo
667 | | And Add PCI devices to DUTs from 3-node single link topology
668 | | And Add No Multi Seg to all DUTs
669 | | And Add SNAT to all DUTs
670 | | And Apply startup configuration on all VPP DUTs
671 | | When SNAT is initialized in a 3-node circular topology
672 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
673 | | ... | ${binary_max} | 3-node-IPv4-SNAT-1000u-15p | ${min_rate} | ${max_rate}
674 | | ... | ${threshold} | ${perf_pdr_loss_acceptance}
675 | | ... | ${perf_pdr_loss_acceptance_type}
676
677 | tc21-IMIX-1t1c-ethip4-ip4base-snat-1u-15p-ndrdisc
678 | | [Documentation]
679 | | ... | [Cfg] DUT runs IPv4 routing config with 1 thread, 1 phy core,\
680 | | ... | 1 receive queue per NIC port. SNAT is configured between DUTs -\
681 | | ... | 1 user and 15 ports (sessions) per user.
682 | | ... | [Ver] Find NDR for IMIX frames using binary search start at 10GE\
683 | | ... | linerate, step 100kpps.
684 | | ...
685 | | [Teardown] | Run keywords | Performance test teardown | ${min_rate}pps
686 | | ... | ${framesize} | 3-node-IPv4-SNAT-1u-15p
687 | | ... | AND | Show SNAT verbose | ${dut1}
688 | | ... | AND | Show SNAT verbose | ${dut2}
689 | | ...
690 | | [Tags] | 1T1C | STHREAD | NDRDISC
691 | | ...
692 | | ${framesize}= | Set Variable | IMIX_v4_1
693 | | ${min_rate}= | Set Variable | ${100000}
694 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
695 | | ${binary_min}= | Set Variable | ${min_rate}
696 | | ${binary_max}= | Set Variable | ${max_rate}
697 | | ${threshold}= | Set Variable | ${min_rate}
698 | | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo
699 | | And Add PCI devices to DUTs from 3-node single link topology
700 | | And Add No Multi Seg to all DUTs
701 | | And Add SNAT to all DUTs
702 | | And Apply startup configuration on all VPP DUTs
703 | | When SNAT is initialized in a 3-node circular topology
704 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
705 | | ... | ${binary_max} | 3-node-IPv4-SNAT-1u-15p | ${min_rate} | ${max_rate}
706 | | ... | ${threshold}
707
708 | tc22-IMIX-1t1c-ethip4-ip4base-snat-1u-15p-pdrdisc
709 | | [Documentation]
710 | | ... | [Cfg] DUT runs IPv4 routing config with 1 thread, 1 phy core,\
711 | | ... | 1 receive queue per NIC port. SNAT is configured between DUTs -\
712 | | ... | 1 user and 15 ports (sessions) per user.
713 | | ... | [Ver] Find PDR for IMIX frames using binary search start at 10GE\
714 | | ... | linerate, step 100kpps.
715 | | ...
716 | | [Teardown] | Performance test teardown | ${min_rate}pps | ${framesize}
717 | | ... | 3-node-IPv4-SNAT-1u-15p
718 | | ...
719 | | [Tags] | 1T1C | STHREAD | PDRDISC | SKIP_PATCH
720 | | ...
721 | | ${framesize}= | Set Variable | IMIX_v4_1
722 | | ${min_rate}= | Set Variable | ${100000}
723 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
724 | | ${binary_min}= | Set Variable | ${min_rate}
725 | | ${binary_max}= | Set Variable | ${max_rate}
726 | | ${threshold}= | Set Variable | ${min_rate}
727 | | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo
728 | | And Add PCI devices to DUTs from 3-node single link topology
729 | | And Add No Multi Seg to all DUTs
730 | | And Add SNAT to all DUTs
731 | | And Apply startup configuration on all VPP DUTs
732 | | When SNAT is initialized in a 3-node circular topology
733 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
734 | | ... | ${binary_max} | 3-node-IPv4-SNAT-1u-15p | ${min_rate} | ${max_rate}
735 | | ... | ${threshold} | ${perf_pdr_loss_acceptance}
736 | | ... | ${perf_pdr_loss_acceptance_type}
737
738 | tc23-IMIX-1t1c-ethip4-ip4base-snat-10u-15p-ndrdisc
739 | | [Documentation]
740 | | ... | [Cfg] DUT runs IPv4 routing config with 1 thread, 1 phy core,\
741 | | ... | 1 receive queue per NIC port. SNAT is configured between DUTs -\
742 | | ... | 10 users and 15 ports (sessions) per user.
743 | | ... | [Ver] Find NDR for IMIX frames using binary search start at 10GE\
744 | | ... | linerate, step 100kpps.
745 | | ...
746 | | [Teardown] | Run keywords | Performance test teardown | ${min_rate}pps
747 | | ... | ${framesize} | 3-node-IPv4-SNAT-10u-15p
748 | | ... | AND | Show SNAT verbose | ${dut1}
749 | | ... | AND | Show SNAT verbose | ${dut2}
750 | | ...
751 | | [Tags] | 1T1C | STHREAD | NDRDISC
752 | | ...
753 | | ${framesize}= | Set Variable | IMIX_v4_1
754 | | ${min_rate}= | Set Variable | ${100000}
755 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
756 | | ${binary_min}= | Set Variable | ${min_rate}
757 | | ${binary_max}= | Set Variable | ${max_rate}
758 | | ${threshold}= | Set Variable | ${min_rate}
759 | | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo
760 | | And Add PCI devices to DUTs from 3-node single link topology
761 | | And Add No Multi Seg to all DUTs
762 | | And Add SNAT to all DUTs
763 | | And Apply startup configuration on all VPP DUTs
764 | | When SNAT is initialized in a 3-node circular topology
765 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
766 | | ... | ${binary_max} | 3-node-IPv4-SNAT-10u-15p | ${min_rate} | ${max_rate}
767 | | ... | ${threshold}
768
769 | tc24-IMIX-1t1c-ethip4-ip4base-snat-10u-15p-pdrdisc
770 | | [Documentation]
771 | | ... | [Cfg] DUT runs IPv4 routing config with 1 thread, 1 phy core,\
772 | | ... | 1 receive queue per NIC port. SNAT is configured between DUTs -\
773 | | ... | 10 users and 15 ports (sessions) per user.
774 | | ... | [Ver] Find PDR for IMIX frames using binary search start at 10GE\
775 | | ... | linerate, step 100kpps.
776 | | ...
777 | | [Teardown] | Performance test teardown | ${min_rate}pps | ${framesize}
778 | | ... | 3-node-IPv4-SNAT-10u-15p
779 | | ...
780 | | [Tags] | 1T1C | STHREAD | PDRDISC | SKIP_PATCH
781 | | ...
782 | | ${framesize}= | Set Variable | IMIX_v4_1
783 | | ${min_rate}= | Set Variable | ${100000}
784 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
785 | | ${binary_min}= | Set Variable | ${min_rate}
786 | | ${binary_max}= | Set Variable | ${max_rate}
787 | | ${threshold}= | Set Variable | ${min_rate}
788 | | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo
789 | | And Add PCI devices to DUTs from 3-node single link topology
790 | | And Add No Multi Seg to all DUTs
791 | | And Add SNAT to all DUTs
792 | | And Apply startup configuration on all VPP DUTs
793 | | When SNAT is initialized in a 3-node circular topology
794 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
795 | | ... | ${binary_max} | 3-node-IPv4-SNAT-10u-15p | ${min_rate} | ${max_rate}
796 | | ... | ${threshold} | ${perf_pdr_loss_acceptance}
797 | | ... | ${perf_pdr_loss_acceptance_type}
798
799 | tc25-IMIX-1t1c-ethip4-ip4base-snat-100u-15p-ndrdisc
800 | | [Documentation]
801 | | ... | [Cfg] DUT runs IPv4 routing config with 1 thread, 1 phy core,\
802 | | ... | 1 receive queue per NIC port. SNAT is configured between DUTs -\
803 | | ... | 100 users and 15 ports (sessions) per user.
804 | | ... | [Ver] Find NDR for IMIX frames using binary search start at 10GE\
805 | | ... | linerate, step 100kpps.
806 | | ...
807 | | [Teardown] | Run keywords | Performance test teardown | ${min_rate}pps
808 | | ... | ${framesize} | 3-node-IPv4-SNAT-100u-15p
809 | | ... | AND | Show SNAT verbose | ${dut1}
810 | | ... | AND | Show SNAT verbose | ${dut2}
811 | | ...
812 | | [Tags] | 1T1C | STHREAD | NDRDISC
813 | | ...
814 | | ${framesize}= | Set Variable | IMIX_v4_1
815 | | ${min_rate}= | Set Variable | ${100000}
816 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
817 | | ${binary_min}= | Set Variable | ${min_rate}
818 | | ${binary_max}= | Set Variable | ${max_rate}
819 | | ${threshold}= | Set Variable | ${min_rate}
820 | | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo
821 | | And Add PCI devices to DUTs from 3-node single link topology
822 | | And Add No Multi Seg to all DUTs
823 | | And Add SNAT to all DUTs
824 | | And Apply startup configuration on all VPP DUTs
825 | | When SNAT is initialized in a 3-node circular topology
826 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
827 | | ... | ${binary_max} | 3-node-IPv4-SNAT-100u-15p | ${min_rate} | ${max_rate}
828 | | ... | ${threshold}
829
830 | tc26-IMIX-1t1c-ethip4-ip4base-snat-100u-15p-pdrdisc
831 | | [Documentation]
832 | | ... | [Cfg] DUT runs IPv4 routing config with 1 thread, 1 phy core,\
833 | | ... | 1 receive queue per NIC port. SNAT is configured between DUTs -\
834 | | ... | 100 users and 15 ports (sessions) per user.
835 | | ... | [Ver] Find PDR for IMIX frames using binary search start at 10GE\
836 | | ... | linerate, step 100kpps.
837 | | ...
838 | | [Teardown] | Performance test teardown | ${min_rate}pps | ${framesize}
839 | | ... | 3-node-IPv4-SNAT-100u-15p
840 | | ...
841 | | [Tags] | 1T1C | STHREAD | PDRDISC | SKIP_PATCH
842 | | ...
843 | | ${framesize}= | Set Variable | IMIX_v4_1
844 | | ${min_rate}= | Set Variable | ${100000}
845 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
846 | | ${binary_min}= | Set Variable | ${min_rate}
847 | | ${binary_max}= | Set Variable | ${max_rate}
848 | | ${threshold}= | Set Variable | ${min_rate}
849 | | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo
850 | | And Add PCI devices to DUTs from 3-node single link topology
851 | | And Add No Multi Seg to all DUTs
852 | | And Add SNAT to all DUTs
853 | | And Apply startup configuration on all VPP DUTs
854 | | When SNAT is initialized in a 3-node circular topology
855 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
856 | | ... | ${binary_max} | 3-node-IPv4-SNAT-100u-15p | ${min_rate} | ${max_rate}
857 | | ... | ${threshold} | ${perf_pdr_loss_acceptance}
858 | | ... | ${perf_pdr_loss_acceptance_type}
859
860 | tc27-IMIX-1t1c-ethip4-ip4base-snat-1000u-15p-ndrdisc
861 | | [Documentation]
862 | | ... | [Cfg] DUT runs IPv4 routing config with 1 thread, 1 phy core,\
863 | | ... | 1 receive queue per NIC port. SNAT is configured between DUTs -\
864 | | ... | 1000 users and 15 ports (sessions) per user.
865 | | ... | [Ver] Find NDR for IMIX frames using binary search start at 10GE\
866 | | ... | linerate, step 100kpps.
867 | | ...
868 | | [Teardown] | Run keywords | Performance test teardown | ${min_rate}pps
869 | | ... | ${framesize} | 3-node-IPv4-SNAT-1000u-15p
870 | | ... | AND | Show SNAT verbose | ${dut1}
871 | | ... | AND | Show SNAT verbose | ${dut2}
872 | | ...
873 | | [Tags] | 1T1C | STHREAD | NDRDISC
874 | | ...
875 | | ${framesize}= | Set Variable | IMIX_v4_1
876 | | ${min_rate}= | Set Variable | ${100000}
877 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
878 | | ${binary_min}= | Set Variable | ${min_rate}
879 | | ${binary_max}= | Set Variable | ${max_rate}
880 | | ${threshold}= | Set Variable | ${min_rate}
881 | | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo
882 | | And Add PCI devices to DUTs from 3-node single link topology
883 | | And Add No Multi Seg to all DUTs
884 | | And Add SNAT to all DUTs
885 | | And Apply startup configuration on all VPP DUTs
886 | | When SNAT is initialized in a 3-node circular topology
887 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
888 | | ... | ${binary_max} | 3-node-IPv4-SNAT-1000u-15p | ${min_rate} | ${max_rate}
889 | | ... | ${threshold}
890
891 | tc28-IMIX-1t1c-ethip4-ip4base-snat-1000u-15p-pdrdisc
892 | | [Documentation]
893 | | ... | [Cfg] DUT runs IPv4 routing config with 1 thread, 1 phy core,\
894 | | ... | 1 receive queue per NIC port. SNAT is configured between DUTs -\
895 | | ... | 1000 users and 15 ports (sessions) per user.
896 | | ... | [Ver] Find PDR for IMIX frames using binary search start at 10GE\
897 | | ... | linerate, step 100kpps.
898 | | ...
899 | | [Teardown] | Performance test teardown | ${min_rate}pps | ${framesize}
900 | | ... | 3-node-IPv4-SNAT-1000u-15p
901 | | ...
902 | | [Tags] | 1T1C | STHREAD | PDRDISC | SKIP_PATCH
903 | | ...
904 | | ${framesize}= | Set Variable | IMIX_v4_1
905 | | ${min_rate}= | Set Variable | ${100000}
906 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
907 | | ${binary_min}= | Set Variable | ${min_rate}
908 | | ${binary_max}= | Set Variable | ${max_rate}
909 | | ${threshold}= | Set Variable | ${min_rate}
910 | | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo
911 | | And Add PCI devices to DUTs from 3-node single link topology
912 | | And Add No Multi Seg to all DUTs
913 | | And Add SNAT to all DUTs
914 | | And Apply startup configuration on all VPP DUTs
915 | | When SNAT is initialized in a 3-node circular topology
916 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
917 | | ... | ${binary_max} | 3-node-IPv4-SNAT-1000u-15p | ${min_rate} | ${max_rate}
918 | | ... | ${threshold} | ${perf_pdr_loss_acceptance}
919 | | ... | ${perf_pdr_loss_acceptance_type}