CSIT-664: Refactor setups and teardowns
[csit.git] / tests / perf / 40ge2p1xl710-ethip4ipsecbasetnl-ip4base-tnl-aes-gcm-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 | NDRPDRDISC
19 | ... | IP4FWD | IPSEC | IPSECHW | IPSECTUN | NIC_Intel-XL710 | BASE
20 | ...
21 | Suite Setup | Set up IPSec performance test suite | L3 | Intel-XL710
22 | ...
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 | *IPv4 IPsec tunnel mode performance test suite.*
31 | ...
32 | ... | *[Top] Network Topologies:* TG-DUT1-DUT2-TG 3-node circular topology
33 | ... | with single links between nodes.
34 | ... | *[Enc] Packet Encapsulations:* Eth-IPv4 on TG-DUTn,
35 | ... | Eth-IPv4-IPSec on DUT1-DUT2
36 | ... | *[Cfg] DUT configuration:* DUT1 and DUT2 are configured with multiple
37 | ... | IPsec tunnels between them. DUTs get IPv4 traffic from TG, encrypt it
38 | ... | and send to another DUT, where packets are decrypted and sent back to TG
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 number
42 | ... | of packets transmitted. NDR is discovered for different
43 | ... | number of IPsec tunnels using binary search algorithms with configured
44 | ... | starting rate and final step that determines throughput measurement
45 | ... | 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, number of flows per flow-group equals to
48 | ... | number of IPSec tunnels) with all packets
49 | ... | containing Ethernet header, IPv4 header with IP protocol=61 and
50 | ... | static payload. MAC addresses are matching MAC addresses of the TG
51 | ... | node interfaces. Incrementing of IP.dst (IPv4 destination address) field
52 | ... | is applied to both streams.
53 | ... | *[Ref] Applicable standard specifications:* RFC4303 and RFC2544.
54
55 *** Variables ***
56 # XL710-DA2 bandwidth limit ~49Gbps/2=24.5Gbps
57 | ${s_24.5G} | ${24500000000}
58 # XL710-DA2 Mpps limit 37.5Mpps/2=18.75Mpps
59 | ${s_18.75Mpps} | ${18750000}
60 | ${tg_if1_ip4}= | 192.168.10.2
61 | ${dut1_if1_ip4}= | 192.168.10.1
62 | ${dut1_if2_ip4}= | 172.168.1.1
63 | ${dut2_if1_ip4}= | 172.168.1.2
64 | ${dut2_if2_ip4}= | 192.168.20.1
65 | ${tg_if2_ip4}= | 192.168.20.2
66 | ${raddr_ip4}= | 20.0.0.0
67 | ${laddr_ip4}= | 10.0.0.0
68 | ${addr_range}= | ${32}
69 | ${ipsec_overhead_gcm}= | ${54}
70 | ${n_tunnels}= | ${1}
71 # Traffic profile:
72 | ${traffic_profile} | trex-sl-3n-ethip4-ip4dst${n_tunnels}
73
74 *** Test Cases ***
75 | tc01-64B-1t1c-ethip4ipsecbasetnl-ip4base-tnl-aes-gcm-ndrdisc
76 | | [Documentation]
77 | | ... | [Cfg] DUTs run 1 IPsec tunnel AES GCM in each direction, configured\
78 | | ... | with 1 thread, 1 phy core, 1 receive queue per NIC port.
79 | | ... | [Ver] Find NDR for 64 Byte frames\
80 | | ... | using binary search start at 40GE linerate, step 100kpps.
81 | | ...
82 | | [Tags] | 64B | 1T1C | STHREAD | NDRDISC
83 | | ...
84 | | ${framesize}= | Set Variable | ${64}
85 | | ${min_rate}= | Set Variable | ${10000}
86 | | ${max_rate}= | Set Variable | ${s_18.75Mpps}
87 | | ${binary_min}= | Set Variable | ${min_rate}
88 | | ${binary_max}= | Set Variable | ${max_rate}
89 | | ${threshold}= | Set Variable | ${min_rate}
90 | | ${encr_alg}= | Crypto Alg AES GCM 128
91 | | ${auth_alg}= | Integ Alg AES GCM 128
92 | | Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
93 | | And Generate keys for IPSec | ${encr_alg} | ${auth_alg}
94 | | And Add PCI devices to DUTs in 3-node single link topology
95 | | And Add no multi seg to all DUTs
96 | | And Add cryptodev to all DUTs | ${1}
97 | | And Apply startup configuration on all VPP DUTs
98 | | And Initialize IPSec in 3-node circular topology
99 | | Vpp Route Add | ${dut1} | ${raddr_ip4} | 8 | ${dut2_if1_ip4} | ${dut1_if2}
100 | | Vpp Route Add | ${dut2} | ${laddr_ip4} | 8 | ${dut1_if2_ip4} | ${dut2_if1}
101 | | And VPP IPsec Add Multiple Tunnels
102 | | ... | ${dut1} | ${dut2} | ${dut1_if2} | ${dut2_if1} | ${n_tunnels}
103 | | ... | ${encr_alg} | ${encr_key} | ${auth_alg} | ${auth_key}
104 | | ... | ${dut1_if2_ip4} | ${dut2_if1_ip4} | ${laddr_ip4} | ${raddr_ip4}
105 | | ... | ${addr_range}
106 | | Then Find NDR using binary search and pps | ${framesize}
107 | | ... | ${binary_min} | ${binary_max} | ${traffic_profile}
108 | | ... | ${min_rate} | ${max_rate} | ${threshold}
109
110 | tc02-64B-1t1c-ethip4ipsecbasetnl-ip4base-tnl-aes-gcm-pdrdisc
111 | | [Documentation]
112 | | ... | [Cfg] DUTs run 1 IPsec tunnel AES GCM in each direction, configured\
113 | | ... | with 1 thread, 1 phy core, 1 receive queue per NIC port.
114 | | ... | [Ver] Find PDR for 64 Byte frames using binary search start at 40GE\
115 | | ... | linerate, step 100kpps and loss tolerance of 0.5%.
116 | | ...
117 | | [Tags] | 64B | 1T1C | STHREAD | PDRDISC | SKIP_PATCH
118 | | ...
119 | | ${framesize}= | Set Variable | ${64}
120 | | ${min_rate}= | Set Variable | ${10000}
121 | | ${max_rate}= | Set Variable | ${s_18.75Mpps}
122 | | ${binary_min}= | Set Variable | ${min_rate}
123 | | ${binary_max}= | Set Variable | ${max_rate}
124 | | ${threshold}= | Set Variable | ${min_rate}
125 | | ${encr_alg}= | Crypto Alg AES GCM 128
126 | | ${auth_alg}= | Integ Alg AES GCM 128
127 | | Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
128 | | And Generate keys for IPSec | ${encr_alg} | ${auth_alg}
129 | | And Add PCI devices to DUTs in 3-node single link topology
130 | | And Add no multi seg to all DUTs
131 | | And Add cryptodev to all DUTs | ${1}
132 | | And Apply startup configuration on all VPP DUTs
133 | | And Initialize IPSec in 3-node circular topology
134 | | Vpp Route Add | ${dut1} | ${raddr_ip4} | 8 | ${dut2_if1_ip4} | ${dut1_if2}
135 | | Vpp Route Add | ${dut2} | ${laddr_ip4} | 8 | ${dut1_if2_ip4} | ${dut2_if1}
136 | | And VPP IPsec Add Multiple Tunnels
137 | | ... | ${dut1} | ${dut2} | ${dut1_if2} | ${dut2_if1} | ${n_tunnels}
138 | | ... | ${encr_alg} | ${encr_key} | ${auth_alg} | ${auth_key}
139 | | ... | ${dut1_if2_ip4} | ${dut2_if1_ip4} | ${laddr_ip4} | ${raddr_ip4}
140 | | ... | ${addr_range}
141 | | Then Find PDR using binary search and pps | ${framesize}
142 | | ... | ${binary_min} | ${binary_max} | ${traffic_profile}
143 | | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance}
144 | | ... | ${perf_pdr_loss_acceptance_type}
145
146 | tc03-1518B-1t1c-ethip4ipsecbasetnl-ip4base-tnl-aes-gcm-ndrdisc
147 | | [Documentation]
148 | | ... | [Cfg] DUTs run 1 IPsec tunnel AES GCM in each direction, configured\
149 | | ... | with 1 thread, 1 phy core, 1 receive queue per NIC port.
150 | | ... | [Ver] Find NDR for 1518 Byte frames\
151 | | ... | using binary search start at 40GE linerate, step 100kpps.
152 | | ...
153 | | [Tags] | 1518B | 1T1C | STHREAD | NDRDISC
154 | | ...
155 | | ${framesize}= | Set Variable | ${1518}
156 | | ${min_rate}= | Set Variable | ${10000}
157 | | ${max_rate}= | Calculate pps | ${s_24.5G}
158 | | ... | ${framesize + ${ipsec_overhead_gcm}}
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 GCM 128
163 | | ${auth_alg}= | Integ Alg AES GCM 128
164 | | Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
165 | | And Generate keys for IPSec | ${encr_alg} | ${auth_alg}
166 | | And Add PCI devices to DUTs in 3-node single link topology
167 | | And Add cryptodev to all DUTs | ${1}
168 | | And Apply startup configuration on all VPP DUTs
169 | | And Initialize IPSec in 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-ethip4ipsecbasetnl-ip4base-tnl-aes-gcm-pdrdisc
182 | | [Documentation]
183 | | ... | [Cfg] DUTs run 1 IPsec tunnel AES GCM in each direction, configured\
184 | | ... | 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}
193 | | ... | ${framesize + ${ipsec_overhead_gcm}}
194 | | ${binary_min}= | Set Variable | ${min_rate}
195 | | ${binary_max}= | Set Variable | ${max_rate}
196 | | ${threshold}= | Set Variable | ${min_rate}
197 | | ${encr_alg}= | Crypto Alg AES GCM 128
198 | | ${auth_alg}= | Integ Alg AES GCM 128
199 | | Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
200 | | And Generate keys for IPSec | ${encr_alg} | ${auth_alg}
201 | | And Add PCI devices to DUTs in 3-node single link topology
202 | | And Add cryptodev to all DUTs | ${1}
203 | | And Apply startup configuration on all VPP DUTs
204 | | And Initialize IPSec in 3-node circular topology
205 | | Vpp Route Add | ${dut1} | ${raddr_ip4} | 8 | ${dut2_if1_ip4} | ${dut1_if2}
206 | | Vpp Route Add | ${dut2} | ${laddr_ip4} | 8 | ${dut1_if2_ip4} | ${dut2_if1}
207 | | And VPP IPsec Add Multiple Tunnels
208 | | ... | ${dut1} | ${dut2} | ${dut1_if2} | ${dut2_if1} | ${n_tunnels}
209 | | ... | ${encr_alg} | ${encr_key} | ${auth_alg} | ${auth_key}
210 | | ... | ${dut1_if2_ip4} | ${dut2_if1_ip4} | ${laddr_ip4} | ${raddr_ip4}
211 | | ... | ${addr_range}
212 | | Then Find PDR using binary search and pps | ${framesize}
213 | | ... | ${binary_min} | ${binary_max} | ${traffic_profile}
214 | | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance}
215 | | ... | ${perf_pdr_loss_acceptance_type}
216
217 | tc05-IMIX-1t1c-ethip4ipsecbasetnl-ip4base-tnl-aes-gcm-ndrdisc
218 | | [Documentation]
219 | | ... | [Cfg] DUTs run 1 IPsec tunnel AES GCM in each direction, configured\
220 | | ... | with 1 thread, 1 phy core, 1 receive queue per NIC port.
221 | | ... | [Ver] Find NDR for IMIX_v4_1 frames\
222 | | ... | using binary search start at 40GE linerate, step 100kpps.
223 | | ... | IMIX_v4_1 = (28x64B; 16x570B; 4x1518B)
224 | | ...
225 | | [Tags] | IMIX | 1T1C | STHREAD | NDRDISC
226 | | ...
227 | | ${framesize}= | Set Variable | IMIX_v4_1
228 | | ${imix_size}= | Get Frame Size | ${framesize}
229 | | ${min_rate}= | Set Variable | ${10000}
230 | | ${max_rate}= | Calculate pps | ${s_24.5G}
231 | | ... | ${imix_size} + ${ipsec_overhead_gcm}
232 | | ${binary_min}= | Set Variable | ${min_rate}
233 | | ${binary_max}= | Set Variable | ${max_rate}
234 | | ${threshold}= | Set Variable | ${min_rate}
235 | | ${encr_alg}= | Crypto Alg AES GCM 128
236 | | ${auth_alg}= | Integ Alg AES GCM 128
237 | | Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
238 | | And Generate keys for IPSec | ${encr_alg} | ${auth_alg}
239 | | And Add PCI devices to DUTs in 3-node single link topology
240 | | And Add cryptodev to all DUTs | ${1}
241 | | And Apply startup configuration on all VPP DUTs
242 | | And Initialize IPSec in 3-node circular topology
243 | | Vpp Route Add | ${dut1} | ${raddr_ip4} | 8 | ${dut2_if1_ip4} | ${dut1_if2}
244 | | Vpp Route Add | ${dut2} | ${laddr_ip4} | 8 | ${dut1_if2_ip4} | ${dut2_if1}
245 | | And VPP IPsec Add Multiple Tunnels
246 | | ... | ${dut1} | ${dut2} | ${dut1_if2} | ${dut2_if1} | ${n_tunnels}
247 | | ... | ${encr_alg} | ${encr_key} | ${auth_alg} | ${auth_key}
248 | | ... | ${dut1_if2_ip4} | ${dut2_if1_ip4} | ${laddr_ip4} | ${raddr_ip4}
249 | | ... | ${addr_range}
250 | | Then Find NDR using binary search and pps | ${framesize}
251 | | ... | ${binary_min} | ${binary_max} | ${traffic_profile}
252 | | ... | ${min_rate} | ${max_rate} | ${threshold}
253
254 | tc06-IMIX-1t1c-ethip4ipsecbasetnl-ip4base-tnl-aes-gcm-pdrdisc
255 | | [Documentation]
256 | | ... | [Cfg] DUTs run 1 IPsec tunnel AES GCM in each direction, configured\
257 | | ... | with 1 thread, 1 phy core, 1 receive queue per NIC port.
258 | | ... | [Ver] Find PDR for IMIX_v4_1 frames using binary search start at 40GE\
259 | | ... | linerate, step 100kpps and loss tolerance of 0.5%.
260 | | ... | IMIX_v4_1 = (28x64B; 16x570B; 4x1518B)
261 | | ...
262 | | [Tags] | IMIX | 1T1C | STHREAD | PDRDISC | SKIP_PATCH
263 | | ...
264 | | ${framesize}= | Set Variable | IMIX_v4_1
265 | | ${imix_size}= | Get Frame Size | ${framesize}
266 | | ${min_rate}= | Set Variable | ${10000}
267 | | ${max_rate}= | Calculate pps | ${s_24.5G}
268 | | ... | ${imix_size} + ${ipsec_overhead_gcm}
269 | | ${binary_min}= | Set Variable | ${min_rate}
270 | | ${binary_max}= | Set Variable | ${max_rate}
271 | | ${threshold}= | Set Variable | ${min_rate}
272 | | ${encr_alg}= | Crypto Alg AES GCM 128
273 | | ${auth_alg}= | Integ Alg AES GCM 128
274 | | Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
275 | | And Generate keys for IPSec | ${encr_alg} | ${auth_alg}
276 | | And Add PCI devices to DUTs in 3-node single link topology
277 | | And Add cryptodev to all DUTs | ${1}
278 | | And Apply startup configuration on all VPP DUTs
279 | | And Initialize IPSec in 3-node circular topology
280 | | Vpp Route Add | ${dut1} | ${raddr_ip4} | 8 | ${dut2_if1_ip4} | ${dut1_if2}
281 | | Vpp Route Add | ${dut2} | ${laddr_ip4} | 8 | ${dut1_if2_ip4} | ${dut2_if1}
282 | | And VPP IPsec Add Multiple Tunnels
283 | | ... | ${dut1} | ${dut2} | ${dut1_if2} | ${dut2_if1} | ${n_tunnels}
284 | | ... | ${encr_alg} | ${encr_key} | ${auth_alg} | ${auth_key}
285 | | ... | ${dut1_if2_ip4} | ${dut2_if1_ip4} | ${laddr_ip4} | ${raddr_ip4}
286 | | ... | ${addr_range}
287 | | Then Find PDR using binary search and pps | ${framesize}
288 | | ... | ${binary_min} | ${binary_max} | ${traffic_profile}
289 | | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance}
290 | | ... | ${perf_pdr_loss_acceptance_type}
291
292 | tc07-64B-2t2c-ethip4ipsecbasetnl-ip4base-tnl-aes-gcm-ndrdisc
293 | | [Documentation]
294 | | ... | [Cfg] DUTs run 1 IPsec tunnel AES GCM in each direction, configured\
295 | | ... | with 2 thread, 2 phy core, 1 receive queue per NIC port.
296 | | ... | [Ver] Find NDR for 64 Byte frames\
297 | | ... | using binary search start at 40GE linerate, step 100kpps.
298 | | ...
299 | | [Tags] | 64B | 2T2C | MTHREAD | NDRDISC
300 | | ...
301 | | ${framesize}= | Set Variable | ${64}
302 | | ${min_rate}= | Set Variable | ${10000}
303 | | ${max_rate}= | Set Variable | ${s_18.75Mpps}
304 | | ${binary_min}= | Set Variable | ${min_rate}
305 | | ${binary_max}= | Set Variable | ${max_rate}
306 | | ${threshold}= | Set Variable | ${min_rate}
307 | | ${encr_alg}= | Crypto Alg AES GCM 128
308 | | ${auth_alg}= | Integ Alg AES GCM 128
309 | | Given Add '2' worker threads and '1' rxqueues in 3-node single-link circular topology
310 | | And Generate keys for IPSec | ${encr_alg} | ${auth_alg}
311 | | And Add PCI devices to DUTs in 3-node single link topology
312 | | And Add no multi seg to all DUTs
313 | | And Add cryptodev to all DUTs | ${2}
314 | | And Apply startup configuration on all VPP DUTs
315 | | And Initialize IPSec in 3-node circular topology
316 | | Vpp Route Add | ${dut1} | ${raddr_ip4} | 8 | ${dut2_if1_ip4} | ${dut1_if2}
317 | | Vpp Route Add | ${dut2} | ${laddr_ip4} | 8 | ${dut1_if2_ip4} | ${dut2_if1}
318 | | And VPP IPsec Add Multiple Tunnels
319 | | ... | ${dut1} | ${dut2} | ${dut1_if2} | ${dut2_if1} | ${n_tunnels}
320 | | ... | ${encr_alg} | ${encr_key} | ${auth_alg} | ${auth_key}
321 | | ... | ${dut1_if2_ip4} | ${dut2_if1_ip4} | ${laddr_ip4} | ${raddr_ip4}
322 | | ... | ${addr_range}
323 | | Then Find NDR using binary search and pps | ${framesize}
324 | | ... | ${binary_min} | ${binary_max} | ${traffic_profile}
325 | | ... | ${min_rate} | ${max_rate} | ${threshold}
326
327 | tc08-64B-2t2c-ethip4ipsecbasetnl-ip4base-tnl-aes-gcm-pdrdisc
328 | | [Documentation]
329 | | ... | [Cfg] DUTs run 1 IPsec tunnel AES GCM in each direction, configured\
330 | | ... | with 2 thread, 2 phy core, 1 receive queue per NIC port.
331 | | ... | [Ver] Find PDR for 64 Byte frames using binary search start at 40GE\
332 | | ... | linerate, step 100kpps and loss tolerance of 0.5%.
333 | | ...
334 | | [Tags] | 64B | 2T2C | MTHREAD | PDRDISC | SKIP_PATCH
335 | | ...
336 | | ${framesize}= | Set Variable | ${64}
337 | | ${min_rate}= | Set Variable | ${10000}
338 | | ${max_rate}= | Set Variable | ${s_18.75Mpps}
339 | | ${binary_min}= | Set Variable | ${min_rate}
340 | | ${binary_max}= | Set Variable | ${max_rate}
341 | | ${threshold}= | Set Variable | ${min_rate}
342 | | ${encr_alg}= | Crypto Alg AES GCM 128
343 | | ${auth_alg}= | Integ Alg AES GCM 128
344 | | Given Add '2' worker threads and '1' rxqueues in 3-node single-link circular topology
345 | | And Generate keys for IPSec | ${encr_alg} | ${auth_alg}
346 | | And Add PCI devices to DUTs in 3-node single link topology
347 | | And Add no multi seg to all DUTs
348 | | And Add cryptodev to all DUTs | ${2}
349 | | And Apply startup configuration on all VPP DUTs
350 | | And Initialize IPSec in 3-node circular topology
351 | | Vpp Route Add | ${dut1} | ${raddr_ip4} | 8 | ${dut2_if1_ip4} | ${dut1_if2}
352 | | Vpp Route Add | ${dut2} | ${laddr_ip4} | 8 | ${dut1_if2_ip4} | ${dut2_if1}
353 | | And VPP IPsec Add Multiple Tunnels
354 | | ... | ${dut1} | ${dut2} | ${dut1_if2} | ${dut2_if1} | ${n_tunnels}
355 | | ... | ${encr_alg} | ${encr_key} | ${auth_alg} | ${auth_key}
356 | | ... | ${dut1_if2_ip4} | ${dut2_if1_ip4} | ${laddr_ip4} | ${raddr_ip4}
357 | | ... | ${addr_range}
358 | | Then Find PDR using binary search and pps | ${framesize}
359 | | ... | ${binary_min} | ${binary_max} | ${traffic_profile}
360 | | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance}
361 | | ... | ${perf_pdr_loss_acceptance_type}