CSIT-604: Bootstrap file for vpp-csit-verify-master-centos7-nightly
[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_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 thread, 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 100kpps.
66 | | [Tags] | 78B | 1T1C | STHREAD | NDRDISC
67 | | ${framesize}= | Set Variable | ${78}
68 | | ${min_rate}= | Set Variable | ${100000}
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 '1' worker threads and '1' rxqueues in 3-node single-link circular topology
74 | | And Add PCI devices to DUTs in 3-node single link topology
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} | 2001:1:: | 64 | 1 | local
79 | | And Add fib table | ${dut2} | 2001:2:: | 64 | 1 | local
80 | | And COP Add whitelist Entry | ${dut1} | ${dut1_if1} | ip6 | 1
81 | | And COP Add whitelist Entry | ${dut2} | ${dut2_if2} | ip6 | 1
82 | | And COP interface enable or disable | ${dut1} | ${dut1_if1} | enable
83 | | And COP interface enable or disable | ${dut2} | ${dut2_if2} | enable
84 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
85 | | ... | ${binary_max} | ${traffic_profile}
86 | | ... | ${min_rate} | ${max_rate} | ${threshold}
87
88 | tc02-78B-1t1c-ethip6-ip6base-copwhtlistbase-pdrdisc
89 | | [Documentation]
90 | | ... | [Cfg] DUT runs IPv6 routing and whitelist filters config with \
91 | | ... | 1 thread, 1 phy core, 1 receive queue per NIC port. [Ver] Find PDR
92 | | ... | for 78 Byte frames using binary search start at 10GE linerate,
93 | | ... | step 100kpps, LT=0.5%.
94 | | [Tags] | 78B | 1T1C | STHREAD | PDRDISC | SKIP_PATCH
95 | | ${framesize}= | Set Variable | ${78}
96 | | ${min_rate}= | Set Variable | ${100000}
97 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
98 | | ${binary_min}= | Set Variable | ${min_rate}
99 | | ${binary_max}= | Set Variable | ${max_rate}
100 | | ${threshold}= | Set Variable | ${min_rate}
101 | | Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
102 | | And Add PCI devices to DUTs in 3-node single link topology
103 | | And Add no multi seg to all DUTs
104 | | And Apply startup configuration on all VPP DUTs
105 | | When Initialize IPv6 forwarding in 3-node circular topology
106 | | And Add fib table | ${dut1} | 2001:1:: | 64 | 1 | local
107 | | And Add fib table | ${dut2} | 2001:2:: | 64 | 1 | local
108 | | And COP Add whitelist Entry | ${dut1} | ${dut1_if1} | ip6 | 1
109 | | And COP Add whitelist Entry | ${dut2} | ${dut2_if2} | ip6 | 1
110 | | And COP interface enable or disable | ${dut1} | ${dut1_if1} | enable
111 | | And COP interface enable or disable | ${dut2} | ${dut2_if2} | enable
112 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
113 | | ... | ${binary_max} | ${traffic_profile}
114 | | ... | ${min_rate} | ${max_rate} | ${threshold}
115 | | ... | ${perf_pdr_loss_acceptance} | ${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] | 1518B | 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 '1' rxqueues in 3-node single-link circular topology
131 | | And Add PCI devices to DUTs in 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 Initialize IPv6 forwarding in 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} | ${traffic_profile}
143 | | ... | ${min_rate} | ${max_rate} | ${threshold}
144
145 | tc04-1518B-1t1c-ethip6-ip6base-copwhtlistbase-pdrdisc
146 | | [Documentation]
147 | | ... | [Cfg] DUT runs IPv6 routing and whitelist filters config with \
148 | | ... | 1 thread, 1 phy core, 1 receive queue per NIC port. [Ver] Find PDR
149 | | ... | for 1518 Byte frames using binary search start at 10GE linerate,
150 | | ... | step 10kpps, LT=0.5%.
151 | | [Tags] | 1518B | 1T1C | STHREAD | PDRDISC | SKIP_PATCH
152 | | ${framesize}= | Set Variable | ${1518}
153 | | ${min_rate}= | Set Variable | ${10000}
154 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
155 | | ${binary_min}= | Set Variable | ${min_rate}
156 | | ${binary_max}= | Set Variable | ${max_rate}
157 | | ${threshold}= | Set Variable | ${min_rate}
158 | | Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
159 | | And Add PCI devices to DUTs in 3-node single link topology
160 | | And Add no multi seg to all DUTs
161 | | And Apply startup configuration on all VPP DUTs
162 | | When Initialize IPv6 forwarding in 3-node circular topology
163 | | And Add fib table | ${dut1} | 2001:1:: | 64 | 1 | local
164 | | And Add fib table | ${dut2} | 2001:2:: | 64 | 1 | local
165 | | And COP Add whitelist Entry | ${dut1} | ${dut1_if1} | ip6 | 1
166 | | And COP Add whitelist Entry | ${dut2} | ${dut2_if2} | ip6 | 1
167 | | And COP interface enable or disable | ${dut1} | ${dut1_if1} | enable
168 | | And COP interface enable or disable | ${dut2} | ${dut2_if2} | enable
169 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
170 | | ... | ${binary_max} | ${traffic_profile}
171 | | ... | ${min_rate} | ${max_rate} | ${threshold}
172 | | ... | ${perf_pdr_loss_acceptance} | ${perf_pdr_loss_acceptance_type}
173
174 | tc05-9000B-1t1c-ethip6-ip6base-copwhtlistbase-ndrdisc
175 | | [Documentation]
176 | | ... | [Cfg] DUT runs IPv6 routing and whitelist filters config with \
177 | | ... | 1 thread, 1 phy core, 1 receive queue per NIC port. [Ver] Find NDR
178 | | ... | for 9000 Byte frames using binary search start at 10GE linerate,
179 | | ... | step 5kpps.
180 | | [Tags] | 9000B | 1T1C | STHREAD | NDRDISC
181 | | ${framesize}= | Set Variable | ${9000}
182 | | ${min_rate}= | Set Variable | ${10000}
183 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
184 | | ${binary_min}= | Set Variable | ${min_rate}
185 | | ${binary_max}= | Set Variable | ${max_rate}
186 | | ${threshold}= | Set Variable | ${min_rate}
187 | | Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
188 | | And Add PCI devices to DUTs in 3-node single link topology
189 | | And Apply startup configuration on all VPP DUTs
190 | | When Initialize IPv6 forwarding in 3-node circular topology
191 | | And Add fib table | ${dut1} | 2001:1:: | 64 | 1 | local
192 | | And Add fib table | ${dut2} | 2001:2:: | 64 | 1 | local
193 | | And COP Add whitelist Entry | ${dut1} | ${dut1_if1} | ip6 | 1
194 | | And COP Add whitelist Entry | ${dut2} | ${dut2_if2} | ip6 | 1
195 | | And COP interface enable or disable | ${dut1} | ${dut1_if1} | enable
196 | | And COP interface enable or disable | ${dut2} | ${dut2_if2} | enable
197 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
198 | | ... | ${binary_max} | ${traffic_profile}
199 | | ... | ${min_rate} | ${max_rate} | ${threshold}
200
201 | tc06-9000B-1t1c-ethip6-ip6base-copwhtlistbase-pdrdisc
202 | | [Documentation]
203 | | ... | [Cfg] DUT runs IPv6 routing and whitelist filters config with \
204 | | ... | 1 thread, 1 phy core, 1 receive queue per NIC port. [Ver] Find PDR
205 | | ... | for 9000 Byte frames using binary search start at 10GE linerate,
206 | | ... | step 5kpps, LT=0.5%.
207 | | [Tags] | 9000B | 1T1C | STHREAD | PDRDISC | SKIP_PATCH
208 | | ${framesize}= | Set Variable | ${9000}
209 | | ${min_rate}= | Set Variable | ${10000}
210 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
211 | | ${binary_min}= | Set Variable | ${min_rate}
212 | | ${binary_max}= | Set Variable | ${max_rate}
213 | | ${threshold}= | Set Variable | ${min_rate}
214 | | Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
215 | | And Add PCI devices to DUTs in 3-node single link topology
216 | | And Apply startup configuration on all VPP DUTs
217 | | When Initialize IPv6 forwarding in 3-node circular topology
218 | | And Add fib table | ${dut1} | 2001:1:: | 64 | 1 | local
219 | | And Add fib table | ${dut2} | 2001:2:: | 64 | 1 | local
220 | | And COP Add whitelist Entry | ${dut1} | ${dut1_if1} | ip6 | 1
221 | | And COP Add whitelist Entry | ${dut2} | ${dut2_if2} | ip6 | 1
222 | | And COP interface enable or disable | ${dut1} | ${dut1_if1} | enable
223 | | And COP interface enable or disable | ${dut2} | ${dut2_if2} | enable
224 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
225 | | ... | ${binary_max} | ${traffic_profile}
226 | | ... | ${min_rate} | ${max_rate} | ${threshold}
227 | | ... | ${perf_pdr_loss_acceptance} | ${perf_pdr_loss_acceptance_type}
228
229 | tc07-78B-2t2c-ethip6-ip6base-copwhtlistbase-ndrdisc
230 | | [Documentation]
231 | | ... | [Cfg] DUT runs IPv6 routing and whitelist filters config with \
232 | | ... | 2 threads, 2 phy cores, 1 receive queue per NIC port. [Ver] Find NDR
233 | | ... | for 78 Byte frames using binary search start at 10GE linerate,
234 | | ... | step 100kpps.
235 | | [Tags] | 78B | 2T2C | MTHREAD | NDRDISC
236 | | ${framesize}= | Set Variable | ${78}
237 | | ${min_rate}= | Set Variable | ${100000}
238 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
239 | | ${binary_min}= | Set Variable | ${min_rate}
240 | | ${binary_max}= | Set Variable | ${max_rate}
241 | | ${threshold}= | Set Variable | ${min_rate}
242 | | Given Add '2' worker threads and '1' rxqueues in 3-node single-link circular topology
243 | | And Add PCI devices to DUTs in 3-node single link topology
244 | | And Add no multi seg to all DUTs
245 | | And Apply startup configuration on all VPP DUTs
246 | | When Initialize IPv6 forwarding in 3-node circular topology
247 | | And Add fib table | ${dut1} | 2001:1:: | 64 | 1 | local
248 | | And Add fib table | ${dut2} | 2001:2:: | 64 | 1 | local
249 | | And COP Add whitelist Entry | ${dut1} | ${dut1_if1} | ip6 | 1
250 | | And COP Add whitelist Entry | ${dut2} | ${dut2_if2} | ip6 | 1
251 | | And COP interface enable or disable | ${dut1} | ${dut1_if1} | enable
252 | | And COP interface enable or disable | ${dut2} | ${dut2_if2} | enable
253 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
254 | | ... | ${binary_max} | ${traffic_profile}
255 | | ... | ${min_rate} | ${max_rate} | ${threshold}
256
257 | tc08-78B-2t2c-ethip6-ip6base-copwhtlistbase-pdrdisc
258 | | [Documentation]
259 | | ... | [Cfg] DUT runs IPv6 routing and whitelist filters config with \
260 | | ... | 2 threads, 2 phy cores, 1 receive queue per NIC port. [Ver] Find PDR
261 | | ... | for 78 Byte frames using binary search start at 10GE linerate,
262 | | ... | step 100kpps, LT=0.5%.
263 | | [Tags] | 78B | 2T2C | MTHREAD | PDRDISC | SKIP_PATCH
264 | | ${framesize}= | Set Variable | ${78}
265 | | ${min_rate}= | Set Variable | ${100000}
266 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
267 | | ${binary_min}= | Set Variable | ${min_rate}
268 | | ${binary_max}= | Set Variable | ${max_rate}
269 | | ${threshold}= | Set Variable | ${min_rate}
270 | | Given Add '2' worker threads and '1' rxqueues in 3-node single-link circular topology
271 | | And Add PCI devices to DUTs in 3-node single link topology
272 | | And Add no multi seg to all DUTs
273 | | And Apply startup configuration on all VPP DUTs
274 | | When Initialize IPv6 forwarding in 3-node circular topology
275 | | And Add fib table | ${dut1} | 2001:1:: | 64 | 1 | local
276 | | And Add fib table | ${dut2} | 2001:2:: | 64 | 1 | local
277 | | And COP Add whitelist Entry | ${dut1} | ${dut1_if1} | ip6 | 1
278 | | And COP Add whitelist Entry | ${dut2} | ${dut2_if2} | ip6 | 1
279 | | And COP interface enable or disable | ${dut1} | ${dut1_if1} | enable
280 | | And COP interface enable or disable | ${dut2} | ${dut2_if2} | enable
281 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
282 | | ... | ${binary_max} | ${traffic_profile}
283 | | ... | ${min_rate} | ${max_rate} | ${threshold}
284 | | ... | ${perf_pdr_loss_acceptance} | ${perf_pdr_loss_acceptance_type}
285
286 | tc09-1518B-2t2c-ethip6-ip6base-copwhtlistbase-ndrdisc
287 | | [Documentation]
288 | | ... | [Cfg] DUT runs IPv6 routing and whitelist filters config with \
289 | | ... | 2 threads, 2 phy cores, 1 receive queue per NIC port. [Ver] Find NDR
290 | | ... | for 1518 Byte frames using binary search start at 10GE linerate,
291 | | ... | step 10kpps.
292 | | [Tags] | 1518B | 2T2C | MTHREAD | NDRDISC | SKIP_PATCH
293 | | ${framesize}= | Set Variable | ${1518}
294 | | ${min_rate}= | Set Variable | ${10000}
295 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
296 | | ${binary_min}= | Set Variable | ${min_rate}
297 | | ${binary_max}= | Set Variable | ${max_rate}
298 | | ${threshold}= | Set Variable | ${min_rate}
299 | | Given Add '2' worker threads and '1' rxqueues in 3-node single-link circular topology
300 | | And Add PCI devices to DUTs in 3-node single link topology
301 | | And Add no multi seg to all DUTs
302 | | And Apply startup configuration on all VPP DUTs
303 | | When Initialize IPv6 forwarding in 3-node circular topology
304 | | And Add fib table | ${dut1} | 2001:1:: | 64 | 1 | local
305 | | And Add fib table | ${dut2} | 2001:2:: | 64 | 1 | local
306 | | And COP Add whitelist Entry | ${dut1} | ${dut1_if1} | ip6 | 1
307 | | And COP Add whitelist Entry | ${dut2} | ${dut2_if2} | ip6 | 1
308 | | And COP interface enable or disable | ${dut1} | ${dut1_if1} | enable
309 | | And COP interface enable or disable | ${dut2} | ${dut2_if2} | enable
310 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
311 | | ... | ${binary_max} | ${traffic_profile}
312 | | ... | ${min_rate} | ${max_rate} | ${threshold}
313
314 | tc10-1518B-2t2c-ethip6-ip6base-copwhtlistbase-pdrdisc
315 | | [Documentation]
316 | | ... | [Cfg] DUT runs IPv6 routing and whitelist filters config with \
317 | | ... | 2 threads, 2 phy cores, 1 receive queue per NIC port. [Ver] Find PDR
318 | | ... | for 1518 Byte frames using binary search start at 10GE linerate,
319 | | ... | step 10kpps, LT=0.5%.
320 | | [Tags] | 1518B | 2T2C | MTHREAD | PDRDISC | SKIP_PATCH
321 | | ${framesize}= | Set Variable | ${1518}
322 | | ${min_rate}= | Set Variable | ${10000}
323 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
324 | | ${binary_min}= | Set Variable | ${min_rate}
325 | | ${binary_max}= | Set Variable | ${max_rate}
326 | | ${threshold}= | Set Variable | ${min_rate}
327 | | Given Add '2' worker threads and '1' rxqueues in 3-node single-link circular topology
328 | | And Add PCI devices to DUTs in 3-node single link topology
329 | | And Add no multi seg to all DUTs
330 | | And Apply startup configuration on all VPP DUTs
331 | | When Initialize IPv6 forwarding in 3-node circular topology
332 | | And Add fib table | ${dut1} | 2001:1:: | 64 | 1 | local
333 | | And Add fib table | ${dut2} | 2001:2:: | 64 | 1 | local
334 | | And COP Add whitelist Entry | ${dut1} | ${dut1_if1} | ip6 | 1
335 | | And COP Add whitelist Entry | ${dut2} | ${dut2_if2} | ip6 | 1
336 | | And COP interface enable or disable | ${dut1} | ${dut1_if1} | enable
337 | | And COP interface enable or disable | ${dut2} | ${dut2_if2} | enable
338 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
339 | | ... | ${binary_max} | ${traffic_profile}
340 | | ... | ${min_rate} | ${max_rate} | ${threshold}
341 | | ... | ${perf_pdr_loss_acceptance} | ${perf_pdr_loss_acceptance_type}
342
343 | tc11-9000B-2t2c-ethip6-ip6base-copwhtlistbase-ndrdisc
344 | | [Documentation]
345 | | ... | [Cfg] DUT runs IPv6 routing and whitelist filters config with \
346 | | ... | 2 threads, 2 phy cores, 1 receive queue per NIC port. [Ver] Find NDR
347 | | ... | for 9000 Byte frames using binary search start at 10GE linerate,
348 | | ... | step 5kpps.
349 | | [Tags] | 9000B | 2T2C | MTHREAD | NDRDISC | SKIP_PATCH
350 | | ${framesize}= | Set Variable | ${9000}
351 | | ${min_rate}= | Set Variable | ${10000}
352 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
353 | | ${binary_min}= | Set Variable | ${min_rate}
354 | | ${binary_max}= | Set Variable | ${max_rate}
355 | | ${threshold}= | Set Variable | ${min_rate}
356 | | Given Add '2' worker threads and '1' rxqueues in 3-node single-link circular topology
357 | | And Add PCI devices to DUTs in 3-node single link topology
358 | | And Apply startup configuration on all VPP DUTs
359 | | When Initialize IPv6 forwarding in 3-node circular topology
360 | | And Add fib table | ${dut1} | 2001:1:: | 64 | 1 | local
361 | | And Add fib table | ${dut2} | 2001:2:: | 64 | 1 | local
362 | | And COP Add whitelist Entry | ${dut1} | ${dut1_if1} | ip6 | 1
363 | | And COP Add whitelist Entry | ${dut2} | ${dut2_if2} | ip6 | 1
364 | | And COP interface enable or disable | ${dut1} | ${dut1_if1} | enable
365 | | And COP interface enable or disable | ${dut2} | ${dut2_if2} | enable
366 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
367 | | ... | ${binary_max} | ${traffic_profile}
368 | | ... | ${min_rate} | ${max_rate} | ${threshold}
369
370 | tc12-9000B-2t2c-ethip6-ip6base-copwhtlistbase-pdrdisc
371 | | [Documentation]
372 | | ... | [Cfg] DUT runs IPv6 routing and whitelist filters config with \
373 | | ... | 2 threads, 2 phy cores, 1 receive queue per NIC port. [Ver] Find PDR
374 | | ... | for 9000 Byte frames using binary search start at 10GE linerate,
375 | | ... | step 5kpps, LT=0.5%.
376 | | [Tags] | 9000B | 2T2C | MTHREAD | PDRDISC | SKIP_PATCH
377 | | ${framesize}= | Set Variable | ${9000}
378 | | ${min_rate}= | Set Variable | ${10000}
379 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
380 | | ${binary_min}= | Set Variable | ${min_rate}
381 | | ${binary_max}= | Set Variable | ${max_rate}
382 | | ${threshold}= | Set Variable | ${min_rate}
383 | | Given Add '2' worker threads and '1' rxqueues in 3-node single-link circular topology
384 | | And Add PCI devices to DUTs in 3-node single link topology
385 | | And Apply startup configuration on all VPP DUTs
386 | | When Initialize IPv6 forwarding in 3-node circular topology
387 | | And Add fib table | ${dut1} | 2001:1:: | 64 | 1 | local
388 | | And Add fib table | ${dut2} | 2001:2:: | 64 | 1 | local
389 | | And COP Add whitelist Entry | ${dut1} | ${dut1_if1} | ip6 | 1
390 | | And COP Add whitelist Entry | ${dut2} | ${dut2_if2} | ip6 | 1
391 | | And COP interface enable or disable | ${dut1} | ${dut1_if1} | enable
392 | | And COP interface enable or disable | ${dut2} | ${dut2_if2} | enable
393 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
394 | | ... | ${binary_max} | ${traffic_profile}
395 | | ... | ${min_rate} | ${max_rate} | ${threshold}
396 | | ... | ${perf_pdr_loss_acceptance} | ${perf_pdr_loss_acceptance_type}
397
398 | tc13-78B-4t4c-ethip6-ip6base-copwhtlistbase-ndrdisc
399 | | [Documentation]
400 | | ... | [Cfg] DUT runs IPv6 routing and whitelist filters config with \
401 | | ... | 4 threads, 4 phy cores, 2 receive queue per NIC port. [Ver] Find NDR
402 | | ... | for 78 Byte frames using binary search start at 10GE linerate,
403 | | ... | step 100kpps.
404 | | [Tags] | 78B | 4T4C | MTHREAD | NDRDISC
405 | | ${framesize}= | Set Variable | ${78}
406 | | ${min_rate}= | Set Variable | ${100000}
407 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
408 | | ${binary_min}= | Set Variable | ${min_rate}
409 | | ${binary_max}= | Set Variable | ${max_rate}
410 | | ${threshold}= | Set Variable | ${min_rate}
411 | | Given Add '4' worker threads and '2' rxqueues in 3-node single-link circular topology
412 | | And Add PCI devices to DUTs in 3-node single link topology
413 | | And Add no multi seg to all DUTs
414 | | And Apply startup configuration on all VPP DUTs
415 | | When Initialize IPv6 forwarding in 3-node circular topology
416 | | And Add fib table | ${dut1} | 2001:1:: | 64 | 1 | local
417 | | And Add fib table | ${dut2} | 2001:2:: | 64 | 1 | local
418 | | And COP Add whitelist Entry | ${dut1} | ${dut1_if1} | ip6 | 1
419 | | And COP Add whitelist Entry | ${dut2} | ${dut2_if2} | ip6 | 1
420 | | And COP interface enable or disable | ${dut1} | ${dut1_if1} | enable
421 | | And COP interface enable or disable | ${dut2} | ${dut2_if2} | enable
422 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
423 | | ... | ${binary_max} | ${traffic_profile}
424 | | ... | ${min_rate} | ${max_rate} | ${threshold}
425
426 | tc14-78B-4t4c-ethip6-ip6base-copwhtlistbase-pdrdisc
427 | | [Documentation]
428 | | ... | [Cfg] DUT runs IPv6 routing and whitelist filters config with \
429 | | ... | 4 threads, 4 phy cores, 2 receive queue per NIC port. [Ver] Find PDR
430 | | ... | for 78 Byte frames using binary search start at 10GE linerate,
431 | | ... | step 100kpps, LT=0.5%.
432 | | [Tags] | 78B | 4T4C | MTHREAD | PDRDISC | SKIP_PATCH
433 | | ${framesize}= | Set Variable | ${78}
434 | | ${min_rate}= | Set Variable | ${100000}
435 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
436 | | ${binary_min}= | Set Variable | ${min_rate}
437 | | ${binary_max}= | Set Variable | ${max_rate}
438 | | ${threshold}= | Set Variable | ${min_rate}
439 | | Given Add '4' worker threads and '2' rxqueues in 3-node single-link circular topology
440 | | And Add PCI devices to DUTs in 3-node single link topology
441 | | And Add no multi seg to all DUTs
442 | | And Apply startup configuration on all VPP DUTs
443 | | When Initialize IPv6 forwarding in 3-node circular topology
444 | | And Add fib table | ${dut1} | 2001:1:: | 64 | 1 | local
445 | | And Add fib table | ${dut2} | 2001:2:: | 64 | 1 | local
446 | | And COP Add whitelist Entry | ${dut1} | ${dut1_if1} | ip6 | 1
447 | | And COP Add whitelist Entry | ${dut2} | ${dut2_if2} | ip6 | 1
448 | | And COP interface enable or disable | ${dut1} | ${dut1_if1} | enable
449 | | And COP interface enable or disable | ${dut2} | ${dut2_if2} | enable
450 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
451 | | ... | ${binary_max} | ${traffic_profile}
452 | | ... | ${min_rate} | ${max_rate} | ${threshold}
453 | | ... | ${perf_pdr_loss_acceptance} | ${perf_pdr_loss_acceptance_type}
454
455 | tc15-1518B-4t4c-ethip6-ip6base-copwhtlistbase-ndrdisc
456 | | [Documentation]
457 | | ... | [Cfg] DUT runs IPv6 routing and whitelist filters config with \
458 | | ... | 4 threads, 4 phy cores, 2 receive queue per NIC port. [Ver] Find NDR
459 | | ... | for 1518 Byte frames using binary search start at 10GE linerate,
460 | | ... | step 10kpps.
461 | | [Tags] | 1518B | 4T4C | MTHREAD | NDRDISC | SKIP_PATCH
462 | | ${framesize}= | Set Variable | ${1518}
463 | | ${min_rate}= | Set Variable | ${10000}
464 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
465 | | ${binary_min}= | Set Variable | ${min_rate}
466 | | ${binary_max}= | Set Variable | ${max_rate}
467 | | ${threshold}= | Set Variable | ${min_rate}
468 | | Given Add '4' worker threads and '2' rxqueues in 3-node single-link circular topology
469 | | And Add PCI devices to DUTs in 3-node single link topology
470 | | And Add no multi seg to all DUTs
471 | | And Apply startup configuration on all VPP DUTs
472 | | When Initialize IPv6 forwarding in 3-node circular topology
473 | | And Add fib table | ${dut1} | 2001:1:: | 64 | 1 | local
474 | | And Add fib table | ${dut2} | 2001:2:: | 64 | 1 | local
475 | | And COP Add whitelist Entry | ${dut1} | ${dut1_if1} | ip6 | 1
476 | | And COP Add whitelist Entry | ${dut2} | ${dut2_if2} | ip6 | 1
477 | | And COP interface enable or disable | ${dut1} | ${dut1_if1} | enable
478 | | And COP interface enable or disable | ${dut2} | ${dut2_if2} | enable
479 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
480 | | ... | ${binary_max} | ${traffic_profile}
481 | | ... | ${min_rate} | ${max_rate} | ${threshold}
482
483 | tc16-1518B-4t4c-ethip6-ip6base-copwhtlistbase-pdrdisc
484 | | [Documentation]
485 | | ... | [Cfg] DUT runs IPv6 routing and whitelist filters config with \
486 | | ... | 4 threads, 4 phy cores, 2 receive queue per NIC port. [Ver] Find PDR
487 | | ... | for 1518 Byte frames using binary search start at 10GE linerate,
488 | | ... | step 10kpps, LT=0.5%.
489 | | [Tags] | 1518B | 4T4C | MTHREAD | PDRDISC | SKIP_PATCH
490 | | ${framesize}= | Set Variable | ${1518}
491 | | ${min_rate}= | Set Variable | ${10000}
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 '4' worker threads and '2' rxqueues in 3-node single-link circular topology
497 | | And Add PCI devices to DUTs in 3-node single link topology
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} | 2001:1:: | 64 | 1 | local
502 | | And Add fib table | ${dut2} | 2001:2:: | 64 | 1 | local
503 | | And COP Add whitelist Entry | ${dut1} | ${dut1_if1} | ip6 | 1
504 | | And COP Add whitelist Entry | ${dut2} | ${dut2_if2} | ip6 | 1
505 | | And COP interface enable or disable | ${dut1} | ${dut1_if1} | enable
506 | | And COP interface enable or disable | ${dut2} | ${dut2_if2} | enable
507 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
508 | | ... | ${binary_max} | ${traffic_profile}
509 | | ... | ${min_rate} | ${max_rate} | ${threshold}
510 | | ... | ${perf_pdr_loss_acceptance} | ${perf_pdr_loss_acceptance_type}
511
512 | tc17-9000B-4t4c-ethip6-ip6base-copwhtlistbase-ndrdisc
513 | | [Documentation]
514 | | ... | [Cfg] DUT runs IPv6 routing and whitelist filters config with \
515 | | ... | 4 threads, 4 phy cores, 2 receive queue per NIC port. [Ver] Find NDR
516 | | ... | for 9000 Byte frames using binary search start at 10GE linerate,
517 | | ... | step 5kpps.
518 | | [Tags] | 9000B | 4T4C | MTHREAD | NDRDISC | SKIP_PATCH
519 | | ${framesize}= | Set Variable | ${9000}
520 | | ${min_rate}= | Set Variable | ${10000}
521 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
522 | | ${binary_min}= | Set Variable | ${min_rate}
523 | | ${binary_max}= | Set Variable | ${max_rate}
524 | | ${threshold}= | Set Variable | ${min_rate}
525 | | Given Add '4' worker threads and '2' rxqueues in 3-node single-link circular topology
526 | | And Add PCI devices to DUTs in 3-node single link topology
527 | | And Apply startup configuration on all VPP DUTs
528 | | When Initialize IPv6 forwarding in 3-node circular topology
529 | | And Add fib table | ${dut1} | 2001:1:: | 64 | 1 | local
530 | | And Add fib table | ${dut2} | 2001:2:: | 64 | 1 | local
531 | | And COP Add whitelist Entry | ${dut1} | ${dut1_if1} | ip6 | 1
532 | | And COP Add whitelist Entry | ${dut2} | ${dut2_if2} | ip6 | 1
533 | | And COP interface enable or disable | ${dut1} | ${dut1_if1} | enable
534 | | And COP interface enable or disable | ${dut2} | ${dut2_if2} | enable
535 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
536 | | ... | ${binary_max} | ${traffic_profile}
537 | | ... | ${min_rate} | ${max_rate} | ${threshold}
538
539 | tc18-9000B-4t4c-ethip6-ip6base-copwhtlistbase-pdrdisc
540 | | [Documentation]
541 | | ... | [Cfg] DUT runs IPv6 routing and whitelist filters config with \
542 | | ... | 4 threads, 4 phy cores, 2 receive queue per NIC port. [Ver] Find PDR
543 | | ... | for 9000 Byte frames using binary search start at 10GE linerate,
544 | | ... | step 5kpps, LT=0.5%.
545 | | [Tags] | 9000B | 4T4C | MTHREAD | PDRDISC | SKIP_PATCH
546 | | ${framesize}= | Set Variable | ${9000}
547 | | ${min_rate}= | Set Variable | ${10000}
548 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
549 | | ${binary_min}= | Set Variable | ${min_rate}
550 | | ${binary_max}= | Set Variable | ${max_rate}
551 | | ${threshold}= | Set Variable | ${min_rate}
552 | | Given Add '4' worker threads and '2' rxqueues in 3-node single-link circular topology
553 | | And Add PCI devices to DUTs in 3-node single link topology
554 | | And Apply startup configuration on all VPP DUTs
555 | | When Initialize IPv6 forwarding in 3-node circular topology
556 | | And Add fib table | ${dut1} | 2001:1:: | 64 | 1 | local
557 | | And Add fib table | ${dut2} | 2001:2:: | 64 | 1 | local
558 | | And COP Add whitelist Entry | ${dut1} | ${dut1_if1} | ip6 | 1
559 | | And COP Add whitelist Entry | ${dut2} | ${dut2_if2} | ip6 | 1
560 | | And COP interface enable or disable | ${dut1} | ${dut1_if1} | enable
561 | | And COP interface enable or disable | ${dut2} | ${dut2_if2} | enable
562 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
563 | | ... | ${binary_max} | ${traffic_profile}
564 | | ... | ${min_rate} | ${max_rate} | ${threshold}
565 | | ... | ${perf_pdr_loss_acceptance} | ${perf_pdr_loss_acceptance_type}