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