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