CSIT-524: Traffic generator using python profiles
[csit.git] / tests / perf / 40ge2p1xl710-ethip4ipsecscale1000tnl-ip4base-tnl-cbc-sha1-ndrpdrdisc.robot
1 # Copyright (c) 2017 Cisco and/or its affiliates.
2 # Licensed under the Apache License, Version 2.0 (the "License");
3 # you may not use this file except in compliance with the License.
4 # You may obtain a copy of the License at:
5 #
6 #     http://www.apache.org/licenses/LICENSE-2.0
7 #
8 # Unless required by applicable law or agreed to in writing, software
9 # distributed under the License is distributed on an "AS IS" BASIS,
10 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11 # See the License for the specific language governing permissions and
12 # limitations under the License.
13
14 *** Settings ***
15 | Resource | resources/libraries/robot/performance.robot
16 | Resource | resources/libraries/robot/ipsec.robot
17 | ...
18 | Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | SCALE | NDRPDRDISC
19 | ... | IP4FWD | IPSEC | IPSECHW | IPSECTUN | NIC_Intel-XL710 | TNL_1000
20 | ...
21 | Suite Setup | Run Keywords
22 | ... | 3-node Performance Suite Setup with DUT's NIC model | L3 | Intel-XL710
23 | ... | AND | Verify Crypto Device On All DUTs | force_init=${True}
24 | ... | AND | Verify Kernel Module On All DUTs | igb_uio | force_load=${True}
25 | Suite Teardown | 3-node Performance Suite Teardown
26 | ...
27 | Test Setup | Performance test setup
28 | Test Teardown | Performance test teardown | ${min_rate}pps | ${framesize}
29 | ... | ${traffic_profile}
30 | ...
31 | Documentation | *IPv4 IPsec tunnel mode performance test suite.*
32 | ...
33 | ... | *[Top] Network Topologies:* TG-DUT1-DUT2-TG 3-node circular topology
34 | ... | with single links between nodes.
35 | ... | *[Enc] Packet Encapsulations:* Eth-IPv4 on TG-DUTn,
36 | ... | Eth-IPv4-IPSec on DUT1-DUT2
37 | ... | *[Cfg] DUT configuration:* DUT1 and DUT2 are configured with multiple
38 | ... | IPsec tunnels between them. DUTs get IPv4 traffic from TG, encrypt it
39 | ... | and send to another DUT, where packets are decrypted and sent back to TG
40 | ... | *[Ver] TG verification:* TG finds and reports throughput NDR (Non Drop
41 | ... | Rate) with zero packet loss tolerance or throughput PDR (Partial Drop
42 | ... | Rate) with non-zero packet loss tolerance (LT) expressed in number
43 | ... | of packets transmitted. NDR is discovered for different
44 | ... | number of IPsec tunnels using binary search algorithms with configured
45 | ... | starting rate and final step that determines throughput measurement
46 | ... | resolution. Test packets are generated by TG on
47 | ... | links to DUTs. TG traffic profile contains two L3 flow-groups
48 | ... | (flow-group per direction, number of flows per flow-group equals to
49 | ... | number of IPSec tunnels) with all packets
50 | ... | containing Ethernet header, IPv4 header with IP protocol=61 and
51 | ... | static payload. MAC addresses are matching MAC addresses of the TG
52 | ... | node interfaces. Incrementing of IP.dst (IPv4 destination address) field
53 | ... | is applied to both streams.
54 | ... | *[Ref] Applicable standard specifications:* RFC4303 and RFC2544.
55
56 *** Variables ***
57 # XL710-DA2 bandwidth limit ~49Gbps/2=24.5Gbps
58 | ${s_24.5G} | ${24500000000}
59 # XL710-DA2 Mpps limit 37.5Mpps/2=18.75Mpps
60 | ${s_18.75Mpps} | ${18750000}
61 | ${tg_if1_ip4}= | 192.168.10.2
62 | ${dut1_if1_ip4}= | 192.168.10.1
63 | ${dut1_if2_ip4}= | 172.168.1.1
64 | ${dut2_if1_ip4}= | 172.168.1.2
65 | ${dut2_if2_ip4}= | 192.168.20.1
66 | ${tg_if2_ip4}= | 192.168.20.2
67 | ${raddr_ip4}= | 20.0.0.0
68 | ${laddr_ip4}= | 10.0.0.0
69 | ${addr_range}= | ${32}
70 | ${ipsec_overhead}= | ${58}
71 | ${n_tunnels}= | ${1000}
72 # Traffic profile:
73 | ${traffic_profile} | trex-sl-3n-ethip4-ip4dst${n_tunnels}
74
75 *** Test Cases ***
76 | tc01-64B-1t1c-ethip4ipsecscale1000tnl-ip4base-tnl-cbc-sha1-ndrdisc
77 | | [Documentation]
78 | | ... | [Cfg] DUTs run 1000 IPsec tunnels CBC-SHA1 in each direction,\
79 | | ... | configured with 1 thread, 1 phy core, 1 receive queue per NIC port.
80 | | ... | [Ver] Find NDR for 64 Byte frames\
81 | | ... | using binary search start at 40GE linerate, step 100kpps.
82 | | ...
83 | | [Tags] | 64B | 1T1C | STHREAD | NDRDISC
84 | | ...
85 | | ${framesize}= | Set Variable | ${64}
86 | | ${min_rate}= | Set Variable | ${10000}
87 | | ${max_rate}= | Set Variable | ${s_18.75Mpps}
88 | | ${binary_min}= | Set Variable | ${min_rate}
89 | | ${binary_max}= | Set Variable | ${max_rate}
90 | | ${threshold}= | Set Variable | ${min_rate}
91 | | ${encr_alg}= | Crypto Alg AES CBC 128
92 | | ${auth_alg}= | Integ Alg SHA1 96
93 | | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo
94 | | And IPsec Generate Keys | ${encr_alg} | ${auth_alg}
95 | | And Add PCI devices to DUTs from 3-node single link topology
96 | | And Add No Multi Seg to all DUTs
97 | | And Add Cryptodev to all DUTs | ${1}
98 | | And Apply startup configuration on all VPP DUTs
99 | | And IPsec initialized in a 3-node circular topology
100 | | Vpp Route Add | ${dut1} | ${raddr_ip4} | 8 | ${dut2_if1_ip4} | ${dut1_if2}
101 | | Vpp Route Add | ${dut2} | ${laddr_ip4} | 8 | ${dut1_if2_ip4} | ${dut2_if1}
102 | | And VPP IPsec Add Multiple Tunnels
103 | | ... | ${dut1} | ${dut2} | ${dut1_if2} | ${dut2_if1} | ${n_tunnels}
104 | | ... | ${encr_alg} | ${encr_key} | ${auth_alg} | ${auth_key}
105 | | ... | ${dut1_if2_ip4} | ${dut2_if1_ip4} | ${laddr_ip4} | ${raddr_ip4}
106 | | ... | ${addr_range}
107 | | Then Find NDR using binary search and pps | ${framesize}
108 | | ... | ${binary_min} | ${binary_max} | ${traffic_profile}
109 | | ... | ${min_rate} | ${max_rate} | ${threshold}
110
111 | tc02-64B-1t1c-ethip4ipsecscale1000tnl-ip4base-tnl-cbc-sha1-pdrdisc
112 | | [Documentation]
113 | | ... | [Cfg] DUTs run 1000 IPsec tunnels CBC-SHA1 in each direction,\
114 | | ... | configured with 1 thread, 1 phy core, 1 receive queue per NIC port.
115 | | ... | [Ver] Find PDR for 64 Byte frames using binary search start at 40GE\
116 | | ... | linerate, step 100kpps and loss tolerance of 0.5%.
117 | | ...
118 | | [Tags] | 64B | 1T1C | STHREAD | PDRDISC | SKIP_PATCH
119 | | ...
120 | | ${framesize}= | Set Variable | ${64}
121 | | ${min_rate}= | Set Variable | ${10000}
122 | | ${max_rate}= | Set Variable | ${s_18.75Mpps}
123 | | ${binary_min}= | Set Variable | ${min_rate}
124 | | ${binary_max}= | Set Variable | ${max_rate}
125 | | ${threshold}= | Set Variable | ${min_rate}
126 | | ${encr_alg}= | Crypto Alg AES CBC 128
127 | | ${auth_alg}= | Integ Alg SHA1 96
128 | | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo
129 | | And IPsec Generate Keys | ${encr_alg} | ${auth_alg}
130 | | And Add PCI devices to DUTs from 3-node single link topology
131 | | And Add No Multi Seg to all DUTs
132 | | And Add Cryptodev to all DUTs | ${1}
133 | | And Apply startup configuration on all VPP DUTs
134 | | And IPsec initialized in a 3-node circular topology
135 | | Vpp Route Add | ${dut1} | ${raddr_ip4} | 8 | ${dut2_if1_ip4} | ${dut1_if2}
136 | | Vpp Route Add | ${dut2} | ${laddr_ip4} | 8 | ${dut1_if2_ip4} | ${dut2_if1}
137 | | And VPP IPsec Add Multiple Tunnels
138 | | ... | ${dut1} | ${dut2} | ${dut1_if2} | ${dut2_if1} | ${n_tunnels}
139 | | ... | ${encr_alg} | ${encr_key} | ${auth_alg} | ${auth_key}
140 | | ... | ${dut1_if2_ip4} | ${dut2_if1_ip4} | ${laddr_ip4} | ${raddr_ip4}
141 | | ... | ${addr_range}
142 | | Then Find PDR using binary search and pps | ${framesize}
143 | | ... | ${binary_min} | ${binary_max} | ${traffic_profile}
144 | | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance}
145 | | ... | ${perf_pdr_loss_acceptance_type}
146
147 | tc03-1518B-1t1c-ethip4ipsecscale1000tnl-ip4base-tnl-cbc-sha1-ndrdisc
148 | | [Documentation]
149 | | ... | [Cfg] DUTs run 1000 IPsec tunnels CBC-SHA1 in each direction,\
150 | | ... | configured with 1 thread, 1 phy core, 1 receive queue per NIC port.
151 | | ... | [Ver] Find NDR for 1518 Byte frames\
152 | | ... | using binary search start at 40GE linerate, step 100kpps.
153 | | ...
154 | | [Tags] | 1518B | 1T1C | STHREAD | NDRDISC
155 | | ...
156 | | ${framesize}= | Set Variable | ${1518}
157 | | ${min_rate}= | Set Variable | ${10000}
158 | | ${max_rate}= | Calculate pps | ${s_24.5G} | ${framesize + ${ipsec_overhead}}
159 | | ${binary_min}= | Set Variable | ${min_rate}
160 | | ${binary_max}= | Set Variable | ${max_rate}
161 | | ${threshold}= | Set Variable | ${min_rate}
162 | | ${encr_alg}= | Crypto Alg AES CBC 128
163 | | ${auth_alg}= | Integ Alg SHA1 96
164 | | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo
165 | | And IPsec Generate Keys | ${encr_alg} | ${auth_alg}
166 | | And Add PCI devices to DUTs from 3-node single link topology
167 | | And Add Cryptodev to all DUTs | ${1}
168 | | And Apply startup configuration on all VPP DUTs
169 | | And IPsec initialized in a 3-node circular topology
170 | | Vpp Route Add | ${dut1} | ${raddr_ip4} | 8 | ${dut2_if1_ip4} | ${dut1_if2}
171 | | Vpp Route Add | ${dut2} | ${laddr_ip4} | 8 | ${dut1_if2_ip4} | ${dut2_if1}
172 | | And VPP IPsec Add Multiple Tunnels
173 | | ... | ${dut1} | ${dut2} | ${dut1_if2} | ${dut2_if1} | ${n_tunnels}
174 | | ... | ${encr_alg} | ${encr_key} | ${auth_alg} | ${auth_key}
175 | | ... | ${dut1_if2_ip4} | ${dut2_if1_ip4} | ${laddr_ip4} | ${raddr_ip4}
176 | | ... | ${addr_range}
177 | | Then Find NDR using binary search and pps | ${framesize}
178 | | ... | ${binary_min} | ${binary_max} | ${traffic_profile}
179 | | ... | ${min_rate} | ${max_rate} | ${threshold}
180
181 | tc04-1518B-1t1c-ethip4ipsecscale1000tnl-ip4base-tnl-cbc-sha1-pdrdisc
182 | | [Documentation]
183 | | ... | [Cfg] DUTs run 1000 IPsec tunnel CBC-SHA1 in each direction,\
184 | | ... | configured with 1 thread, 1 phy core, 1 receive queue per NIC port.
185 | | ... | [Ver] Find PDR for 1518 Byte frames using binary search start at 40GE\
186 | | ... | linerate, step 100kpps and loss tolerance of 0.5%.
187 | | ...
188 | | [Tags] | 1518B | 1T1C | STHREAD | PDRDISC | SKIP_PATCH
189 | | ...
190 | | ${framesize}= | Set Variable | ${1518}
191 | | ${min_rate}= | Set Variable | ${10000}
192 | | ${max_rate}= | Calculate pps | ${s_24.5G} | ${framesize + ${ipsec_overhead}}
193 | | ${binary_min}= | Set Variable | ${min_rate}
194 | | ${binary_max}= | Set Variable | ${max_rate}
195 | | ${threshold}= | Set Variable | ${min_rate}
196 | | ${encr_alg}= | Crypto Alg AES CBC 128
197 | | ${auth_alg}= | Integ Alg SHA1 96
198 | | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo
199 | | And IPsec Generate Keys | ${encr_alg} | ${auth_alg}
200 | | And Add PCI devices to DUTs from 3-node single link topology
201 | | And Add Cryptodev to all DUTs | ${1}
202 | | And Apply startup configuration on all VPP DUTs
203 | | And IPsec initialized in a 3-node circular topology
204 | | Vpp Route Add | ${dut1} | ${raddr_ip4} | 8 | ${dut2_if1_ip4} | ${dut1_if2}
205 | | Vpp Route Add | ${dut2} | ${laddr_ip4} | 8 | ${dut1_if2_ip4} | ${dut2_if1}
206 | | And VPP IPsec Add Multiple Tunnels
207 | | ... | ${dut1} | ${dut2} | ${dut1_if2} | ${dut2_if1} | ${n_tunnels}
208 | | ... | ${encr_alg} | ${encr_key} | ${auth_alg} | ${auth_key}
209 | | ... | ${dut1_if2_ip4} | ${dut2_if1_ip4} | ${laddr_ip4} | ${raddr_ip4}
210 | | ... | ${addr_range}
211 | | Then Find PDR using binary search and pps | ${framesize}
212 | | ... | ${binary_min} | ${binary_max} | ${traffic_profile}
213 | | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance}
214 | | ... | ${perf_pdr_loss_acceptance_type}
215
216 | tc05-IMIX-1t1c-ethip4ipsecscale1000tnl-ip4base-tnl-cbc-sha1-ndrdisc
217 | | [Documentation]
218 | | ... | [Cfg] DUTs run 1000 IPsec tunnels CBC-SHA1 in each direction,\
219 | | ... | configured with 1 thread, 1 phy core, 1 receive queue per NIC port.
220 | | ... | [Ver] Find NDR for IMIX_v4_1 frames\
221 | | ... | using binary search start at 40GE linerate, step 100kpps.
222 | | ... | IMIX_v4_1 = (28x64B; 16x570B; 4x1518B)
223 | | ...
224 | | [Tags] | IMIX | 1T1C | STHREAD | NDRDISC
225 | | ...
226 | | ${framesize}= | Set Variable | IMIX_v4_1
227 | | ${imix_size}= | Get Frame Size | ${framesize}
228 | | ${min_rate}= | Set Variable | ${10000}
229 | | ${max_rate}= | Calculate pps | ${s_24.5G} | ${imix_size} + ${ipsec_overhead}
230 | | ${binary_min}= | Set Variable | ${min_rate}
231 | | ${binary_max}= | Set Variable | ${max_rate}
232 | | ${threshold}= | Set Variable | ${min_rate}
233 | | ${encr_alg}= | Crypto Alg AES CBC 128
234 | | ${auth_alg}= | Integ Alg SHA1 96
235 | | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo
236 | | And IPsec Generate Keys | ${encr_alg} | ${auth_alg}
237 | | And Add PCI devices to DUTs from 3-node single link topology
238 | | And Add Cryptodev to all DUTs | ${1}
239 | | And Apply startup configuration on all VPP DUTs
240 | | And IPsec initialized in a 3-node circular topology
241 | | Vpp Route Add | ${dut1} | ${raddr_ip4} | 8 | ${dut2_if1_ip4} | ${dut1_if2}
242 | | Vpp Route Add | ${dut2} | ${laddr_ip4} | 8 | ${dut1_if2_ip4} | ${dut2_if1}
243 | | And VPP IPsec Add Multiple Tunnels
244 | | ... | ${dut1} | ${dut2} | ${dut1_if2} | ${dut2_if1} | ${n_tunnels}
245 | | ... | ${encr_alg} | ${encr_key} | ${auth_alg} | ${auth_key}
246 | | ... | ${dut1_if2_ip4} | ${dut2_if1_ip4} | ${laddr_ip4} | ${raddr_ip4}
247 | | ... | ${addr_range}
248 | | Then Find NDR using binary search and pps | ${framesize}
249 | | ... | ${binary_min} | ${binary_max} | ${traffic_profile}
250 | | ... | ${min_rate} | ${max_rate} | ${threshold}
251
252 | tc06-IMIX-1t1c-ethip4ipsecscale1000tnl-ip4base-tnl-cbc-sha1-pdrdisc
253 | | [Documentation]
254 | | ... | [Cfg] DUTs run 1000 IPsec tunnels CBC-SHA1 in each direction,\
255 | | ... | configured with 1 thread, 1 phy core, 1 receive queue per NIC port.
256 | | ... | [Ver] Find PDR for IMIX_v4_1 frames using binary search start at 40GE\
257 | | ... | linerate, step 100kpps and loss tolerance of 0.5%.
258 | | ... | IMIX_v4_1 = (28x64B; 16x570B; 4x1518B)
259 | | ...
260 | | [Tags] | IMIX | 1T1C | STHREAD | PDRDISC | SKIP_PATCH
261 | | ...
262 | | ${framesize}= | Set Variable | IMIX_v4_1
263 | | ${imix_size}= | Get Frame Size | ${framesize}
264 | | ${min_rate}= | Set Variable | ${10000}
265 | | ${max_rate}= | Calculate pps | ${s_24.5G} | ${imix_size} + ${ipsec_overhead}
266 | | ${binary_min}= | Set Variable | ${min_rate}
267 | | ${binary_max}= | Set Variable | ${max_rate}
268 | | ${threshold}= | Set Variable | ${min_rate}
269 | | ${encr_alg}= | Crypto Alg AES CBC 128
270 | | ${auth_alg}= | Integ Alg SHA1 96
271 | | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo
272 | | And IPsec Generate Keys | ${encr_alg} | ${auth_alg}
273 | | And Add PCI devices to DUTs from 3-node single link topology
274 | | And Add Cryptodev to all DUTs | ${1}
275 | | And Apply startup configuration on all VPP DUTs
276 | | And IPsec initialized in a 3-node circular topology
277 | | Vpp Route Add | ${dut1} | ${raddr_ip4} | 8 | ${dut2_if1_ip4} | ${dut1_if2}
278 | | Vpp Route Add | ${dut2} | ${laddr_ip4} | 8 | ${dut1_if2_ip4} | ${dut2_if1}
279 | | And VPP IPsec Add Multiple Tunnels
280 | | ... | ${dut1} | ${dut2} | ${dut1_if2} | ${dut2_if1} | ${n_tunnels}
281 | | ... | ${encr_alg} | ${encr_key} | ${auth_alg} | ${auth_key}
282 | | ... | ${dut1_if2_ip4} | ${dut2_if1_ip4} | ${laddr_ip4} | ${raddr_ip4}
283 | | ... | ${addr_range}
284 | | Then Find PDR using binary search and pps | ${framesize}
285 | | ... | ${binary_min} | ${binary_max} | ${traffic_profile}
286 | | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance}
287 | | ... | ${perf_pdr_loss_acceptance_type}
288
289 | tc07-64B-2t2c-ethip4ipsecscale1000tnl-ip4base-tnl-cbc-sha1-ndrdisc
290 | | [Documentation]
291 | | ... | [Cfg] DUTs run 1000 IPsec tunnels CBC-SHA1 in each direction,\
292 | | ... | configured with 2 thread, 2 phy core, 1 receive queue per NIC port.
293 | | ... | [Ver] Find NDR for 64 Byte frames\
294 | | ... | using binary search start at 40GE linerate, step 100kpps.
295 | | ...
296 | | [Tags] | 64B | 2T2C | MTHREAD | NDRDISC
297 | | ...
298 | | ${framesize}= | Set Variable | ${64}
299 | | ${min_rate}= | Set Variable | ${10000}
300 | | ${max_rate}= | Set Variable | ${s_18.75Mpps}
301 | | ${binary_min}= | Set Variable | ${min_rate}
302 | | ${binary_max}= | Set Variable | ${max_rate}
303 | | ${threshold}= | Set Variable | ${min_rate}
304 | | ${encr_alg}= | Crypto Alg AES CBC 128
305 | | ${auth_alg}= | Integ Alg SHA1 96
306 | | Given Add '2' worker threads and rxqueues '1' in 3-node single-link topo
307 | | And IPsec Generate Keys | ${encr_alg} | ${auth_alg}
308 | | And Add PCI devices to DUTs from 3-node single link topology
309 | | And Add No Multi Seg to all DUTs
310 | | And Add Cryptodev to all DUTs | ${2}
311 | | And Apply startup configuration on all VPP DUTs
312 | | And IPsec initialized in a 3-node circular topology
313 | | Vpp Route Add | ${dut1} | ${raddr_ip4} | 8 | ${dut2_if1_ip4} | ${dut1_if2}
314 | | Vpp Route Add | ${dut2} | ${laddr_ip4} | 8 | ${dut1_if2_ip4} | ${dut2_if1}
315 | | And VPP IPsec Add Multiple Tunnels
316 | | ... | ${dut1} | ${dut2} | ${dut1_if2} | ${dut2_if1} | ${n_tunnels}
317 | | ... | ${encr_alg} | ${encr_key} | ${auth_alg} | ${auth_key}
318 | | ... | ${dut1_if2_ip4} | ${dut2_if1_ip4} | ${laddr_ip4} | ${raddr_ip4}
319 | | ... | ${addr_range}
320 | | Then Find NDR using binary search and pps | ${framesize}
321 | | ... | ${binary_min} | ${binary_max} | ${traffic_profile}
322 | | ... | ${min_rate} | ${max_rate} | ${threshold}
323
324 | tc08-64B-2t2c-ethip4ipsecscale1000tnl-ip4base-tnl-cbc-sha1-pdrdisc
325 | | [Documentation]
326 | | ... | [Cfg] DUTs run 1000 IPsec tunnels CBC-SHA1 in each direction,\
327 | | ... | configured with 2 thread, 2 phy core, 1 receive queue per NIC port.
328 | | ... | [Ver] Find PDR for 64 Byte frames using binary search start at 40GE\
329 | | ... | linerate, step 100kpps and loss tolerance of 0.5%.
330 | | ...
331 | | [Tags] | 64B | 2T2C | MTHREAD | PDRDISC | SKIP_PATCH
332 | | ...
333 | | ${framesize}= | Set Variable | ${64}
334 | | ${min_rate}= | Set Variable | ${10000}
335 | | ${max_rate}= | Set Variable | ${s_18.75Mpps}
336 | | ${binary_min}= | Set Variable | ${min_rate}
337 | | ${binary_max}= | Set Variable | ${max_rate}
338 | | ${threshold}= | Set Variable | ${min_rate}
339 | | ${encr_alg}= | Crypto Alg AES CBC 128
340 | | ${auth_alg}= | Integ Alg SHA1 96
341 | | Given Add '2' worker threads and rxqueues '1' in 3-node single-link topo
342 | | And IPsec Generate Keys | ${encr_alg} | ${auth_alg}
343 | | And Add PCI devices to DUTs from 3-node single link topology
344 | | And Add No Multi Seg to all DUTs
345 | | And Add Cryptodev to all DUTs | ${2}
346 | | And Apply startup configuration on all VPP DUTs
347 | | And IPsec initialized in a 3-node circular topology
348 | | Vpp Route Add | ${dut1} | ${raddr_ip4} | 8 | ${dut2_if1_ip4} | ${dut1_if2}
349 | | Vpp Route Add | ${dut2} | ${laddr_ip4} | 8 | ${dut1_if2_ip4} | ${dut2_if1}
350 | | And VPP IPsec Add Multiple Tunnels
351 | | ... | ${dut1} | ${dut2} | ${dut1_if2} | ${dut2_if1} | ${n_tunnels}
352 | | ... | ${encr_alg} | ${encr_key} | ${auth_alg} | ${auth_key}
353 | | ... | ${dut1_if2_ip4} | ${dut2_if1_ip4} | ${laddr_ip4} | ${raddr_ip4}
354 | | ... | ${addr_range}
355 | | Then Find PDR using binary search and pps | ${framesize}
356 | | ... | ${binary_min} | ${binary_max} | ${traffic_profile}
357 | | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance}
358 | | ... | ${perf_pdr_loss_acceptance_type}