1 # Copyright (c) 2018 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:
6 # http://www.apache.org/licenses/LICENSE-2.0
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.
15 | Library | resources.libraries.python.DUTSetup
16 | Library | resources.tools.wrk.wrk
17 | Resource | resources/libraries/robot/performance/performance_configuration.robot
18 | Resource | resources/libraries/robot/performance/performance_utils.robot
19 | Resource | resources/libraries/robot/tcp/tcp_setup.robot
20 | Documentation | Performance suite keywords - Suite and test setups and
25 # Keywords used in setups and teardowns
27 | Set variables in 2-node circular topology
29 | | ... | Compute path for testing on two given nodes in circular
30 | | ... | topology and set corresponding suite variables.
32 | | ... | _NOTE:_ This KW sets following suite variables:
33 | | ... | - tg - TG node
34 | | ... | - tg_if1 - 1st TG interface towards DUT.
35 | | ... | - tg_if2 - 2nd TG interface towards DUT.
36 | | ... | - dut1 - DUT1 node
37 | | ... | - dut1_if1 - 1st DUT interface towards TG.
38 | | ... | - dut1_if2 - 2nd DUT interface towards TG.
40 | | Append Nodes | ${nodes['TG']} | ${nodes['DUT1']} | ${nodes['TG']}
41 | | Compute Path | always_same_link=${FALSE}
42 | | ${tg_if1} | ${tg}= | First Interface
43 | | ${dut1_if1} | ${dut1}= | First Ingress Interface
44 | | ${dut1_if2} | ${dut1}= | Last Egress Interface
45 | | ${tg_if2} | ${tg}= | Last Interface
46 | | Set Suite Variable | ${tg}
47 | | Set Suite Variable | ${tg_if1}
48 | | Set Suite Variable | ${tg_if2}
49 | | Set Suite Variable | ${dut1}
50 | | Set Suite Variable | ${dut1_if1}
51 | | Set Suite Variable | ${dut1_if2}
53 | Set variables in 3-node circular topology
55 | | ... | Compute path for testing on three given nodes in circular
56 | | ... | topology and set corresponding suite variables.
58 | | ... | _NOTE:_ This KW sets following suite variables:
59 | | ... | - tg - TG node
60 | | ... | - tg_if1 - TG interface towards DUT1.
61 | | ... | - tg_if2 - TG interface towards DUT2.
62 | | ... | - dut1 - DUT1 node
63 | | ... | - dut1_if1 - DUT1 interface towards TG.
64 | | ... | - dut1_if2 - DUT1 interface towards DUT2.
65 | | ... | - dut2 - DUT2 node
66 | | ... | - dut2_if1 - DUT2 interface towards DUT1.
67 | | ... | - dut2_if2 - DUT2 interface towards TG.
69 | | Append Nodes | ${nodes['TG']} | ${nodes['DUT1']} | ${nodes['DUT2']}
70 | | ... | ${nodes['TG']}
72 | | ${tg_if1} | ${tg}= | Next Interface
73 | | ${dut1_if1} | ${dut1}= | Next Interface
74 | | ${dut1_if2} | ${dut1}= | Next Interface
75 | | ${dut2_if1} | ${dut2}= | Next Interface
76 | | ${dut2_if2} | ${dut2}= | Next Interface
77 | | ${tg_if2} | ${tg}= | Next Interface
78 | | Set Suite Variable | ${tg}
79 | | Set Suite Variable | ${tg_if1}
80 | | Set Suite Variable | ${tg_if2}
81 | | Set Suite Variable | ${dut1}
82 | | Set Suite Variable | ${dut1_if1}
83 | | Set Suite Variable | ${dut1_if2}
84 | | Set Suite Variable | ${dut2}
85 | | Set Suite Variable | ${dut2_if1}
86 | | Set Suite Variable | ${dut2_if2}
88 | Set variables in 2-node circular topology with DUT interface model
90 | | ... | Compute path for testing on two given nodes in circular topology
91 | | ... | based on interface model provided as an argument and set
92 | | ... | corresponding suite variables.
94 | | ... | *Arguments:*
95 | | ... | - iface_model - Interface model. Type: string
97 | | ... | _NOTE:_ This KW sets following suite variables:
98 | | ... | - tg - TG node
99 | | ... | - tg_if1 - 1st TG interface towards DUT.
100 | | ... | - tg_if2 - 2nd TG interface towards DUT.
101 | | ... | - dut1 - DUT1 node
102 | | ... | - dut1_if1 - 1st DUT interface towards TG.
103 | | ... | - dut1_if2 - 2nd DUT interface towards TG.
107 | | ... | \| Set variables in 2-node circular topology with DUT interface model\
108 | | ... | \| Intel-X520-DA2 \|
110 | | [Arguments] | ${iface_model}
112 | | ${iface_model_list}= | Create list | ${iface_model}
113 | | Append Node | ${nodes['TG']}
114 | | Append Node | ${nodes['DUT1']} | filter_list=${iface_model_list}
115 | | Append Node | ${nodes['TG']}
116 | | Compute Path | always_same_link=${FALSE}
117 | | ${tg_if1} | ${tg}= | First Interface
118 | | ${dut1_if1} | ${dut1}= | First Ingress Interface
119 | | ${dut1_if2} | ${dut1}= | Last Egress Interface
120 | | ${tg_if2} | ${tg}= | Last Interface
121 | | Set Suite Variable | ${tg}
122 | | Set Suite Variable | ${tg_if1}
123 | | Set Suite Variable | ${tg_if2}
124 | | Set Suite Variable | ${dut1}
125 | | Set Suite Variable | ${dut1_if1}
126 | | Set Suite Variable | ${dut1_if2}
128 | Set variables in 3-node circular topology with DUT interface model
130 | | ... | Compute path for testing on three given nodes in circular topology
131 | | ... | based on interface model provided as an argument and set
132 | | ... | corresponding suite variables.
134 | | ... | *Arguments:*
135 | | ... | - iface_model - Interface model. Type: string
137 | | ... | _NOTE:_ This KW sets following suite variables:
138 | | ... | - tg - TG node
139 | | ... | - tg_if1 - TG interface towards DUT1.
140 | | ... | - tg_if2 - TG interface towards DUT2.
141 | | ... | - dut1 - DUT1 node
142 | | ... | - dut1_if1 - DUT1 interface towards TG.
143 | | ... | - dut1_if2 - DUT1 interface towards DUT2.
144 | | ... | - dut2 - DUT2 node
145 | | ... | - dut2_if1 - DUT2 interface towards DUT1.
146 | | ... | - dut2_if2 - DUT2 interface towards TG.
150 | | ... | \| Set variables in 3-node circular topology with DUT interface model\
151 | | ... | \| Intel-X520-DA2 \|
153 | | [Arguments] | ${iface_model}
155 | | ${iface_model_list}= | Create list | ${iface_model}
156 | | Append Node | ${nodes['TG']}
157 | | Append Node | ${nodes['DUT1']} | filter_list=${iface_model_list}
158 | | Append Node | ${nodes['DUT2']} | filter_list=${iface_model_list}
159 | | Append Node | ${nodes['TG']}
161 | | ${tg_if1} | ${tg}= | Next Interface
162 | | ${dut1_if1} | ${dut1}= | Next Interface
163 | | ${dut1_if2} | ${dut1}= | Next Interface
164 | | ${dut2_if1} | ${dut2}= | Next Interface
165 | | ${dut2_if2} | ${dut2}= | Next Interface
166 | | ${tg_if2} | ${tg}= | Next Interface
167 | | Set Suite Variable | ${tg}
168 | | Set Suite Variable | ${tg_if1}
169 | | Set Suite Variable | ${tg_if2}
170 | | Set Suite Variable | ${dut1}
171 | | Set Suite Variable | ${dut1_if1}
172 | | Set Suite Variable | ${dut1_if2}
173 | | Set Suite Variable | ${dut2}
174 | | Set Suite Variable | ${dut2_if1}
175 | | Set Suite Variable | ${dut2_if2}
177 | Set variables in 3-node circular topology with DUT interface model with double link between DUTs
179 | | ... | Compute path for testing on three given nodes in circular topology
180 | | ... | with double link between DUTs based on interface model provided as an
181 | | ... | argument and set corresponding suite variables.
183 | | ... | *Arguments:*
184 | | ... | - iface_model - Interface model. Type: string
186 | | ... | _NOTE:_ This KW sets following suite variables:
187 | | ... | - tg - TG node
188 | | ... | - tg_if1 - TG interface towards DUT1.
189 | | ... | - tg_if2 - TG interface towards DUT2.
190 | | ... | - dut1 - DUT1 node
191 | | ... | - dut1_if1 - DUT1 interface towards TG.
192 | | ... | - dut1_if2_1 - DUT1 interface 1 towards DUT2.
193 | | ... | - dut1_if2_2 - DUT1 interface 2 towards DUT2.
194 | | ... | - dut2 - DUT2 node
195 | | ... | - dut2_if1_1 - DUT2 interface 1 towards DUT1.
196 | | ... | - dut2_if1_2 - DUT2 interface 2 towards DUT1.
197 | | ... | - dut2_if2 - DUT2 interface towards TG.
201 | | ... | \| Set variables in 3-node circular topology with DUT interface model\
202 | | ... | with double link between DUTs \| Intel-X520-DA2 \|
204 | | [Arguments] | ${iface_model}
206 | | ${iface_model_list}= | Create list | ${iface_model}
207 | | # Compute path TG - DUT1 with single link in between
208 | | Append Node | ${nodes['TG']}
209 | | Append Node | ${nodes['DUT1']} | filter_list=${iface_model_list}
210 | | Append Node | ${nodes['TG']}
212 | | ${tg_if1} | ${tg}= | Next Interface
213 | | ${dut1_if1} | ${dut1}= | Next Interface
214 | | # Compute path TG - DUT2 with single link in between
216 | | Append Node | ${nodes['TG']}
217 | | Append Node | ${nodes['DUT2']} | filter_list=${iface_model_list}
218 | | Append Node | ${nodes['TG']}
220 | | ${tg_if2} | ${tg}= | Next Interface
221 | | ${dut2_if2} | ${dut2}= | Next Interface
222 | | # Compute path DUT1 - DUT2 with double link in between
224 | | Append Node | ${nodes['DUT1']} | filter_list=${iface_model_list}
225 | | Append Node | ${nodes['DUT2']} | filter_list=${iface_model_list}
226 | | Append Node | ${nodes['DUT1']} | filter_list=${iface_model_list}
227 | | Compute Path | always_same_link=${FALSE}
228 | | ${dut1_if2_1} | ${dut1}= | First Interface
229 | | ${dut1_if2_2} | ${dut1}= | Last Interface
230 | | ${dut2_if1_1} | ${dut2}= | First Ingress Interface
231 | | ${dut2_if1_2} | ${dut2}= | Last Egress Interface
232 | | # Set suite variables
233 | | Set Suite Variable | ${tg}
234 | | Set Suite Variable | ${tg_if1}
235 | | Set Suite Variable | ${tg_if2}
236 | | Set Suite Variable | ${dut1}
237 | | Set Suite Variable | ${dut1_if1}
238 | | Set Suite Variable | ${dut1_if2_1}
239 | | Set Suite Variable | ${dut1_if2_2}
240 | | Set Suite Variable | ${dut2}
241 | | Set Suite Variable | ${dut2_if1_1}
242 | | Set Suite Variable | ${dut2_if1_2}
243 | | Set Suite Variable | ${dut2_if2}
245 | Tear down guest VM with dpdk-testpmd
247 | | ... | Stop all qemu processes with dpdk-testpmd running on ${dut_node}.
248 | | ... | Argument is dictionary of all qemu nodes running with its names.
249 | | ... | Dpdk-testpmd is stopped gracefully with printing stats.
251 | | ... | *Arguments:*
252 | | ... | - dut_node - Node where to clean qemu. Type: dictionary
253 | | ... | - dut_vm_refs - VM references on node. Type: dictionary
257 | | ... | \| Tear down guest VM with dpdk-testpmd \| ${node['DUT1']} \
258 | | ... | \| ${dut_vm_refs} \|
260 | | [Arguments] | ${dut_node} | ${dut_vm_refs}
261 | | ${vms_number}= | Get Length | ${dut_vm_refs}
262 | | ${index}= | Set Variable | ${0}
263 | | :FOR | ${vm_name} | IN | @{dut_vm_refs}
264 | | | ${vm}= | Get From Dictionary | ${dut_vm_refs} | ${vm_name}
265 | | | ${index}= | Evaluate | ${index} + 1
266 | | | Dpdk Testpmd Stop | ${vm}
267 | | | Run Keyword | ${vm_name}.Qemu Set Node | ${dut_node}
268 | | | Run Keyword | ${vm_name}.Qemu Clear Socks
269 | | | Run Keyword If | '${index}' == '${vms_number}' | ${vm_name}.Qemu Kill All
273 | | ... | Stop all qemu processes running on ${dut_node}.
274 | | ... | Argument is dictionary of all qemu nodes running with its names.
276 | | ... | *Arguments:*
277 | | ... | - dut_node - Node where to clean qemu. Type: dictionary
278 | | ... | - dut_vm_refs - VM references on node. Type: dictionary
282 | | ... | \| Tear down guest VM \| ${node['DUT1']} \
283 | | ... | \| ${dut_vm_refs} \|
285 | | [Arguments] | ${dut_node} | ${dut_vm_refs}
286 | | ${vms_number}= | Get Length | ${dut_vm_refs}
287 | | ${index}= | Set Variable | ${0}
288 | | :FOR | ${vm_name} | IN | @{dut_vm_refs}
289 | | | ${vm}= | Get From Dictionary | ${dut_vm_refs} | ${vm_name}
290 | | | ${index}= | Evaluate | ${index} + 1
291 | | | Run Keyword | ${vm_name}.Qemu Set Node | ${dut_node}
292 | | | Run Keyword | ${vm_name}.Qemu Clear Socks
293 | | | Run Keyword If | '${index}' == '${vms_number}' | ${vm_name}.Qemu Kill All
297 | Set up 2-node performance topology with DUT's NIC model
299 | | ... | Suite preparation phase that sets the default startup configuration of
300 | | ... | VPP on all DUTs. Updates interfaces on all nodes and sets the global
301 | | ... | variables used in test cases based on interface model provided as an
302 | | ... | argument. Initializes traffic generator.
304 | | ... | *Arguments:*
305 | | ... | - topology_type - Topology type. Type: string
306 | | ... | - nic_model - Interface model. Type: string
310 | | ... | \| 2-node Performance Suite Setup \| L2 \| Intel-X520-DA2 \|
312 | | [Arguments] | ${topology_type} | ${nic_model}
314 | | Set variables in 2-node circular topology with DUT interface model
315 | | ... | ${nic_model}
316 | | Initialize traffic generator | ${tg} | ${tg_if1} | ${tg_if2}
317 | | ... | ${dut1} | ${dut1_if1} | ${dut1} | ${dut1_if2} | ${topology_type}
319 | Set up 2-node-switched performance topology with DUT's NIC model
321 | | ... | Suite preparation phase that sets the default startup configuration of
322 | | ... | VPP on all DUTs. Updates interfaces on all nodes and sets the global
323 | | ... | variables used in test cases based on interface model provided as an
324 | | ... | argument. Initializes traffic generator.
326 | | ... | *Arguments:*
327 | | ... | - topology_type - Topology type. Type: string
328 | | ... | - nic_model - Interface model. Type: string
329 | | ... | - tg_if1_dest_mac - Interface 1 destination MAC address. Type: string
330 | | ... | - tg_if2_dest_mac - Interface 2 destination MAC address. Type: string
334 | | ... | \| 2-node Performance Suite Setup \| L2 \| Intel-X520-DA2 \
335 | | ... | \| 22:22:33:44:55:66 \| 22:22:33:44:55:55 \|
337 | | [Arguments] | ${topology_type} | ${nic_model} | ${tg_if1_dest_mac}
338 | | ... | ${tg_if2_dest_mac}
340 | | Set variables in 2-node circular topology with DUT interface model
341 | | ... | ${nic_model}
342 | | Initialize traffic generator | ${tg} | ${tg_if1} | ${tg_if2}
343 | | ... | ${dut1} | ${dut1_if1} | ${dut1} | ${dut1_if2} | ${topology_type}
344 | | ... | ${tg_if1_dest_mac} | ${tg_if2_dest_mac}
346 | Set up 3-node performance topology with DUT's NIC model
348 | | ... | Suite preparation phase that sets the default startup configuration of
349 | | ... | VPP on all DUTs. Updates interfaces on all nodes and sets the global
350 | | ... | variables used in test cases based on interface model provided as an
351 | | ... | argument. Initializes traffic generator.
353 | | ... | *Arguments:*
354 | | ... | - topology_type - Topology type. Type: string
355 | | ... | - nic_model - Interface model. Type: string
359 | | ... | \| Set up 3-node performance topology with DUT's NIC model \| L2 \
360 | | ... | \| Intel-X520-DA2 \|
362 | | [Arguments] | ${topology_type} | ${nic_model}
364 | | Set variables in 3-node circular topology with DUT interface model
365 | | ... | ${nic_model}
366 | | Initialize traffic generator | ${tg} | ${tg_if1} | ${tg_if2}
367 | | ... | ${dut1} | ${dut1_if1} | ${dut2} | ${dut2_if2} | ${topology_type}
369 | Set up 3-node performance topology with DUT's NIC model with double link between DUTs
371 | | ... | Suite preparation phase that sets the default startup configuration of
372 | | ... | VPP on all DUTs. Updates interfaces on all nodes and sets the global
373 | | ... | variables used in test cases based on interface model provided as an
374 | | ... | argument. Initializes traffic generator.
376 | | ... | *Arguments:*
377 | | ... | - topology_type - Topology type. Type: string
378 | | ... | - nic_model - Interface model. Type: string
382 | | ... | \| Set up 3-node performance topology with DUT's NIC model with \
383 | | ... | double link between DUTs \| L2 \| Intel-X520-DA2 \|
385 | | [Arguments] | ${topology_type} | ${nic_model}
387 | | Set variables in 3-node circular topology with DUT interface model with double link between DUTs
388 | | ... | ${nic_model}
389 | | Initialize traffic generator | ${tg} | ${tg_if1} | ${tg_if2}
390 | | ... | ${dut1} | ${dut1_if1} | ${dut2} | ${dut2_if2} | ${topology_type}
392 | Set up DPDK 2-node performance topology with DUT's NIC model
394 | | ... | Updates interfaces on all nodes and sets the global
395 | | ... | variables used in test cases based on interface model provided as an
396 | | ... | argument. Initializes traffic generator. Initializes DPDK test
397 | | ... | environment.
399 | | ... | *Arguments:*
400 | | ... | - topology_type - Topology type. Type: string
401 | | ... | - nic_model - Interface model. Type: string
405 | | ... | \| Set up DPDK 2-node performance topology with DUT's NIC model \
406 | | ... | \| L2 \| Intel-X520-DA2 \|
408 | | [Arguments] | ${topology_type} | ${nic_model}
410 | | Set variables in 2-node circular topology with DUT interface model
411 | | ... | ${nic_model}
412 | | Initialize traffic generator | ${tg} | ${tg_if1} | ${tg_if2}
413 | | ... | ${dut1} | ${dut1_if1} | ${dut1} | ${dut1_if2} | ${topology_type}
414 | | Initialize DPDK Environment | ${dut1} | ${dut1_if1} | ${dut1_if2}
416 | Set up DPDK 3-node performance topology with DUT's NIC model
418 | | ... | Updates interfaces on all nodes and sets the global
419 | | ... | variables used in test cases based on interface model provided as an
420 | | ... | argument. Initializes traffic generator. Initializes DPDK test
421 | | ... | environment.
423 | | ... | *Arguments:*
424 | | ... | - topology_type - Topology type. Type: string
425 | | ... | - nic_model - Interface model. Type: string
429 | | ... | \| 3-node Performance Suite Setup \| L2 \| Intel-X520-DA2 \|
431 | | [Arguments] | ${topology_type} | ${nic_model}
433 | | Set variables in 3-node circular topology with DUT interface model
434 | | ... | ${nic_model}
435 | | Initialize traffic generator | ${tg} | ${tg_if1} | ${tg_if2}
436 | | ... | ${dut1} | ${dut1_if1} | ${dut2} | ${dut2_if2} | ${topology_type}
437 | | Initialize DPDK Environment | ${dut1} | ${dut1_if1} | ${dut1_if2}
438 | | Initialize DPDK Environment | ${dut2} | ${dut2_if1} | ${dut2_if2}
440 | Set up SRIOV 2-node performance topology with DUT's NIC model
442 | | ... | Suite preparation phase that sets default startup configuration of
443 | | ... | VPP on all DUTs. Updates interfaces on all nodes and sets global
444 | | ... | variables used in test cases based on interface model provided as an
445 | | ... | argument. Initializes traffic generator.
446 | | ... | It configures PCI device with VFs on all DUTs.
448 | | ... | *Arguments:*
449 | | ... | - topology_type - Topology type. Type: string
450 | | ... | - nic_model - Interface model. Type: string
451 | | ... | - vf_driver - Virtual function driver. Type: string
452 | | ... | - numvfs - Number of VFs. Type: integer
456 | | ... | \| Set up SRIOV 2-node performance topology with DUT's NIC model \
457 | | ... | \| L2 \| Intel-X520-DA2 \| AVF \|
459 | | [Arguments] | ${topology_type} | ${nic_model} | ${vf_driver}
460 | | ... | ${numvfs}=${1}
462 | | Set variables in 2-node circular topology with DUT interface model
463 | | ... | ${nic_model}
464 | | Run Keyword If | '${vf_driver}' == 'AVF'
465 | | ... | Configure AVF interfaces on all DUTs | numvfs=${numvfs}
466 | | ... | topology_type=${topology_type}
467 | | Initialize traffic generator | ${tg} | ${tg_if1} | ${tg_if2}
468 | | ... | ${dut1} | ${dut1_if1_vf0} | ${dut1} | ${dut1_if2_vf0}
469 | | ... | ${topology_type}
471 | Set up SRIOV 3-node performance topology with DUT's NIC model
473 | | ... | Suite preparation phase that sets default startup configuration of
474 | | ... | VPP on all DUTs. Updates interfaces on all nodes and sets global
475 | | ... | variables used in test cases based on interface model provided as an
476 | | ... | argument. Initializes traffic generator.
477 | | ... | It configures PCI device with VFs on all DUTs.
479 | | ... | *Arguments:*
480 | | ... | - topology_type - Topology type. Type: string
481 | | ... | - nic_model - Interface model. Type: string
482 | | ... | - vf_driver - Virtual function driver. Type: string
483 | | ... | - numvfs - Number of VFs. Type: integer
487 | | ... | \| Set up SRIOV 3-node performance topology with DUT's NIC model \
488 | | ... | \| L2 \| Intel-X520-DA2 \| AVF \|
490 | | [Arguments] | ${topology_type} | ${nic_model} | ${vf_driver}
491 | | ... | ${numvfs}=${1}
493 | | Set variables in 3-node circular topology with DUT interface model
494 | | ... | ${nic_model}
495 | | Run Keyword If | '${vf_driver}' == 'AVF'
496 | | ... | Configure AVF interfaces on all DUTs | numvfs=${numvfs}
497 | | ... | topology_type=${topology_type}
498 | | Initialize traffic generator | ${tg} | ${tg_if1} | ${tg_if2}
499 | | ... | ${dut1} | ${dut1_if1_vf0} | ${dut2} | ${dut2_if2_vf0}
500 | | ... | ${topology_type}
502 | Set up IPSec performance test suite
504 | | ... | Suite preparation phase that sets default startup configuration of
505 | | ... | VPP on all DUTs. Updates interfaces on all nodes and sets global
506 | | ... | variables used in test cases based on interface model provided as an
507 | | ... | argument. Initializes traffic generator.
508 | | ... | Then it configures crypto device and kernel module on all DUTs.
510 | | ... | *Arguments:*
511 | | ... | - topology_type - Topology type. Type: string
512 | | ... | - nic_model - Interface model. Type: string
513 | | ... | - crypto_type - Crypto device type - HW_cryptodev or SW_cryptodev
514 | | ... | (Optional). Type: string, default value: HW_cryptodev
518 | | ... | \| Set up IPSec performance test suite \| L2 \
519 | | ... | \| Intel-X520-DA2 \|
521 | | [Arguments] | ${topology_type} | ${nic_model} | ${crypto_type}=HW_cryptodev
523 | | Set up 3-node performance topology with DUT's NIC model
524 | | ... | ${topology_type} | ${nic_model}
525 | | ${numvfs}= | Set Variable If
526 | | ... | '${crypto_type}' == 'HW_cryptodev' | ${32}
527 | | ... | '${crypto_type}' == 'SW_cryptodev' | ${0}
528 | | Configure crypto device on all DUTs | force_init=${True} | numvfs=${numvfs}
529 | | Run Keyword If | '${crypto_type}' == 'HW_cryptodev'
530 | | ... | Configure kernel module on all DUTs | igb_uio | force_load=${True}
532 | Set up performance topology with containers
534 | | ... | Suite preparation phase that starts containers
536 | | Set Suite Variable | @{container_groups} | @{EMPTY}
537 | | Construct VNF containers on all DUTs
538 | | Acquire all 'VNF' containers
539 | | Create all 'VNF' containers
540 | | Configure VPP in all 'VNF' containers
541 | | Install VPP in all 'VNF' containers
543 | Set up performance test suite with MEMIF
545 | | ... | Append memif_plugin.so to the list of enabled plugins.
547 | | Set Suite Variable | @{plugins_to_enable}
548 | | Append To List | ${plugins_to_enable} | memif_plugin.so
550 | Set up performance test suite with NAT
552 | | ... | Append nat_plugin.so to the list of enabled plugins.
554 | | Set Suite Variable | @{plugins_to_enable}
555 | | Append To List | ${plugins_to_enable} | nat_plugin.so
557 | Set up performance test suite with ACL
559 | | ... | Append acl_plugin.so to the list of enabled plugins.
561 | | Set Suite Variable | @{plugins_to_enable}
562 | | Append To List | ${plugins_to_enable} | acl_plugin.so
564 | Set up performance test suite with AVF driver
566 | | ... | Append avf_plugin.so to the list of enabled plugins.
568 | | Set Suite Variable | @{plugins_to_enable}
569 | | Append To List | ${plugins_to_enable} | avf_plugin.so
571 | Set up performance test suite with Static SRv6 proxy
573 | | ... | Append srv6as_plugin.so to the list of enabled plugins.
575 | | Set Suite Variable | @{plugins_to_enable}
576 | | Append To List | ${plugins_to_enable} | srv6as_plugin.so
578 | Set up performance test suite with Dynamic SRv6 proxy
580 | | ... | Append srv6ad_plugin.so to the list of enabled plugins.
582 | | Set Suite Variable | @{plugins_to_enable}
583 | | Append To List | ${plugins_to_enable} | srv6ad_plugin.so
585 | Set up performance test suite with Masquerading SRv6 proxy
587 | | ... | Append srv6am_plugin.so to the list of enabled plugins.
589 | | Set Suite Variable | @{plugins_to_enable}
590 | | Append To List | ${plugins_to_enable} | srv6am_plugin.so
592 | Set up performance test suite with LACP mode link bonding
594 | | ... | Append lacp_plugin.so to the list of enabled plugins.
596 | | Set Suite Variable | @{plugins_to_enable}
597 | | Append To List | ${plugins_to_enable} | lacp_plugin.so
599 | Set up 3-node performance topology with wrk and DUT's NIC model
601 | | ... | Suite preparation phase that sets the default startup configuration of
602 | | ... | VPP on all DUTs. Updates interfaces on all nodes and sets the global
603 | | ... | variables used in test cases based on interface model provided as an
604 | | ... | argument. Installs the traffic generator.
606 | | ... | *Arguments:*
607 | | ... | - iface_model - Interface model. Type: string
611 | | ... | \| Set up 3-node performance topology with wrk and DUT's NIC model\
612 | | ... | \| Intel-X520-DA2 \|
614 | | [Arguments] | ${iface_model}
616 | | Set variables in 3-node circular topology with DUT interface model
617 | | ... | ${iface_model}
618 | | Iface update numa node | ${tg}
619 # Make sure TRex is stopped
620 | | ${running}= | Is TRex running | ${tg}
621 | | Run keyword if | ${running}==${True} | Teardown traffic generator | ${tg}
622 | | ${curr_driver}= | Get PCI dev driver | ${tg}
623 | | ... | ${tg['interfaces']['${tg_if1}']['pci_address']}
624 | | Run keyword if | '${curr_driver}'!='${None}'
625 | | ... | PCI Driver Unbind | ${tg} |
626 | | ... | ${tg['interfaces']['${tg_if1}']['pci_address']}
627 # Bind tg_if1 to driver specified in the topology
628 | | ${driver}= | Get Variable Value | ${tg['interfaces']['${tg_if1}']['driver']}
629 | | PCI Driver Bind | ${tg}
630 | | ... | ${tg['interfaces']['${tg_if1}']['pci_address']} | ${driver}
632 | | ${intf_name}= | Get Linux interface name | ${tg}
633 | | ... | ${tg['interfaces']['${tg_if1}']['pci_address']}
634 | | Set Linux interface IP | ${tg} | ${intf_name} | 192.168.10.1 | 24
635 | | Set Linux interface IP | ${tg} | ${intf_name} | 192.168.20.1 | 24
636 | | Set Linux interface IP | ${tg} | ${intf_name} | 192.168.30.1 | 24
637 | | Set Linux interface IP | ${tg} | ${intf_name} | 192.168.40.1 | 24
638 | | Set Linux interface IP | ${tg} | ${intf_name} | 192.168.50.1 | 24
639 | | Set Linux interface IP | ${tg} | ${intf_name} | 192.168.60.1 | 24
640 | | Set Linux interface IP | ${tg} | ${intf_name} | 192.168.70.1 | 24
641 | | Set Linux interface IP | ${tg} | ${intf_name} | 192.168.80.1 | 24
642 | | Set Linux interface up | ${tg} | ${intf_name}
643 | | Install wrk | ${tg}
647 | Tear down 2-node performance topology
649 | | ... | Suite teardown phase with traffic generator teardown.
651 | | Teardown traffic generator | ${tg}
653 | Tear down 2-node performance topology with container
655 | | ... | Suite teardown phase with traffic generator teardown and container
658 | | Teardown traffic generator | ${tg}
659 | | :FOR | ${group} | IN | @{container_groups}
660 | | | Destroy all '${group}' containers
662 | Tear down 3-node performance topology
664 | | ... | Suite teardown phase with traffic generator teardown.
666 | | Teardown traffic generator | ${tg}
668 | Tear down 3-node performance topology with container
670 | | ... | Suite teardown phase with traffic generator teardown and container
673 | | Teardown traffic generator | ${tg}
674 | | :FOR | ${group} | IN | @{container_groups}
675 | | | Destroy all '${group}' containers
679 | Set up performance test
680 | | [Documentation] | Common test setup for performance tests.
682 | | Reset VAT History On All DUTs | ${nodes}
683 | | Create base startup configuration of VPP on all DUTs
685 | Set up tcp performance test
686 | | [Documentation] | Common test setup for TCP performance tests.
688 | | Reset VAT History On All DUTs | ${nodes}
689 | | Create base startup configuration of VPP for TCP tests on all DUTs
691 | Set up performance test with Ligato Kubernetes
692 | | [Documentation] | Common test setup for performance tests with Ligato \
693 | | ... | Kubernetes.
695 | | Apply Kubernetes resource on all duts | ${nodes} | namespaces/csit.yaml
696 | | Apply Kubernetes resource on all duts | ${nodes} | pods/kafka.yaml
697 | | Apply Kubernetes resource on all duts | ${nodes} | pods/etcdv3.yaml
698 | | Apply Kubernetes resource on all duts | ${nodes}
699 | | ... | configmaps/vswitch-agent-cfg.yaml
700 | | Apply Kubernetes resource on all duts | ${nodes}
701 | | ... | configmaps/vnf-agent-cfg.yaml
702 | | Apply Kubernetes resource on all duts | ${nodes}
703 | | ... | pods/contiv-sfc-controller.yaml
704 | | Apply Kubernetes resource on all duts | ${nodes}
705 | | ... | pods/contiv-vswitch.yaml
709 | Tear down performance discovery test
710 | | [Documentation] | Common test teardown for ndrdisc and pdrdisc performance \
713 | | ... | *Arguments:*
714 | | ... | - rate - Rate for sending packets. Type: string
715 | | ... | - framesize - L2 Frame Size [B]. Type: integer
716 | | ... | - topology_type - Topology type. Type: string
720 | | ... | \| Tear down performance discovery test \| 4.0mpps \| 64 \
721 | | ... | \| 3-node-IPv4 \|
723 | | [Arguments] | ${rate} | ${framesize} | ${topology_type}
725 | | Remove All Added Ports On All DUTs From Topology | ${nodes}
726 | | Show VAT History On All DUTs | ${nodes}
727 | | Run Keyword If Test Failed
728 | | ... | Set Test Variable | ${pkt_trace} | ${True}
729 | | Run Keyword If Test Failed
730 | | ... | Traffic should pass with no loss | ${perf_trial_duration} | ${rate}
731 | | ... | ${framesize} | ${topology_type} | fail_on_loss=${False}
733 | Tear down performance ndrchk test
734 | | [Documentation] | Common test teardown for ndrchk performance tests.
736 | | Remove All Added Ports On All DUTs From Topology | ${nodes}
737 | | Show VAT History On All DUTs | ${nodes}
739 | Tear down performance pdrchk test
740 | | [Documentation] | Common test teardown for pdrchk performance tests.
742 | | Remove All Added Ports On All DUTs From Topology | ${nodes}
743 | | Show VAT History On All DUTs | ${nodes}
745 | Tear down performance mrr test
746 | | [Documentation] | Common test teardown for max-received-rate performance
749 | | Remove All Added Ports On All DUTs From Topology | ${nodes}
750 | | Show VAT History On All DUTs | ${nodes}
752 | Tear down performance test with wrk
753 | | [Documentation] | Common test teardown for ndrdisc and pdrdisc performance \
758 | | ... | \| Tear down performance test with wrk \|
760 | | Remove All Added Ports On All DUTs From Topology | ${nodes}
761 | | Show VAT History On All DUTs | ${nodes}
762 | | Show statistics on all DUTs | ${nodes}
764 | Tear down performance test with vhost and VM with dpdk-testpmd
765 | | [Documentation] | Common test teardown for performance tests which use
766 | | ... | vhost(s) and VM(s) with dpdk-testpmd.
768 | | ... | *Arguments:*
769 | | ... | - rate - Rate for sending packets. Type: string
770 | | ... | - framesize - L2 Frame Size [B]. Type: integer
771 | | ... | - topology_type - Topology type. Type: string
772 | | ... | - dut1_node - Node where to clean qemu. Type: dictionary
773 | | ... | - dut1_vm_refs - VM references on node. Type: dictionary
774 | | ... | - dut2_node - Node where to clean qemu. Type: dictionary
775 | | ... | - dut2_vm_refs - VM references on node. Type: dictionary
779 | | ... | \| Tear down performance test with vhost and VM with dpdk-testpmd \
780 | | ... | \| 4.0mpps \| 64 \| 3-node-IPv4 \| ${node['DUT1']} \| ${dut_vm_refs} \
781 | | ... | \| ${node['DUT2']} \| ${dut_vm_refs} \|
783 | | [Arguments] | ${rate} | ${framesize} | ${topology_type}
784 | | ... | ${dut1_node}=${None} | ${dut1_vm_refs}=${None}
785 | | ... | ${dut2_node}=${None} | ${dut2_vm_refs}=${None}
787 | | Remove All Added Ports On All DUTs From Topology | ${nodes}
788 | | Show VAT History On All DUTs | ${nodes}
789 | | Show VPP vhost on all DUTs | ${nodes}
790 | | Show statistics on all DUTs | ${nodes}
791 | | Run Keyword If Test Failed
792 | | ... | Traffic should pass with no loss | ${perf_trial_duration} | ${rate}
793 | | ... | ${framesize} | ${topology_type} | fail_on_loss=${False}
794 | | Run keyword unless | ${dut1_node}==${None}
795 | | ... | Tear down guest VM with dpdk-testpmd | ${dut1} | ${dut1_vm_refs}
796 | | Run keyword unless | ${dut2_node}==${None}
797 | | ... | Tear down guest VM with dpdk-testpmd | ${dut2} | ${dut2_vm_refs}
799 | Tear down mrr test with vhost and VM with dpdk-testpmd
800 | | [Documentation] | Common test teardown for mrr tests which use
801 | | ... | vhost(s) and VM(s) with dpdk-testpmd.
803 | | ... | *Arguments:*
804 | | ... | - dut1_node - Node where to clean qemu. Type: dictionary
805 | | ... | - dut1_vm_refs - VM references on node. Type: dictionary
806 | | ... | - dut2_node - Node where to clean qemu. Type: dictionary
807 | | ... | - dut2_vm_refs - VM references on node. Type: dictionary
811 | | ... | \| Tear down performance test with vhost and VM with dpdk-testpmd \
812 | | ... | \| ${node['DUT1']} \| ${dut_vm_refs} \
813 | | ... | \| ${node['DUT2']} \| ${dut_vm_refs} \|
815 | | [Arguments] | ${dut1_node}=${None} | ${dut1_vm_refs}=${None}
816 | | ... | ${dut2_node}=${None} | ${dut2_vm_refs}=${None}
818 | | Remove All Added Ports On All DUTs From Topology | ${nodes}
819 | | Show VAT History On All DUTs | ${nodes}
820 | | Show VPP vhost on all DUTs | ${nodes}
821 | | Show statistics on all DUTs | ${nodes}
822 | | Run keyword unless | ${dut1_node}==${None}
823 | | ... | Tear down guest VM with dpdk-testpmd | ${dut1} | ${dut1_vm_refs}
824 | | Run keyword unless | ${dut2_node}==${None}
825 | | ... | Tear down guest VM with dpdk-testpmd | ${dut2} | ${dut2_vm_refs}
827 | Tear down performance test with vhost and VM with dpdk-testpmd and ACL
828 | | [Documentation] | Common test teardown for performance tests which use
829 | | ... | vhost(s) and VM(s) with ACL and dpdk-testpmd.
831 | | ... | *Arguments:*
832 | | ... | - rate - Rate for sending packets. Type: string
833 | | ... | - framesize - L2 Frame Size [B]. Type: integer
834 | | ... | - topology_type - Topology type. Type: string
835 | | ... | - dut1_node - Node where to clean qemu. Type: dictionary
836 | | ... | - dut1_vm_refs - VM references on node. Type: dictionary
837 | | ... | - dut2_node - Node where to clean qemu. Type: dictionary
838 | | ... | - dut2_vm_refs - VM references on node. Type: dictionary
840 | | [Arguments] | ${rate} | ${framesize} | ${topology_type}
841 | | ... | ${dut1_node}=${None} | ${dut1_vm_refs}=${None}
842 | | ... | ${dut2_node}=${None} | ${dut2_vm_refs}=${None}
844 | | Tear down performance test with vhost and VM with dpdk-testpmd
845 | | ... | ${rate} | ${framesize} | ${topology_type}
846 | | ... | ${dut1_node} | ${dut1_vm_refs}
847 | | ... | ${dut2_node} | ${dut2_vm_refs}
848 | | Vpp Log Plugin Acl Settings | ${dut1}
849 | | Run Keyword If Test Failed | Run Keyword And Ignore Error
850 | | ... | Vpp Log Plugin Acl Interface Assignment | ${dut1}
852 | Tear down mrr test with vhost and VM with dpdk-testpmd and ACL
853 | | [Documentation] | Common test teardown for mrr tests which use
854 | | ... | vhost(s) and VM(s) with ACL and dpdk-testpmd.
856 | | ... | *Arguments:*
857 | | ... | - dut1_node - Node where to clean qemu. Type: dictionary
858 | | ... | - dut1_vm_refs - VM references on node. Type: dictionary
859 | | ... | - dut2_node - Node where to clean qemu. Type: dictionary
860 | | ... | - dut2_vm_refs - VM references on node. Type: dictionary
862 | | [Arguments] | ${dut1_node}=${None} | ${dut1_vm_refs}=${None}
863 | | ... | ${dut2_node}=${None} | ${dut2_vm_refs}=${None}
865 | | Tear down mrr test with vhost and VM with dpdk-testpmd
866 | | ... | ${dut1_node} | ${dut1_vm_refs}
867 | | ... | ${dut2_node} | ${dut2_vm_refs}
868 | | Vpp Log Plugin Acl Settings | ${dut1}
869 | | Run Keyword If Test Failed | Run Keyword And Ignore Error
870 | | ... | Vpp Log Plugin Acl Interface Assignment | ${dut1}
872 | Tear down performance pdrchk test with vhost and VM with dpdk-testpmd
873 | | [Documentation] | Common test teardown for performance pdrchk tests which \
874 | | ... | use vhost(s) and VM(s) with dpdk-testpmd.
876 | | ... | *Arguments:*
877 | | ... | - rate - Rate for sending packets. Type: string
878 | | ... | - framesize - L2 Frame Size [B]. Type: integer
879 | | ... | - topology_type - Topology type. Type: string
880 | | ... | - dut1_node - Node where to clean qemu. Type: dictionary
881 | | ... | - dut1_vm_refs - VM references on node. Type: dictionary
882 | | ... | - dut2_node - Node where to clean qemu. Type: dictionary
883 | | ... | - dut2_vm_refs - VM references on node. Type: dictionary
887 | | ... | \| Tear down performance pdrchk test with vhost and VM with \
888 | | ... | dpdk-testpmd \| 4.0mpps \| 64 \| 3-node-IPv4 \| ${node['DUT1']} \
889 | | ... | \| ${dut_vm_refs} \| ${node['DUT2']} \| ${dut_vm_refs} \|
891 | | [Arguments] | ${rate} | ${framesize} | ${topology_type}
892 | | ... | ${dut1_node}=${None} | ${dut1_vm_refs}=${None}
893 | | ... | ${dut2_node}=${None} | ${dut2_vm_refs}=${None}
895 | | Remove All Added Ports On All DUTs From Topology | ${nodes}
896 | | Show VAT History On All DUTs | ${nodes}
897 | | Show VPP vhost on all DUTs | ${nodes}
898 | | Show statistics on all DUTs | ${nodes}
899 | | Run keyword unless | ${dut1_node}==${None}
900 | | ... | Tear down guest VM with dpdk-testpmd | ${dut1} | ${dut1_vm_refs}
901 | | Run keyword unless | ${dut2_node}==${None}
902 | | ... | Tear down guest VM with dpdk-testpmd | ${dut2} | ${dut2_vm_refs}
904 | Tear down performance mrr test with vhost and VM with dpdk-testpmd
905 | | [Documentation] | Common test teardown for performance mrr tests which \
906 | | ... | use vhost(s) and VM(s) with dpdk-testpmd.
908 | | ... | *Arguments:*
909 | | ... | - dut1_node - Node where to clean qemu. Type: dictionary
910 | | ... | - dut1_vm_refs - VM references on node. Type: dictionary
911 | | ... | - dut2_node - Node where to clean qemu. Type: dictionary
912 | | ... | - dut2_vm_refs - VM references on node. Type: dictionary
916 | | ... | \| Tear down performance mrr test with vhost and VM with \
917 | | ... | dpdk-testpmd \| ${node['DUT1']} \| ${dut_vm_refs} \| ${node['DUT2']} \
918 | | ... | \| ${dut_vm_refs} \|
920 | | [Arguments] | ${dut1_node}=${None} | ${dut1_vm_refs}=${None}
921 | | ... | ${dut2_node}=${None} | ${dut2_vm_refs}=${None}
923 | | Remove All Added Ports On All DUTs From Topology | ${nodes}
924 | | Show VAT History On All DUTs | ${nodes}
925 | | Show VPP vhost on all DUTs | ${nodes}
926 | | Run keyword unless | ${dut1_node}==${None}
927 | | ... | Tear down guest VM with dpdk-testpmd | ${dut1} | ${dut1_vm_refs}
928 | | Run keyword unless | ${dut2_node}==${None}
929 | | ... | Tear down guest VM with dpdk-testpmd | ${dut2} | ${dut2_vm_refs}
931 | Tear down DPDK 2-node performance topology
933 | | ... | Suite teardown phase with traffic generator teardown.
934 | | ... | Cleanup DPDK test environment.
936 | | Teardown traffic generator | ${tg}
937 | | Cleanup DPDK Environment | ${dut1} | ${dut1_if1} | ${dut1_if2}
939 | Tear down DPDK 3-node performance topology
941 | | ... | Suite teardown phase with traffic generator teardown.
942 | | ... | Cleanup DPDK test environment.
944 | | Teardown traffic generator | ${tg}
945 | | Cleanup DPDK Environment | ${dut1} | ${dut1_if1} | ${dut1_if2}
946 | | Cleanup DPDK Environment | ${dut2} | ${dut2_if1} | ${dut2_if2}
948 | Tear down performance discovery test with NAT
949 | | [Documentation] | Common test teardown for ndrdisc and pdrdisc performance \
950 | | ... | tests with NAT feature used.
952 | | ... | *Arguments:*
953 | | ... | - rate - Rate for sending packets. Type: string
954 | | ... | - framesize - L2 Frame Size [B]. Type: integer
955 | | ... | - traffic_profile - Traffic profile. Type: string
959 | | ... | \| Tear down performance discovery test with NAT \| 100000pps \| 64 \
960 | | ... | \| ${traffic_profile} \|
962 | | [Arguments] | ${rate} | ${framesize} | ${traffic_profile}
964 | | Tear down performance discovery test | ${rate} | ${framesize}
965 | | ... | ${traffic_profile}
966 | | Show NAT verbose | ${dut1}
967 | | Show NAT verbose | ${dut2}
969 | Tear down mrr test with NAT
970 | | [Documentation] | Common test teardown for mrr performance \
971 | | ... | tests with NAT feature used.
973 | | ... | \| Tear down mrr test with NAT \|
975 | | Tear down performance mrr test
976 | | Show NAT verbose | ${dut1}
977 | | Show NAT verbose | ${dut2}
979 | Tear down performance test with ACL
980 | | [Documentation] | Common test teardown for ndrdisc and pdrdisc performance \
981 | | ... | tests with ACL feature used.
983 | | ... | *Arguments:*
984 | | ... | - rate - Rate for sending packets. Type: string
985 | | ... | - framesize - L2 Frame Size [B]. Type: integer
986 | | ... | - traffic_profile - Traffic profile. Type: string
990 | | ... | \| Tear down performance test with ACL \| 100000pps \| 64 \
991 | | ... | \| ${traffic_profile} \|
993 | | [Arguments] | ${rate} | ${framesize} | ${traffic_profile}
995 | | Tear down performance discovery test | ${rate} | ${framesize}
996 | | ... | ${traffic_profile}
997 | | Vpp Log Plugin Acl Settings | ${dut1}
998 | | Run Keyword If Test Failed | Run Keyword And Ignore Error
999 | | ... | Vpp Log Plugin Acl Interface Assignment | ${dut1}
1001 | Tear down mrr test with ACL
1002 | | [Documentation] | Common test teardown for mrr performance \
1003 | | ... | tests with ACL feature used.
1005 | | ... | *Example:*
1007 | | ... | \| Tear down mrr test with ACL \|
1009 | | Tear down performance mrr test
1010 | | Vpp Log Plugin Acl Settings | ${dut1}
1011 | | Run Keyword If Test Failed | Run Keyword And Ignore Error
1012 | | ... | Vpp Log Plugin Acl Interface Assignment | ${dut1}
1014 | Tear down performance test with MACIP ACL
1015 | | [Documentation] | Common test teardown for ndrdisc and pdrdisc performance \
1016 | | ... | tests with MACIP ACL feature used.
1018 | | ... | *Arguments:*
1019 | | ... | - rate - Rate for sending packets. Type: string
1020 | | ... | - framesize - L2 Frame Size [B]. Type: integer
1021 | | ... | - traffic_profile - Traffic profile. Type: string
1023 | | ... | *Example:*
1025 | | ... | \| Tear down performance test with MACIP ACL \| 100000pps \| 64 \
1026 | | ... | \| ${traffic_profile} \|
1028 | | [Arguments] | ${rate} | ${framesize} | ${traffic_profile}
1030 | | Tear down performance discovery test | ${rate} | ${framesize}
1031 | | ... | ${traffic_profile}
1032 | | Run Keyword If Test Failed | Run Keyword And Ignore Error
1033 | | ... | Vpp Log Macip Acl Settings | ${dut1}
1034 | | Run Keyword And Ignore Error
1035 | | ... | Vpp Log Macip Acl Interface Assignment | ${dut1}
1037 | Tear down mrr test with MACIP ACL
1038 | | [Documentation] | Common test teardown for mrr performance \
1039 | | ... | tests with MACIP ACL feature used.
1041 | | ... | *Example:*
1043 | | ... | \| Tear down mrr test with MACIP ACL \|
1045 | | Tear down performance mrr test
1046 | | Run Keyword If Test Failed | Run Keyword And Ignore Error
1047 | | ... | Vpp Log Macip Acl Settings | ${dut1}
1048 | | Run Keyword And Ignore Error
1049 | | ... | Vpp Log Macip Acl Interface Assignment | ${dut1}
1051 | Tear down performance test with Ligato Kubernetes
1052 | | [Documentation] | Common test teardown for ndrdisc and pdrdisc performance \
1053 | | ... | tests with Ligato Kubernetes.
1055 | | Run Keyword If Test Failed
1056 | | ... | Get Kubernetes logs on all DUTs | ${nodes} | csit
1057 | | Run Keyword If Test Failed
1058 | | ... | Describe Kubernetes resource on all DUTs | ${nodes} | csit
1059 | | Delete Kubernetes resource on all DUTs | ${nodes} | csit
1061 | Tear down performance test with SRv6 with encapsulation
1062 | | [Documentation] | Common test teardown for ndrdisc and pdrdisc performance \
1063 | | ... | tests with SRv6 with encapsulation feature used.
1065 | | ... | *Arguments:*
1066 | | ... | - rate - Rate for sending packets. Type: string
1067 | | ... | - framesize - L2 Frame Size [B]. Type: integer/string
1068 | | ... | - traffic_profile - Traffic profile. Type: string
1070 | | ... | *Example:*
1072 | | ... | \| Tear down performance test with SRv6 with encapsulation \
1073 | | ... | \| 100000pps \| 64 \| ${traffic_profile} \|
1075 | | [Arguments] | ${rate} | ${framesize} | ${traffic_profile}
1077 | | Tear down performance discovery test | ${rate} | ${framesize}
1078 | | ... | ${traffic_profile}
1079 | | Run Keyword If Test Failed | Show SR Policies on all DUTs | ${nodes}
1080 | | Run Keyword If Test Failed
1081 | | ... | Show SR Steering Policies on all DUTs | ${nodes}
1082 | | Run Keyword If Test Failed | Show SR LocalSIDs on all DUTs | ${nodes}
1084 | Tear down mrr test with SRv6 with encapsulation
1085 | | [Documentation] | Common test teardown for mrr tests with SRv6 with \
1086 | | ... | encapsulation feature used.
1088 | | ... | *Example:*
1090 | | ... | \| Tear down mrr test with SRv6 with encapsulation \|
1092 | | Remove All Added Ports On All DUTs From Topology | ${nodes}
1093 | | Show VAT History On All DUTs | ${nodes}
1094 | | Run Keyword If Test Failed | Show SR Policies on all DUTs | ${nodes}
1095 | | Run Keyword If Test Failed
1096 | | ... | Show SR Steering Policies on all DUTs | ${nodes}
1097 | | Run Keyword If Test Failed | Show SR LocalSIDs on all DUTs | ${nodes}