Refactor perf test cases
[csit.git] / tests / vpp / perf / ip6_tunnels / 10ge2p1x520-ethip6lispip4-ip6base-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/performance_setup.robot
16 | Resource | resources/libraries/robot/overlay/lisp_static_adjacency.robot
17 | Variables | resources/test_data/lisp/performance/lisp_static_adjacency.py
18 | ...
19 | Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDRDISC
20 | ... | NIC_Intel-X520-DA2 | IP6FWD | ENCAP | LISP | IP4UNRLAY | IP6OVRLAY
21 | ...
22 | Suite Setup | Set up 3-node performance topology with DUT's NIC model
23 | ... | L3 | Intel-X520-DA2
24 | Suite Teardown | Tear down 3-node performance topology
25 | ...
26 | Test Setup | Set up performance test
27 | ...
28 | Test Teardown | Tear down performance discovery test | ${min_rate}pps
29 | ... | ${framesize} | ${traffic_profile}
30 | ...
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-IPv4 on DUT1-DUT2,\
36 | ... | Eth-IPv6 on TG-DUTn for IPv6 routing over LISPoIPv4 tunnel.
37 | ... | *[Cfg] DUT configuration:* DUT1 and DUT2 are configured with IPv6\
38 | ... | routing and static routes. LISPoIPv4 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 # Traffic profile:
52 | ${traffic_profile} | trex-sl-3n-ethip6-ip6src253
53
54 *** Test Cases ***
55 | tc01-78B-1t1c-ethip6lispip4-ip6base-ndrdisc
56 | | [Documentation]
57 | | ... | [Cfg] DUT runs IPv6 LISP remote static mappings and whitelist\
58 | | ... | filters config with 1 phy core, 1 receive queue per NIC\
59 | | ... | port.
60 | | ... | [Ver] Find NDR for 78 Byte frames using binary search start\
61 | | ... | at 10GE linerate, step 50kpps.
62 | | [Tags] | 78B | 1C | NDRDISC
63 | | ${framesize}= | Set Variable | ${78}
64 | | ${min_rate}= | Set Variable | ${50000}
65 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + 48}
66 | | ${binary_min}= | Set Variable | ${min_rate}
67 | | ${binary_max}= | Set Variable | ${max_rate}
68 | | ${threshold}= | Set Variable | ${min_rate}
69 | | Given Add worker threads and rxqueues to all DUTs | 1
70 | | And Add PCI devices to all DUTs
71 | | And Add no multi seg to all DUTs
72 | | And Apply startup configuration on all VPP DUTs
73 | | When Initialize LISP IPv6 over IPv4 forwarding in 3-node circular topology
74 | | ... | ${dut1_to_dut2_ip6o4} | ${dut1_to_tg_ip6o4} | ${dut2_to_dut1_ip6o4}
75 | | ... | ${dut2_to_tg_ip6o4} | ${tg_prefix6o4} | ${dut_prefix6o4}
76 | | And Configure LISP topology in 3-node circular topology
77 | | ... | ${dut1} | ${dut1_if2} | ${NONE}
78 | | ... | ${dut2} | ${dut2_if1} | ${NONE}
79 | | ... | ${duts_locator_set} | ${dut1_ip6o4_eid} | ${dut2_ip6o4_eid}
80 | | ... | ${dut1_ip6o4_static_adjacency} | ${dut2_ip6o4_static_adjacency}
81 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
82 | | ... | ${binary_max} | ${traffic_profile}
83 | | ... | ${min_rate} | ${max_rate} | ${threshold}
84
85 | tc02-78B-1t1c-ethip6lispip4-ip6base-pdrdisc
86 | | [Documentation]
87 | | ... | [Cfg] DUT runs IPv6 LISP remote static mappings and whitelist\
88 | | ... | filters config with 1 phy core, 1 receive queue per NIC\
89 | | ... | port.
90 | | ... | [Ver] Find PDR for 78 Byte frames using binary search start\
91 | | ... | at 10GE linerate, step 50kpps, LT=0.5%.
92 | | [Tags] | 78B | 1C | PDRDISC | SKIP_PATCH
93 | | ${framesize}= | Set Variable | ${78}
94 | | ${min_rate}= | Set Variable | ${50000}
95 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + 48}
96 | | ${binary_min}= | Set Variable | ${min_rate}
97 | | ${binary_max}= | Set Variable | ${max_rate}
98 | | ${threshold}= | Set Variable | ${min_rate}
99 | | Given Add worker threads and rxqueues to all DUTs | 1
100 | | And Add PCI devices to all DUTs
101 | | And Add no multi seg to all DUTs
102 | | And Apply startup configuration on all VPP DUTs
103 | | When Initialize LISP IPv6 over IPv4 forwarding in 3-node circular topology
104 | | ... | ${dut1_to_dut2_ip6o4} | ${dut1_to_tg_ip6o4} | ${dut2_to_dut1_ip6o4}
105 | | ... | ${dut2_to_tg_ip6o4} | ${tg_prefix6o4} | ${dut_prefix6o4}
106 | | And Configure LISP topology in 3-node circular topology
107 | | ... | ${dut1} | ${dut1_if2} | ${NONE}
108 | | ... | ${dut2} | ${dut2_if1} | ${NONE}
109 | | ... | ${duts_locator_set} | ${dut1_ip6o4_eid} | ${dut2_ip6o4_eid}
110 | | ... | ${dut1_ip6o4_static_adjacency} | ${dut2_ip6o4_static_adjacency}
111 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
112 | | ... | ${binary_max} | ${traffic_profile}
113 | | ... | ${min_rate} | ${max_rate} | ${threshold}
114 | | ... | ${perf_pdr_loss_acceptance} | ${perf_pdr_loss_acceptance_type}
115
116 | tc03-1460B-1t1c-ethip6lispip4-ip6base-ndrdisc
117 | | [Documentation]
118 | | ... | [Cfg] DUT runs IPv6 LISP remote static mappings and whitelist\
119 | | ... | filters config with 1 phy core, 1 receive queue per NIC\
120 | | ... | port.
121 | | ... | [Ver] Find NDR for 1460 Byte frames using binary search start\
122 | | ... | at 10GE linerate, step 50kpps.
123 | | [Tags] | 1460B | 1C | NDRDISC
124 | | ${framesize}= | Set Variable | ${1460}
125 | | ${min_rate}= | Set Variable | ${50000}
126 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + 48}
127 | | ${binary_min}= | Set Variable | ${min_rate}
128 | | ${binary_max}= | Set Variable | ${max_rate}
129 | | ${threshold}= | Set Variable | ${min_rate}
130 | | Given Add worker threads and rxqueues to all DUTs | 1
131 | | And Add PCI devices to all DUTs
132 | | And Add no multi seg to all DUTs
133 | | And Apply startup configuration on all VPP DUTs
134 | | When Initialize LISP IPv6 over IPv4 forwarding in 3-node circular topology
135 | | ... | ${dut1_to_dut2_ip6o4} | ${dut1_to_tg_ip6o4} | ${dut2_to_dut1_ip6o4}
136 | | ... | ${dut2_to_tg_ip6o4} | ${tg_prefix6o4} | ${dut_prefix6o4}
137 | | And Configure LISP topology in 3-node circular topology
138 | | ... | ${dut1} | ${dut1_if2} | ${NONE}
139 | | ... | ${dut2} | ${dut2_if1} | ${NONE}
140 | | ... | ${duts_locator_set} | ${dut1_ip6o4_eid} | ${dut2_ip6o4_eid}
141 | | ... | ${dut1_ip6o4_static_adjacency} | ${dut2_ip6o4_static_adjacency}
142 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
143 | | ... | ${binary_max} | ${traffic_profile}
144 | | ... | ${min_rate} | ${max_rate} | ${threshold}
145
146 | tc04-1460B-1t1c-ethip6lispip4-ip6base-pdrdisc
147 | | [Documentation]
148 | | ... | [Cfg] DUT runs IPv6 LISP remote static mappings and whitelist\
149 | | ... | filters config with 1 phy core, 1 receive queue per NIC\
150 | | ... | port.
151 | | ... | [Ver] Find PDR for 1460 Byte frames using binary search start\
152 | | ... | at 10GE linerate, step 50kpps, LT=0.5%.
153 | | [Tags] | 1460B | 1C | PDRDISC | SKIP_PATCH
154 | | ${framesize}= | Set Variable | ${1460}
155 | | ${min_rate}= | Set Variable | ${50000}
156 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + 48}
157 | | ${binary_min}= | Set Variable | ${min_rate}
158 | | ${binary_max}= | Set Variable | ${max_rate}
159 | | ${threshold}= | Set Variable | ${min_rate}
160 | | Given Add worker threads and rxqueues to all DUTs | 1
161 | | And Add PCI devices to all DUTs
162 | | And Add no multi seg to all DUTs
163 | | And Apply startup configuration on all VPP DUTs
164 | | When Initialize LISP IPv6 over IPv4 forwarding in 3-node circular topology
165 | | ... | ${dut1_to_dut2_ip6o4} | ${dut1_to_tg_ip6o4} | ${dut2_to_dut1_ip6o4}
166 | | ... | ${dut2_to_tg_ip6o4} | ${tg_prefix6o4} | ${dut_prefix6o4}
167 | | And Configure LISP topology in 3-node circular topology
168 | | ... | ${dut1} | ${dut1_if2} | ${NONE}
169 | | ... | ${dut2} | ${dut2_if1} | ${NONE}
170 | | ... | ${duts_locator_set} | ${dut1_ip6o4_eid} | ${dut2_ip6o4_eid}
171 | | ... | ${dut1_ip6o4_static_adjacency} | ${dut2_ip6o4_static_adjacency}
172 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
173 | | ... | ${binary_max} | ${traffic_profile}
174 | | ... | ${min_rate} | ${max_rate} | ${threshold}
175 | | ... | ${perf_pdr_loss_acceptance} | ${perf_pdr_loss_acceptance_type}
176
177 | tc05-9000B-1t1c-ethip6lispip4-ip6base-ndrdisc
178 | | [Documentation]
179 | | ... | [Cfg] DUT runs IPv6 LISP remote static mappings and whitelist\
180 | | ... | filters config with 1 phy core, 1 receive queue per NIC\
181 | | ... | port.
182 | | ... | [Ver] Find NDR for 9000 Byte frames using binary search start\
183 | | ... | at 10GE linerate, step 10kpps.
184 | | [Tags] | 9000B | 1C | NDRDISC
185 | | ${framesize}= | Set Variable | ${9000}
186 | | ${min_rate}= | Set Variable | ${10000}
187 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + 48}
188 | | ${binary_min}= | Set Variable | ${min_rate}
189 | | ${binary_max}= | Set Variable | ${max_rate}
190 | | ${threshold}= | Set Variable | ${min_rate}
191 | | Given Add worker threads and rxqueues to all DUTs | 1
192 | | And Add PCI devices to all DUTs
193 | | And Apply startup configuration on all VPP DUTs
194 | | When Initialize LISP IPv6 over IPv4 forwarding in 3-node circular topology
195 | | ... | ${dut1_to_dut2_ip6o4} | ${dut1_to_tg_ip6o4} | ${dut2_to_dut1_ip6o4}
196 | | ... | ${dut2_to_tg_ip6o4} | ${tg_prefix6o4} | ${dut_prefix6o4}
197 | | And Configure LISP topology in 3-node circular topology
198 | | ... | ${dut1} | ${dut1_if2} | ${NONE}
199 | | ... | ${dut2} | ${dut2_if1} | ${NONE}
200 | | ... | ${duts_locator_set} | ${dut1_ip6o4_eid} | ${dut2_ip6o4_eid}
201 | | ... | ${dut1_ip6o4_static_adjacency} | ${dut2_ip6o4_static_adjacency}
202 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
203 | | ... | ${binary_max} | ${traffic_profile}
204 | | ... | ${min_rate} | ${max_rate} | ${threshold}
205
206 | tc06-9000B-1t1c-ethip6lispip4-ip6base-pdrdisc
207 | | [Documentation]
208 | | ... | [Cfg] DUT runs IPv6 LISP remote static mappings and whitelist\
209 | | ... | filters config with 1 phy core, 1 receive queue per NIC\
210 | | ... | port.
211 | | ... | [Ver] Find PDR for 9000 Byte frames using binary search start\
212 | | ... | at 10GE linerate, step 10kpps, LT=0.5%.
213 | | [Tags] | 9000B | 1C | PDRDISC | SKIP_PATCH
214 | | ${framesize}= | Set Variable | ${9000}
215 | | ${min_rate}= | Set Variable | ${10000}
216 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + 48}
217 | | ${binary_min}= | Set Variable | ${min_rate}
218 | | ${binary_max}= | Set Variable | ${max_rate}
219 | | ${threshold}= | Set Variable | ${min_rate}
220 | | Given Add worker threads and rxqueues to all DUTs | 1
221 | | And Add PCI devices to all DUTs
222 | | And Apply startup configuration on all VPP DUTs
223 | | When Initialize LISP IPv6 over IPv4 forwarding in 3-node circular topology
224 | | ... | ${dut1_to_dut2_ip6o4} | ${dut1_to_tg_ip6o4} | ${dut2_to_dut1_ip6o4}
225 | | ... | ${dut2_to_tg_ip6o4} | ${tg_prefix6o4} | ${dut_prefix6o4}
226 | | And Configure LISP topology in 3-node circular topology
227 | | ... | ${dut1} | ${dut1_if2} | ${NONE}
228 | | ... | ${dut2} | ${dut2_if1} | ${NONE}
229 | | ... | ${duts_locator_set} | ${dut1_ip6o4_eid} | ${dut2_ip6o4_eid}
230 | | ... | ${dut1_ip6o4_static_adjacency} | ${dut2_ip6o4_static_adjacency}
231 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
232 | | ... | ${binary_max} | ${traffic_profile}
233 | | ... | ${min_rate} | ${max_rate} | ${threshold}
234 | | ... | ${perf_pdr_loss_acceptance} | ${perf_pdr_loss_acceptance_type}
235
236 | tc07-78B-2t2c-ethip6lispip4-ip6base-ndrdisc
237 | | [Documentation]
238 | | ... | [Cfg] DUT runs IPv6 LISP remote static mappings and whitelist\
239 | | ... | filters config with 2 phy cores, 1 receive queue per NIC\
240 | | ... | port.
241 | | ... | [Ver] Find NDR for 78 Byte frames using binary search start\
242 | | ... | at 10GE linerate, step 50kpps.
243 | | [Tags] | 78B | 2C | NDRDISC
244 | | ${framesize}= | Set Variable | ${78}
245 | | ${min_rate}= | Set Variable | ${50000}
246 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + 48}
247 | | ${binary_min}= | Set Variable | ${min_rate}
248 | | ${binary_max}= | Set Variable | ${max_rate}
249 | | ${threshold}= | Set Variable | ${min_rate}
250 | | Given Add worker threads and rxqueues to all DUTs | 2
251 | | And Add PCI devices to all DUTs
252 | | And Add no multi seg to all DUTs
253 | | And Apply startup configuration on all VPP DUTs
254 | | When Initialize LISP IPv6 over IPv4 forwarding in 3-node circular topology
255 | | ... | ${dut1_to_dut2_ip6o4} | ${dut1_to_tg_ip6o4} | ${dut2_to_dut1_ip6o4}
256 | | ... | ${dut2_to_tg_ip6o4} | ${tg_prefix6o4} | ${dut_prefix6o4}
257 | | And Configure LISP topology in 3-node circular topology
258 | | ... | ${dut1} | ${dut1_if2} | ${NONE}
259 | | ... | ${dut2} | ${dut2_if1} | ${NONE}
260 | | ... | ${duts_locator_set} | ${dut1_ip6o4_eid} | ${dut2_ip6o4_eid}
261 | | ... | ${dut1_ip6o4_static_adjacency} | ${dut2_ip6o4_static_adjacency}
262 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
263 | | ... | ${binary_max} | ${traffic_profile}
264 | | ... | ${min_rate} | ${max_rate} | ${threshold}
265
266 | tc08-78B-2t2c-ethip6lispip4-ip6base-pdrdisc
267 | | [Documentation]
268 | | ... | [Cfg] DUT runs IPv6 LISP remote static mappings and whitelist\
269 | | ... | filters config with 2 phy cores, 1 receive queue per NIC\
270 | | ... | port.
271 | | ... | [Ver] Find PDR for 78 Byte frames using binary search start\
272 | | ... | at 10GE linerate, step 50kpps, LT=0.5%.
273 | | [Tags] | 78B | 2C | PDRDISC | SKIP_PATCH
274 | | ${framesize}= | Set Variable | ${78}
275 | | ${min_rate}= | Set Variable | ${50000}
276 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + 48}
277 | | ${binary_min}= | Set Variable | ${min_rate}
278 | | ${binary_max}= | Set Variable | ${max_rate}
279 | | ${threshold}= | Set Variable | ${min_rate}
280 | | Given Add worker threads and rxqueues to all DUTs | 2
281 | | And Add PCI devices to all DUTs
282 | | And Add no multi seg to all DUTs
283 | | And Apply startup configuration on all VPP DUTs
284 | | When Initialize LISP IPv6 over IPv4 forwarding in 3-node circular topology
285 | | ... | ${dut1_to_dut2_ip6o4} | ${dut1_to_tg_ip6o4} | ${dut2_to_dut1_ip6o4}
286 | | ... | ${dut2_to_tg_ip6o4} | ${tg_prefix6o4} | ${dut_prefix6o4}
287 | | And Configure LISP topology in 3-node circular topology
288 | | ... | ${dut1} | ${dut1_if2} | ${NONE}
289 | | ... | ${dut2} | ${dut2_if1} | ${NONE}
290 | | ... | ${duts_locator_set} | ${dut1_ip6o4_eid} | ${dut2_ip6o4_eid}
291 | | ... | ${dut1_ip6o4_static_adjacency} | ${dut2_ip6o4_static_adjacency}
292 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
293 | | ... | ${binary_max} | ${traffic_profile}
294 | | ... | ${min_rate} | ${max_rate} | ${threshold}
295 | | ... | ${perf_pdr_loss_acceptance} | ${perf_pdr_loss_acceptance_type}
296
297 | tc09-1460B-2t2c-ethip6lispip4-ip6base-ndrdisc
298 | | [Documentation]
299 | | ... | [Cfg] DUT runs IPv6 LISP remote static mappings and whitelist\
300 | | ... | filters config with 2 phy cores, 1 receive queue per NIC\
301 | | ... | port.
302 | | ... | [Ver] Find NDR for 1460 Byte frames using binary search start\
303 | | ... | at 10GE linerate, step 50kpps.
304 | | [Tags] | 1460B | 2C | NDRDISC | SKIP_PATCH
305 | | ${framesize}= | Set Variable | ${1460}
306 | | ${min_rate}= | Set Variable | ${50000}
307 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + 48}
308 | | ${binary_min}= | Set Variable | ${min_rate}
309 | | ${binary_max}= | Set Variable | ${max_rate}
310 | | ${threshold}= | Set Variable | ${min_rate}
311 | | Given Add worker threads and rxqueues to all DUTs | 2
312 | | And Add PCI devices to all DUTs
313 | | And Add no multi seg to all DUTs
314 | | And Apply startup configuration on all VPP DUTs
315 | | When Initialize LISP IPv6 over IPv4 forwarding in 3-node circular topology
316 | | ... | ${dut1_to_dut2_ip6o4} | ${dut1_to_tg_ip6o4} | ${dut2_to_dut1_ip6o4}
317 | | ... | ${dut2_to_tg_ip6o4} | ${tg_prefix6o4} | ${dut_prefix6o4}
318 | | And Configure LISP topology in 3-node circular topology
319 | | ... | ${dut1} | ${dut1_if2} | ${NONE}
320 | | ... | ${dut2} | ${dut2_if1} | ${NONE}
321 | | ... | ${duts_locator_set} | ${dut1_ip6o4_eid} | ${dut2_ip6o4_eid}
322 | | ... | ${dut1_ip6o4_static_adjacency} | ${dut2_ip6o4_static_adjacency}
323 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
324 | | ... | ${binary_max} | ${traffic_profile}
325 | | ... | ${min_rate} | ${max_rate} | ${threshold}
326
327 | tc10-1460B-2t2c-ethip6lispip4-ip6base-pdrdisc
328 | | [Documentation]
329 | | ... | [Cfg] DUT runs IPv6 LISP remote static mappings and whitelist\
330 | | ... | filters config with 2 phy cores, 1 receive queue per NIC\
331 | | ... | port.
332 | | ... | [Ver] Find PDR for 1460 Byte frames using binary search start\
333 | | ... | at 10GE linerate, step 50kpps, LT=0.5%.
334 | | [Tags] | 1460B | 2C | PDRDISC | SKIP_PATCH
335 | | ${framesize}= | Set Variable | ${1460}
336 | | ${min_rate}= | Set Variable | ${50000}
337 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + 48}
338 | | ${binary_min}= | Set Variable | ${min_rate}
339 | | ${binary_max}= | Set Variable | ${max_rate}
340 | | ${threshold}= | Set Variable | ${min_rate}
341 | | Given Add worker threads and rxqueues to all DUTs | 2
342 | | And Add PCI devices to all DUTs
343 | | And Add no multi seg to all DUTs
344 | | And Apply startup configuration on all VPP DUTs
345 | | When Initialize LISP IPv6 over IPv4 forwarding in 3-node circular topology
346 | | ... | ${dut1_to_dut2_ip6o4} | ${dut1_to_tg_ip6o4} | ${dut2_to_dut1_ip6o4}
347 | | ... | ${dut2_to_tg_ip6o4} | ${tg_prefix6o4} | ${dut_prefix6o4}
348 | | And Configure LISP topology in 3-node circular topology
349 | | ... | ${dut1} | ${dut1_if2} | ${NONE}
350 | | ... | ${dut2} | ${dut2_if1} | ${NONE}
351 | | ... | ${duts_locator_set} | ${dut1_ip6o4_eid} | ${dut2_ip6o4_eid}
352 | | ... | ${dut1_ip6o4_static_adjacency} | ${dut2_ip6o4_static_adjacency}
353 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
354 | | ... | ${binary_max} | ${traffic_profile}
355 | | ... | ${min_rate} | ${max_rate} | ${threshold}
356 | | ... | ${perf_pdr_loss_acceptance} | ${perf_pdr_loss_acceptance_type}
357
358 | tc11-9000B-2t2c-ethip6lispip4-ip6base-ndrdisc
359 | | [Documentation]
360 | | ... | [Cfg] DUT runs IPv6 LISP remote static mappings and whitelist\
361 | | ... | filters config with 2 phy cores, 1 receive queue per NIC\
362 | | ... | port.
363 | | ... | [Ver] Find NDR for 9000 Byte frames using binary search start\
364 | | ... | at 10GE linerate, step 10kpps.
365 | | [Tags] | 9000B | 2C | NDRDISC | SKIP_PATCH
366 | | ${framesize}= | Set Variable | ${9000}
367 | | ${min_rate}= | Set Variable | ${10000}
368 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + 48}
369 | | ${binary_min}= | Set Variable | ${min_rate}
370 | | ${binary_max}= | Set Variable | ${max_rate}
371 | | ${threshold}= | Set Variable | ${min_rate}
372 | | Given Add worker threads and rxqueues to all DUTs | 2
373 | | And Add PCI devices to all DUTs
374 | | And Apply startup configuration on all VPP DUTs
375 | | When Initialize LISP IPv6 over IPv4 forwarding in 3-node circular topology
376 | | ... | ${dut1_to_dut2_ip6o4} | ${dut1_to_tg_ip6o4} | ${dut2_to_dut1_ip6o4}
377 | | ... | ${dut2_to_tg_ip6o4} | ${tg_prefix6o4} | ${dut_prefix6o4}
378 | | And Configure LISP topology in 3-node circular topology
379 | | ... | ${dut1} | ${dut1_if2} | ${NONE}
380 | | ... | ${dut2} | ${dut2_if1} | ${NONE}
381 | | ... | ${duts_locator_set} | ${dut1_ip6o4_eid} | ${dut2_ip6o4_eid}
382 | | ... | ${dut1_ip6o4_static_adjacency} | ${dut2_ip6o4_static_adjacency}
383 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
384 | | ... | ${binary_max} | ${traffic_profile}
385 | | ... | ${min_rate} | ${max_rate} | ${threshold}
386
387 | tc12-9000B-2t2c-ethip6lispip4-ip6base-pdrdisc
388 | | [Documentation]
389 | | ... | [Cfg] DUT runs IPv6 LISP remote static mappings and whitelist\
390 | | ... | filters config with 2 phy cores, 1 receive queue per NIC\
391 | | ... | port.
392 | | ... | [Ver] Find PDR for 9000 Byte frames using binary search start\
393 | | ... | at 10GE linerate, step 10kpps, LT=0.5%.
394 | | [Tags] | 9000B | 2C | PDRDISC | SKIP_PATCH
395 | | ${framesize}= | Set Variable | ${9000}
396 | | ${min_rate}= | Set Variable | ${10000}
397 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + 48}
398 | | ${binary_min}= | Set Variable | ${min_rate}
399 | | ${binary_max}= | Set Variable | ${max_rate}
400 | | ${threshold}= | Set Variable | ${min_rate}
401 | | Given Add worker threads and rxqueues to all DUTs | 2
402 | | And Add PCI devices to all DUTs
403 | | And Apply startup configuration on all VPP DUTs
404 | | When Initialize LISP IPv6 over IPv4 forwarding in 3-node circular topology
405 | | ... | ${dut1_to_dut2_ip6o4} | ${dut1_to_tg_ip6o4} | ${dut2_to_dut1_ip6o4}
406 | | ... | ${dut2_to_tg_ip6o4} | ${tg_prefix6o4} | ${dut_prefix6o4}
407 | | And Configure LISP topology in 3-node circular topology
408 | | ... | ${dut1} | ${dut1_if2} | ${NONE}
409 | | ... | ${dut2} | ${dut2_if1} | ${NONE}
410 | | ... | ${duts_locator_set} | ${dut1_ip6o4_eid} | ${dut2_ip6o4_eid}
411 | | ... | ${dut1_ip6o4_static_adjacency} | ${dut2_ip6o4_static_adjacency}
412 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
413 | | ... | ${binary_max} | ${traffic_profile}
414 | | ... | ${min_rate} | ${max_rate} | ${threshold}
415 | | ... | ${perf_pdr_loss_acceptance} | ${perf_pdr_loss_acceptance_type}
416
417 | tc13-78B-4t4c-ethip6lispip4-ip6base-ndrdisc
418 | | [Documentation]
419 | | ... | [Cfg] DUT runs IPv6 LISP remote static mappings and whitelist\
420 | | ... | filters config with 4 phy cores, 2 receive queues per NIC\
421 | | ... | port.
422 | | ... | [Ver] Find NDR for 78 Byte frames using binary search start\
423 | | ... | at 10GE linerate, step 50kpps.
424 | | [Tags] | 78B | 4C | NDRDISC
425 | | ${framesize}= | Set Variable | ${78}
426 | | ${min_rate}= | Set Variable | ${50000}
427 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + 48}
428 | | ${binary_min}= | Set Variable | ${min_rate}
429 | | ${binary_max}= | Set Variable | ${max_rate}
430 | | ${threshold}= | Set Variable | ${min_rate}
431 | | Given Add worker threads and rxqueues to all DUTs | 4
432 | | And Add PCI devices to all DUTs
433 | | And Add no multi seg to all DUTs
434 | | And Apply startup configuration on all VPP DUTs
435 | | When Initialize LISP IPv6 over IPv4 forwarding in 3-node circular topology
436 | | ... | ${dut1_to_dut2_ip6o4} | ${dut1_to_tg_ip6o4} | ${dut2_to_dut1_ip6o4}
437 | | ... | ${dut2_to_tg_ip6o4} | ${tg_prefix6o4} | ${dut_prefix6o4}
438 | | And Configure LISP topology in 3-node circular topology
439 | | ... | ${dut1} | ${dut1_if2} | ${NONE}
440 | | ... | ${dut2} | ${dut2_if1} | ${NONE}
441 | | ... | ${duts_locator_set} | ${dut1_ip6o4_eid} | ${dut2_ip6o4_eid}
442 | | ... | ${dut1_ip6o4_static_adjacency} | ${dut2_ip6o4_static_adjacency}
443 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
444 | | ... | ${binary_max} | ${traffic_profile}
445 | | ... | ${min_rate} | ${max_rate} | ${threshold}
446
447 | tc14-78B-4t4c-ethip6lispip4-ip6base-pdrdisc
448 | | [Documentation]
449 | | ... | [Cfg] DUT runs IPv6 LISP remote static mappings and whitelist\
450 | | ... | filters config with 4 phy cores, 2 receive queues per NIC\
451 | | ... | port.
452 | | ... | [Ver] Find PDR for 78 Byte frames using binary search start\
453 | | ... | at 10GE linerate, step 50kpps, LT=0.5%.
454 | | [Tags] | 78B | 4C | PDRDISC | SKIP_PATCH
455 | | ${framesize}= | Set Variable | ${78}
456 | | ${min_rate}= | Set Variable | ${50000}
457 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + 48}
458 | | ${binary_min}= | Set Variable | ${min_rate}
459 | | ${binary_max}= | Set Variable | ${max_rate}
460 | | ${threshold}= | Set Variable | ${min_rate}
461 | | Given Add worker threads and rxqueues to all DUTs | 4
462 | | And Add PCI devices to all DUTs
463 | | And Add no multi seg to all DUTs
464 | | And Apply startup configuration on all VPP DUTs
465 | | When Initialize LISP IPv6 over IPv4 forwarding in 3-node circular topology
466 | | ... | ${dut1_to_dut2_ip6o4} | ${dut1_to_tg_ip6o4} | ${dut2_to_dut1_ip6o4}
467 | | ... | ${dut2_to_tg_ip6o4} | ${tg_prefix6o4} | ${dut_prefix6o4}
468 | | And Configure LISP topology in 3-node circular topology
469 | | ... | ${dut1} | ${dut1_if2} | ${NONE}
470 | | ... | ${dut2} | ${dut2_if1} | ${NONE}
471 | | ... | ${duts_locator_set} | ${dut1_ip6o4_eid} | ${dut2_ip6o4_eid}
472 | | ... | ${dut1_ip6o4_static_adjacency} | ${dut2_ip6o4_static_adjacency}
473 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
474 | | ... | ${binary_max} | ${traffic_profile}
475 | | ... | ${min_rate} | ${max_rate} | ${threshold}
476 | | ... | ${perf_pdr_loss_acceptance} | ${perf_pdr_loss_acceptance_type}
477
478 | tc15-1460B-4t4c-ethip6lispip4-ip6base-ndrdisc
479 | | [Documentation]
480 | | ... | [Cfg] DUT runs IPv6 LISP remote static mappings and whitelist\
481 | | ... | filters config with 4 phy cores, 2 receive queues per NIC\
482 | | ... | port.
483 | | ... | [Ver] Find NDR for 1460 Byte frames using binary search start\
484 | | ... | at 10GE linerate, step 50kpps.
485 | | [Tags] | 1460B | 4C | NDRDISC | SKIP_PATCH
486 | | ${framesize}= | Set Variable | ${1460}
487 | | ${min_rate}= | Set Variable | ${50000}
488 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + 48}
489 | | ${binary_min}= | Set Variable | ${min_rate}
490 | | ${binary_max}= | Set Variable | ${max_rate}
491 | | ${threshold}= | Set Variable | ${min_rate}
492 | | Given Add worker threads and rxqueues to all DUTs | 4
493 | | And Add PCI devices to all DUTs
494 | | And Add no multi seg to all DUTs
495 | | And Apply startup configuration on all VPP DUTs
496 | | When Initialize LISP IPv6 over IPv4 forwarding in 3-node circular topology
497 | | ... | ${dut1_to_dut2_ip6o4} | ${dut1_to_tg_ip6o4} | ${dut2_to_dut1_ip6o4}
498 | | ... | ${dut2_to_tg_ip6o4} | ${tg_prefix6o4} | ${dut_prefix6o4}
499 | | And Configure LISP topology in 3-node circular topology
500 | | ... | ${dut1} | ${dut1_if2} | ${NONE}
501 | | ... | ${dut2} | ${dut2_if1} | ${NONE}
502 | | ... | ${duts_locator_set} | ${dut1_ip6o4_eid} | ${dut2_ip6o4_eid}
503 | | ... | ${dut1_ip6o4_static_adjacency} | ${dut2_ip6o4_static_adjacency}
504 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
505 | | ... | ${binary_max} | ${traffic_profile}
506 | | ... | ${min_rate} | ${max_rate} | ${threshold}
507
508 | tc16-1460B-4t4c-ethip6lispip4-ip6base-pdrdisc
509 | | [Documentation]
510 | | ... | [Cfg] DUT runs IPv6 LISP remote static mappings and whitelist\
511 | | ... | filters config with 4 phy cores, 2 receive queues per NIC\
512 | | ... | port.
513 | | ... | [Ver] Find PDR for 1460 Byte frames using binary search start\
514 | | ... | at 10GE linerate, step 50kpps, LT=0.5%.
515 | | [Tags] | 1460B | 4C | PDRDISC | SKIP_PATCH
516 | | ${framesize}= | Set Variable | ${1460}
517 | | ${min_rate}= | Set Variable | ${50000}
518 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + 48}
519 | | ${binary_min}= | Set Variable | ${min_rate}
520 | | ${binary_max}= | Set Variable | ${max_rate}
521 | | ${threshold}= | Set Variable | ${min_rate}
522 | | Given Add worker threads and rxqueues to all DUTs | 4
523 | | And Add PCI devices to all DUTs
524 | | And Add no multi seg to all DUTs
525 | | And Apply startup configuration on all VPP DUTs
526 | | When Initialize LISP IPv6 over IPv4 forwarding in 3-node circular topology
527 | | ... | ${dut1_to_dut2_ip6o4} | ${dut1_to_tg_ip6o4} | ${dut2_to_dut1_ip6o4}
528 | | ... | ${dut2_to_tg_ip6o4} | ${tg_prefix6o4} | ${dut_prefix6o4}
529 | | And Configure LISP topology in 3-node circular topology
530 | | ... | ${dut1} | ${dut1_if2} | ${NONE}
531 | | ... | ${dut2} | ${dut2_if1} | ${NONE}
532 | | ... | ${duts_locator_set} | ${dut1_ip6o4_eid} | ${dut2_ip6o4_eid}
533 | | ... | ${dut1_ip6o4_static_adjacency} | ${dut2_ip6o4_static_adjacency}
534 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
535 | | ... | ${binary_max} | ${traffic_profile}
536 | | ... | ${min_rate} | ${max_rate} | ${threshold}
537 | | ... | ${perf_pdr_loss_acceptance} | ${perf_pdr_loss_acceptance_type}
538
539 | tc17-9000B-4t4c-ethip6lispip4-ip6base-ndrdisc
540 | | [Documentation]
541 | | ... | [Cfg] DUT runs IPv6 LISP remote static mappings and whitelist\
542 | | ... | filters config with 4 phy cores, 2 receive queues per NIC\
543 | | ... | port.
544 | | ... | [Ver] Find NDR for 9000 Byte frames using binary search start\
545 | | ... | at 10GE linerate, step 10kpps.
546 | | [Tags] | 9000B | 4C | NDRDISC | SKIP_PATCH
547 | | ${framesize}= | Set Variable | ${9000}
548 | | ${min_rate}= | Set Variable | ${10000}
549 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + 48}
550 | | ${binary_min}= | Set Variable | ${min_rate}
551 | | ${binary_max}= | Set Variable | ${max_rate}
552 | | ${threshold}= | Set Variable | ${min_rate}
553 | | Given Add worker threads and rxqueues to all DUTs | 4
554 | | And Add PCI devices to all DUTs
555 | | And Apply startup configuration on all VPP DUTs
556 | | When Initialize LISP IPv6 over IPv4 forwarding in 3-node circular topology
557 | | ... | ${dut1_to_dut2_ip6o4} | ${dut1_to_tg_ip6o4} | ${dut2_to_dut1_ip6o4}
558 | | ... | ${dut2_to_tg_ip6o4} | ${tg_prefix6o4} | ${dut_prefix6o4}
559 | | And Configure LISP topology in 3-node circular topology
560 | | ... | ${dut1} | ${dut1_if2} | ${NONE}
561 | | ... | ${dut2} | ${dut2_if1} | ${NONE}
562 | | ... | ${duts_locator_set} | ${dut1_ip6o4_eid} | ${dut2_ip6o4_eid}
563 | | ... | ${dut1_ip6o4_static_adjacency} | ${dut2_ip6o4_static_adjacency}
564 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
565 | | ... | ${binary_max} | ${traffic_profile}
566 | | ... | ${min_rate} | ${max_rate} | ${threshold}
567
568 | tc18-9000B-4t4c-ethip6lispip4-ip6base-pdrdisc
569 | | [Documentation]
570 | | ... | [Cfg] DUT runs IPv6 LISP remote static mappings and whitelist\
571 | | ... | filters config with 4 phy cores, 2 receive queues per NIC\
572 | | ... | port.
573 | | ... | [Ver] Find PDR for 9000 Byte frames using binary search start\
574 | | ... | at 10GE linerate, step 10kpps, LT=0.5%.
575 | | [Tags] | 9000B | 4C | PDRDISC | SKIP_PATCH
576 | | ${framesize}= | Set Variable | ${9000}
577 | | ${min_rate}= | Set Variable | ${10000}
578 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + 48}
579 | | ${binary_min}= | Set Variable | ${min_rate}
580 | | ${binary_max}= | Set Variable | ${max_rate}
581 | | ${threshold}= | Set Variable | ${min_rate}
582 | | Given Add worker threads and rxqueues to all DUTs | 4
583 | | And Add PCI devices to all DUTs
584 | | And Apply startup configuration on all VPP DUTs
585 | | When Initialize LISP IPv6 over IPv4 forwarding in 3-node circular topology
586 | | ... | ${dut1_to_dut2_ip6o4} | ${dut1_to_tg_ip6o4} | ${dut2_to_dut1_ip6o4}
587 | | ... | ${dut2_to_tg_ip6o4} | ${tg_prefix6o4} | ${dut_prefix6o4}
588 | | And Configure LISP topology in 3-node circular topology
589 | | ... | ${dut1} | ${dut1_if2} | ${NONE}
590 | | ... | ${dut2} | ${dut2_if1} | ${NONE}
591 | | ... | ${duts_locator_set} | ${dut1_ip6o4_eid} | ${dut2_ip6o4_eid}
592 | | ... | ${dut1_ip6o4_static_adjacency} | ${dut2_ip6o4_static_adjacency}
593 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
594 | | ... | ${binary_max} | ${traffic_profile}
595 | | ... | ${min_rate} | ${max_rate} | ${threshold}
596 | | ... | ${perf_pdr_loss_acceptance} | ${perf_pdr_loss_acceptance_type}