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:
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 | Resource | resources/libraries/robot/performance/performance_configuration.robot
17 | Resource | resources/libraries/robot/performance/performance_utils.robot
18 | Documentation | Performance suite keywords - Suite and test setups and
23 # Keywords used in setups and teardowns
25 | Set variables in 2-node circular topology
27 | | ... | Compute path for testing on two given nodes in circular
28 | | ... | topology and set corresponding suite variables.
30 | | ... | _NOTE:_ This KW sets following suite variables:
31 | | ... | - tg - TG node
32 | | ... | - tg_if1 - 1st TG interface towards DUT.
33 | | ... | - tg_if2 - 2nd TG interface towards DUT.
34 | | ... | - dut1 - DUT1 node
35 | | ... | - dut1_if1 - 1st DUT interface towards TG.
36 | | ... | - dut1_if2 - 2nd DUT interface towards TG.
38 | | Append Nodes | ${nodes['TG']} | ${nodes['DUT1']} | ${nodes['TG']}
39 | | Compute Path | always_same_link=${FALSE}
40 | | ${tg_if1} | ${tg}= | First Interface
41 | | ${dut1_if1} | ${dut1}= | First Ingress Interface
42 | | ${dut1_if2} | ${dut1}= | Last Egress Interface
43 | | ${tg_if2} | ${tg}= | Last Interface
44 | | Set Suite Variable | ${tg}
45 | | Set Suite Variable | ${tg_if1}
46 | | Set Suite Variable | ${tg_if2}
47 | | Set Suite Variable | ${dut1}
48 | | Set Suite Variable | ${dut1_if1}
49 | | Set Suite Variable | ${dut1_if2}
51 | Set variables in 3-node circular topology
53 | | ... | Compute path for testing on three given nodes in circular
54 | | ... | topology and set corresponding suite variables.
56 | | ... | _NOTE:_ This KW sets following suite variables:
57 | | ... | - tg - TG node
58 | | ... | - tg_if1 - TG interface towards DUT1.
59 | | ... | - tg_if2 - TG interface towards DUT2.
60 | | ... | - dut1 - DUT1 node
61 | | ... | - dut1_if1 - DUT1 interface towards TG.
62 | | ... | - dut1_if2 - DUT1 interface towards DUT2.
63 | | ... | - dut2 - DUT2 node
64 | | ... | - dut2_if1 - DUT2 interface towards DUT1.
65 | | ... | - dut2_if2 - DUT2 interface towards TG.
67 | | Append Nodes | ${nodes['TG']} | ${nodes['DUT1']} | ${nodes['DUT2']}
68 | | ... | ${nodes['TG']}
70 | | ${tg_if1} | ${tg}= | Next Interface
71 | | ${dut1_if1} | ${dut1}= | Next Interface
72 | | ${dut1_if2} | ${dut1}= | Next Interface
73 | | ${dut2_if1} | ${dut2}= | Next Interface
74 | | ${dut2_if2} | ${dut2}= | Next Interface
75 | | ${tg_if2} | ${tg}= | Next Interface
76 | | Set Suite Variable | ${tg}
77 | | Set Suite Variable | ${tg_if1}
78 | | Set Suite Variable | ${tg_if2}
79 | | Set Suite Variable | ${dut1}
80 | | Set Suite Variable | ${dut1_if1}
81 | | Set Suite Variable | ${dut1_if2}
82 | | Set Suite Variable | ${dut2}
83 | | Set Suite Variable | ${dut2_if1}
84 | | Set Suite Variable | ${dut2_if2}
86 | Set variables in 2-node circular topology with DUT interface model
88 | | ... | Compute path for testing on two given nodes in circular topology
89 | | ... | based on interface model provided as an argument and set
90 | | ... | corresponding suite variables.
92 | | ... | *Arguments:*
93 | | ... | - iface_model - Interface model. Type: string
95 | | ... | _NOTE:_ This KW sets following suite variables:
96 | | ... | - tg - TG node
97 | | ... | - tg_if1 - 1st TG interface towards DUT.
98 | | ... | - tg_if2 - 2nd TG interface towards DUT.
99 | | ... | - dut1 - DUT1 node
100 | | ... | - dut1_if1 - 1st DUT interface towards TG.
101 | | ... | - dut1_if2 - 2nd DUT interface towards TG.
105 | | ... | \| Set variables in 2-node circular topology with DUT interface model\
106 | | ... | \| Intel-X520-DA2 \|
108 | | [Arguments] | ${iface_model}
110 | | ${iface_model_list}= | Create list | ${iface_model}
111 | | Append Node | ${nodes['TG']}
112 | | Append Node | ${nodes['DUT1']} | filter_list=${iface_model_list}
113 | | Append Node | ${nodes['TG']}
114 | | Compute Path | always_same_link=${FALSE}
115 | | ${tg_if1} | ${tg}= | First Interface
116 | | ${dut1_if1} | ${dut1}= | First Ingress Interface
117 | | ${dut1_if2} | ${dut1}= | Last Egress Interface
118 | | ${tg_if2} | ${tg}= | Last Interface
119 | | Set Suite Variable | ${tg}
120 | | Set Suite Variable | ${tg_if1}
121 | | Set Suite Variable | ${tg_if2}
122 | | Set Suite Variable | ${dut1}
123 | | Set Suite Variable | ${dut1_if1}
124 | | Set Suite Variable | ${dut1_if2}
126 | Set variables in 3-node circular topology with DUT interface model
128 | | ... | Compute path for testing on three given nodes in circular topology
129 | | ... | based on interface model provided as an argument and set
130 | | ... | corresponding suite variables.
132 | | ... | *Arguments:*
133 | | ... | - iface_model - Interface model. Type: string
135 | | ... | _NOTE:_ This KW sets following suite variables:
136 | | ... | - tg - TG node
137 | | ... | - tg_if1 - TG interface towards DUT1.
138 | | ... | - tg_if2 - TG interface towards DUT2.
139 | | ... | - dut1 - DUT1 node
140 | | ... | - dut1_if1 - DUT1 interface towards TG.
141 | | ... | - dut1_if2 - DUT1 interface towards DUT2.
142 | | ... | - dut2 - DUT2 node
143 | | ... | - dut2_if1 - DUT2 interface towards TG.
144 | | ... | - dut2_if2 - DUT2 interface towards DUT1.
148 | | ... | \| Set variables in 3-node circular topology with DUT interface model\
149 | | ... | \| Intel-X520-DA2 \|
151 | | [Arguments] | ${iface_model}
153 | | ${iface_model_list}= | Create list | ${iface_model}
154 | | Append Node | ${nodes['TG']}
155 | | Append Node | ${nodes['DUT1']} | filter_list=${iface_model_list}
156 | | Append Node | ${nodes['DUT2']} | filter_list=${iface_model_list}
157 | | Append Node | ${nodes['TG']}
159 | | ${tg_if1} | ${tg}= | Next Interface
160 | | ${dut1_if1} | ${dut1}= | Next Interface
161 | | ${dut1_if2} | ${dut1}= | Next Interface
162 | | ${dut2_if1} | ${dut2}= | Next Interface
163 | | ${dut2_if2} | ${dut2}= | Next Interface
164 | | ${tg_if2} | ${tg}= | Next Interface
165 | | Set Suite Variable | ${tg}
166 | | Set Suite Variable | ${tg_if1}
167 | | Set Suite Variable | ${tg_if2}
168 | | Set Suite Variable | ${dut1}
169 | | Set Suite Variable | ${dut1_if1}
170 | | Set Suite Variable | ${dut1_if2}
171 | | Set Suite Variable | ${dut2}
172 | | Set Suite Variable | ${dut2_if1}
173 | | Set Suite Variable | ${dut2_if2}
175 | Tear down guest VM with dpdk-testpmd
177 | | ... | Stop all qemu processes with dpdk-testpmd running on ${dut_node}.
178 | | ... | Argument is dictionary of all qemu nodes running with its names.
179 | | ... | Dpdk-testpmd is stopped gracefully with printing stats.
181 | | ... | *Arguments:*
182 | | ... | - dut_node - Node where to clean qemu. Type: dictionary
183 | | ... | - dut_vm_refs - VM references on node. Type: dictionary
187 | | ... | \| Tear down guest VM with dpdk-testpmd \| ${node['DUT1']} \
188 | | ... | \| ${dut_vm_refs} \|
190 | | [Arguments] | ${dut_node} | ${dut_vm_refs}
191 | | ${vms_number}= | Get Length | ${dut_vm_refs}
192 | | ${index}= | Set Variable | ${0}
193 | | :FOR | ${vm_name} | IN | @{dut_vm_refs}
194 | | | ${vm}= | Get From Dictionary | ${dut_vm_refs} | ${vm_name}
195 | | | ${index}= | Evaluate | ${index} + 1
196 | | | Dpdk Testpmd Stop | ${vm}
197 | | | Run Keyword | ${vm_name}.Qemu Set Node | ${dut_node}
198 | | | Run Keyword | ${vm_name}.Qemu Clear Socks
199 | | | Run Keyword If | '${index}' == '${vms_number}' | ${vm_name}.Qemu Kill All
203 | | ... | Stop all qemu processes running on ${dut_node}.
204 | | ... | Argument is dictionary of all qemu nodes running with its names.
206 | | ... | *Arguments:*
207 | | ... | - dut_node - Node where to clean qemu. Type: dictionary
208 | | ... | - dut_vm_refs - VM references on node. Type: dictionary
212 | | ... | \| Tear down guest VM \| ${node['DUT1']} \
213 | | ... | \| ${dut_vm_refs} \|
215 | | [Arguments] | ${dut_node} | ${dut_vm_refs}
216 | | ${vms_number}= | Get Length | ${dut_vm_refs}
217 | | ${index}= | Set Variable | ${0}
218 | | :FOR | ${vm_name} | IN | @{dut_vm_refs}
219 | | | ${vm}= | Get From Dictionary | ${dut_vm_refs} | ${vm_name}
220 | | | ${index}= | Evaluate | ${index} + 1
221 | | | Run Keyword | ${vm_name}.Qemu Set Node | ${dut_node}
222 | | | Run Keyword | ${vm_name}.Qemu Clear Socks
223 | | | Run Keyword If | '${index}' == '${vms_number}' | ${vm_name}.Qemu Kill All
227 | Set up 2-node performance topology with DUT's NIC model
229 | | ... | Suite preparation phase that setup default startup configuration of
230 | | ... | VPP on all DUTs. Updates interfaces on all nodes and setup global
231 | | ... | variables used in test cases based on interface model provided as an
232 | | ... | argument. Initializes traffic generator.
234 | | ... | *Arguments:*
235 | | ... | - topology_type - Topology type. Type: string
236 | | ... | - nic_model - Interface model. Type: string
240 | | ... | \| 2-node Performance Suite Setup \| L2 \| Intel-X520-DA2 \|
242 | | [Arguments] | ${topology_type} | ${nic_model}
244 | | Set variables in 2-node circular topology with DUT interface model
245 | | ... | ${nic_model}
246 | | Initialize traffic generator | ${tg} | ${tg_if1} | ${tg_if2}
247 | | ... | ${dut1} | ${dut1_if1} | ${dut1} | ${dut1_if2} | ${topology_type}
249 | Set up 2-node-switched performance topology with DUT's NIC model
251 | | ... | Suite preparation phase that setup default startup configuration of
252 | | ... | VPP on all DUTs. Updates interfaces on all nodes and setup global
253 | | ... | variables used in test cases based on interface model provided as an
254 | | ... | argument. Initializes traffic generator.
256 | | ... | *Arguments:*
257 | | ... | - topology_type - Topology type. Type: string
258 | | ... | - nic_model - Interface model. Type: string
259 | | ... | - tg_if1_dest_mac - Interface 1 destination MAC address. Type: string
260 | | ... | - tg_if2_dest_mac - Interface 2 destination MAC address. Type: string
264 | | ... | \| 2-node Performance Suite Setup \| L2 \| Intel-X520-DA2 \
265 | | ... | \| 22:22:33:44:55:66 \| 22:22:33:44:55:55 \|
267 | | [Arguments] | ${topology_type} | ${nic_model} | ${tg_if1_dest_mac}
268 | | ... | ${tg_if2_dest_mac}
270 | | Set variables in 2-node circular topology with DUT interface model
271 | | ... | ${nic_model}
272 | | Initialize traffic generator | ${tg} | ${tg_if1} | ${tg_if2}
273 | | ... | ${dut1} | ${dut1_if1} | ${dut1} | ${dut1_if2} | ${topology_type}
274 | | ... | ${tg_if1_dest_mac} | ${tg_if2_dest_mac}
276 | Set up 3-node performance topology with DUT's NIC model
278 | | ... | Suite preparation phase that setup default startup configuration of
279 | | ... | VPP on all DUTs. Updates interfaces on all nodes and setup global
280 | | ... | variables used in test cases based on interface model provided as an
281 | | ... | argument. Initializes traffic generator.
283 | | ... | *Arguments:*
284 | | ... | - topology_type - Topology type. Type: string
285 | | ... | - nic_model - Interface model. Type: string
289 | | ... | \| Set up 3-node performance topology with DUT's NIC model \| L2 \
290 | | ... | \| Intel-X520-DA2 \|
292 | | [Arguments] | ${topology_type} | ${nic_model}
294 | | Set variables in 3-node circular topology with DUT interface model
295 | | ... | ${nic_model}
296 | | Initialize traffic generator | ${tg} | ${tg_if1} | ${tg_if2}
297 | | ... | ${dut1} | ${dut1_if1} | ${dut2} | ${dut2_if2} | ${topology_type}
299 | Set up DPDK 2-node performance topology with DUT's NIC model
301 | | ... | Updates interfaces on all nodes and setup global
302 | | ... | variables used in test cases based on interface model provided as an
303 | | ... | argument. Initializes traffic generator. Initializes DPDK test
304 | | ... | environment.
306 | | ... | *Arguments:*
307 | | ... | - topology_type - Topology type. Type: string
308 | | ... | - nic_model - Interface model. Type: string
312 | | ... | \| Set up DPDK 2-node performance topology with DUT's NIC model \
313 | | ... | \| L2 \| Intel-X520-DA2 \|
315 | | [Arguments] | ${topology_type} | ${nic_model}
317 | | Set variables in 2-node circular topology with DUT interface model
318 | | ... | ${nic_model}
319 | | Initialize traffic generator | ${tg} | ${tg_if1} | ${tg_if2}
320 | | ... | ${dut1} | ${dut1_if1} | ${dut1} | ${dut1_if2} | ${topology_type}
321 | | Initialize DPDK Environment | ${dut1} | ${dut1_if1} | ${dut1_if2}
323 | Set up DPDK 3-node performance topology with DUT's NIC model
325 | | ... | Updates interfaces on all nodes and setup global
326 | | ... | variables used in test cases based on interface model provided as an
327 | | ... | argument. Initializes traffic generator. Initializes DPDK test
328 | | ... | environment.
330 | | ... | *Arguments:*
331 | | ... | - topology_type - Topology type. Type: string
332 | | ... | - nic_model - Interface model. Type: string
336 | | ... | \| 3-node Performance Suite Setup \| L2 \| Intel-X520-DA2 \|
338 | | [Arguments] | ${topology_type} | ${nic_model}
340 | | Set variables in 3-node circular topology with DUT interface model
341 | | ... | ${nic_model}
342 | | Initialize traffic generator | ${tg} | ${tg_if1} | ${tg_if2}
343 | | ... | ${dut1} | ${dut1_if1} | ${dut2} | ${dut2_if2} | ${topology_type}
344 | | Initialize DPDK Environment | ${dut1} | ${dut1_if1} | ${dut1_if2}
345 | | Initialize DPDK Environment | ${dut2} | ${dut2_if1} | ${dut2_if2}
347 | Set up IPSec performance test suite
349 | | ... | Suite preparation phase that sets default startup configuration of
350 | | ... | VPP on all DUTs. Updates interfaces on all nodes and sets global
351 | | ... | variables used in test cases based on interface model provided as an
352 | | ... | argument. Initializes traffic generator.
353 | | ... | Then it configures crypto device and kernel module on all DUTs.
355 | | ... | *Arguments:*
356 | | ... | - topology_type - Topology type. Type: string
357 | | ... | - nic_model - Interface model. Type: string
361 | | ... | \| Set up IPSec performance test suite \| L2 \
362 | | ... | \| Intel-X520-DA2 \|
364 | | [Arguments] | ${topology_type} | ${nic_model}
366 | | Set up 3-node performance topology with DUT's NIC model
367 | | ... | ${topology_type} | ${nic_model}
368 | | Configure crypto device on all DUTs | force_init=${True}
369 | | Configure kernel module on all DUTs | igb_uio | force_load=${True}
371 | Set up performance topology with containers
373 | | ... | Suite preparation phase that starts containers
375 | | Set Suite Variable | @{container_groups} | @{EMPTY}
376 | | Construct VNF containers on all DUTs
377 | | Acquire all 'VNF' containers
378 | | Create all 'VNF' containers
379 | | Configure VPP in all 'VNF' containers
380 | | Install VPP in all 'VNF' containers
384 | Tear down 3-node performance topology
386 | | ... | Suite teardown phase with traffic generator teardown.
388 | | Teardown traffic generator | ${tg}
390 | Tear down 3-node performance topology with container
392 | | ... | Suite teardown phase with traffic generator teardown and container
395 | | Teardown traffic generator | ${tg}
396 | | :FOR | ${group} | IN | @{container_groups}
397 | | | Destroy all '${group}' containers
399 | Tear down 2-node performance topology
401 | | ... | Suite teardown phase with traffic generator teardown.
403 | | Teardown traffic generator | ${tg}
405 | Tear down 2-node performance topology with container
407 | | ... | Suite teardown phase with traffic generator teardown and container
410 | | Teardown traffic generator | ${tg}
411 | | :FOR | ${group} | IN | @{container_groups}
412 | | | Destroy all '${group}' containers
416 | Set up performance test
417 | | [Documentation] | Common test setup for performance tests.
419 | | Reset VAT History On All DUTs | ${nodes}
420 | | Create base startup configuration of VPP on all DUTs
424 | Tear down performance discovery test
425 | | [Documentation] | Common test teardown for ndrdisc and pdrdisc performance \
428 | | ... | *Arguments:*
429 | | ... | - rate - Rate for sending packets. Type: string
430 | | ... | - framesize - L2 Frame Size [B]. Type: integer
431 | | ... | - topology_type - Topology type. Type: string
435 | | ... | \| Tear down performance discovery test \| 4.0mpps \| 64 \
436 | | ... | \| 3-node-IPv4 \|
438 | | [Arguments] | ${rate} | ${framesize} | ${topology_type}
440 | | Show VAT History On All DUTs | ${nodes}
441 | | Show statistics on all DUTs | ${nodes}
442 | | Run Keyword If Test Failed
443 | | ... | Traffic should pass with no loss | ${perf_trial_duration} | ${rate}
444 | | ... | ${framesize} | ${topology_type} | fail_on_loss=${False}
446 | Tear down performance ndrchk test
447 | | [Documentation] | Common test teardown for ndrchk performance tests.
449 | | Show VAT History On All DUTs | ${nodes}
450 | | Show statistics on all DUTs | ${nodes}
452 | Tear down performance pdrchk test
453 | | [Documentation] | Common test teardown for pdrchk performance tests.
455 | | Show VAT History On All DUTs | ${nodes}
456 | | Show statistics on all DUTs | ${nodes}
458 | Tear down performance test with vhost and VM with dpdk-testpmd
459 | | [Documentation] | Common test teardown for performance tests which use
460 | | ... | vhost(s) and VM(s) with dpdk-testpmd.
462 | | ... | *Arguments:*
463 | | ... | - rate - Rate for sending packets. Type: string
464 | | ... | - framesize - L2 Frame Size [B]. Type: integer
465 | | ... | - topology_type - Topology type. Type: string
466 | | ... | - dut1_node - Node where to clean qemu. Type: dictionary
467 | | ... | - dut1_vm_refs - VM references on node. Type: dictionary
468 | | ... | - dut2_node - Node where to clean qemu. Type: dictionary
469 | | ... | - dut2_vm_refs - VM references on node. Type: dictionary
473 | | ... | \| Tear down performance test with vhost and VM with dpdk-testpmd \
474 | | ... | \| 4.0mpps \| 64 \| 3-node-IPv4 \| ${node['DUT1']} \| ${dut_vm_refs} \
475 | | ... | \| ${node['DUT2']} \| ${dut_vm_refs} \|
477 | | [Arguments] | ${rate} | ${framesize} | ${topology_type}
478 | | ... | ${dut1_node}=${None} | ${dut1_vm_refs}=${None}
479 | | ... | ${dut2_node}=${None} | ${dut2_vm_refs}=${None}
481 | | Show VAT History On All DUTs | ${nodes}
482 | | Show VPP vhost on all DUTs | ${nodes}
483 | | Show statistics on all DUTs | ${nodes}
484 | | Run Keyword If Test Failed
485 | | ... | Traffic should pass with no loss | ${perf_trial_duration} | ${rate}
486 | | ... | ${framesize} | ${topology_type} | fail_on_loss=${False}
487 | | Run keyword unless | ${dut1_node}==${None}
488 | | ... | Tear down guest VM with dpdk-testpmd | ${dut1} | ${dut1_vm_refs}
489 | | Run keyword unless | ${dut2_node}==${None}
490 | | ... | Tear down guest VM with dpdk-testpmd | ${dut2} | ${dut2_vm_refs}
492 | Tear down performance pdrchk test with vhost and VM with dpdk-testpmd
493 | | [Documentation] | Common test teardown for performance pdrchk tests which \
494 | | ... | use vhost(s) and VM(s) with dpdk-testpmd.
496 | | ... | *Arguments:*
497 | | ... | - rate - Rate for sending packets. Type: string
498 | | ... | - framesize - L2 Frame Size [B]. Type: integer
499 | | ... | - topology_type - Topology type. Type: string
500 | | ... | - dut1_node - Node where to clean qemu. Type: dictionary
501 | | ... | - dut1_vm_refs - VM references on node. Type: dictionary
502 | | ... | - dut2_node - Node where to clean qemu. Type: dictionary
503 | | ... | - dut2_vm_refs - VM references on node. Type: dictionary
507 | | ... | \| Tear down performance pdrchk test with vhost and VM with \
508 | | ... | dpdk-testpmd \| 4.0mpps \| 64 \| 3-node-IPv4 \| ${node['DUT1']} \
509 | | ... | \| ${dut_vm_refs} \| ${node['DUT2']} \| ${dut_vm_refs} \|
511 | | [Arguments] | ${rate} | ${framesize} | ${topology_type}
512 | | ... | ${dut1_node}=${None} | ${dut1_vm_refs}=${None}
513 | | ... | ${dut2_node}=${None} | ${dut2_vm_refs}=${None}
515 | | Show VAT History On All DUTs | ${nodes}
516 | | Show VPP vhost on all DUTs | ${nodes}
517 | | Show statistics on all DUTs | ${nodes}
518 | | Run keyword unless | ${dut1_node}==${None}
519 | | ... | Tear down guest VM with dpdk-testpmd | ${dut1} | ${dut1_vm_refs}
520 | | Run keyword unless | ${dut2_node}==${None}
521 | | ... | Tear down guest VM with dpdk-testpmd | ${dut2} | ${dut2_vm_refs}
523 | Tear down DPDK 3-node performance topology
525 | | ... | Suite teardown phase with traffic generator teardown.
526 | | ... | Cleanup DPDK test environment.
528 | | Teardown traffic generator | ${tg}
529 | | Cleanup DPDK Environment | ${dut1} | ${dut1_if1} | ${dut1_if2}
530 | | Cleanup DPDK Environment | ${dut2} | ${dut2_if1} | ${dut2_if2}
532 | Tear down DPDK 2-node performance topology
534 | | ... | Suite teardown phase with traffic generator teardown.
535 | | ... | Cleanup DPDK test environment.
537 | | Teardown traffic generator | ${tg}
538 | | Cleanup DPDK Environment | ${dut1} | ${dut1_if1} | ${dut1_if2}
540 | Tear down performance discovery test with NAT
541 | | [Documentation] | Common test teardown for ndrdisc and pdrdisc performance \
542 | | ... | tests with NAT feature used.
544 | | ... | *Arguments:*
545 | | ... | - rate - Rate for sending packets. Type: string
546 | | ... | - framesize - L2 Frame Size [B]. Type: integer
547 | | ... | - traffic_profile - Traffic profile. Type: string
551 | | ... | \| Tear down performance discovery test with NAT \| 100000pps \| 64 \
552 | | ... | \| ${traffic_profile} \|
554 | | [Arguments] | ${rate} | ${framesize} | ${traffic_profile}
556 | | Tear down performance discovery test | ${rate} | ${framesize}
557 | | ... | ${traffic_profile}
558 | | Show NAT verbose | ${dut1}
559 | | Show NAT verbose | ${dut2}
561 | Tear down performance test with ACL
562 | | [Documentation] | Common test teardown for ndrdisc and pdrdisc performance \
563 | | ... | tests with ACL feature used.
565 | | ... | *Arguments:*
566 | | ... | - rate - Rate for sending packets. Type: string
567 | | ... | - framesize - L2 Frame Size [B]. Type: integer
568 | | ... | - traffic_profile - Traffic profile. Type: string
572 | | ... | \| Tear down performance test with ACL \| 100000pps \| 64 \
573 | | ... | \| ${traffic_profile} \|
575 | | [Arguments] | ${rate} | ${framesize} | ${traffic_profile}
577 | | Tear down performance discovery test | ${rate} | ${framesize}
578 | | ... | ${traffic_profile}
579 | | Vpp Log Plugin Acl Settings | ${dut1}
580 | | Run Keyword If Test Failed | Run Keyword And Ignore Error
581 | | ... | Vpp Log Plugin Acl Interface Assignment | ${dut1}
583 | Tear down performance test with MACIP ACL
584 | | [Documentation] | Common test teardown for ndrdisc and pdrdisc performance \
585 | | ... | tests with MACIP ACL feature used.
587 | | ... | *Arguments:*
588 | | ... | - rate - Rate for sending packets. Type: string
589 | | ... | - framesize - L2 Frame Size [B]. Type: integer
590 | | ... | - traffic_profile - Traffic profile. Type: string
594 | | ... | \| Tear down performance test with MACIP ACL \| 100000pps \| 64 \
595 | | ... | \| ${traffic_profile} \|
597 | | [Arguments] | ${rate} | ${framesize} | ${traffic_profile}
599 | | Tear down performance discovery test | ${rate} | ${framesize}
600 | | ... | ${traffic_profile}
601 | | Run Keyword If Test Failed | Run Keyword And Ignore Error
602 | | ... | Vpp Log Macip Acl Settings | ${dut1}
603 | | Run Keyword And Ignore Error
604 | | ... | Vpp Log Macip Acl Interface Assignment | ${dut1}