GSO: TAP/VHOST use case
[csit.git] / resources / libraries / robot / performance / performance_actions.robot
1 # Copyright (c) 2021 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 | Variables | resources/libraries/python/Constants.py
16 | Resource | resources/libraries/robot/performance/performance_utils.robot
17 |
18 | Documentation
19 | ... | Performance suite keywords - Actions related to performance tests.
20
21 *** Keywords ***
22 | Additional Statistics Action For bash-perf-stat
23 | | [Documentation]
24 | | ... | Additional Statistics Action for bash command "perf stat".
25 | |
26 | | Run Keyword If | ${extended_debug}==${True}
27 | | ... | Perf Stat On All DUTs | ${nodes} | cpu_list=${cpu_alloc_str}
28
29 | Additional Statistics Action For clear-show-runtime-with-traffic
30 | | [Documentation]
31 | | ... | Additional Statistics Action for clear and show runtime counters with
32 | | ... | running traffic.
33 | |
34 | | ... | See documentation of the called keyword for required test variables.
35 | |
36 | | Clear and show runtime counters with running traffic
37
38 | Additional Statistics Action For clear-show-runtime-with-iperf3
39 | | [Documentation]
40 | | ... | Additional Statistics Action for clear and show runtime counters with
41 | | ... | iPerf3 running traffic.
42 | |
43 | | ... | See documentation of the called keyword for required test variables.
44 | |
45 | | Clear and show runtime counters with running iperf3
46
47 | Additional Statistics Action For noop
48 | | [Documentation]
49 | | ... | Additional Statistics Action for no operation.
50 | |
51 | | No operation
52
53 | Additional Statistics Action For vpp-clear-runtime
54 | | [Documentation]
55 | | ... | Additional Statistics Action for clear VPP runtime.
56 | |
57 | | VPP Clear Runtime On All DUTs | ${nodes}
58
59 | Additional Statistics Action For vpp-clear-stats
60 | | [Documentation]
61 | | ... | Additional Statistics Action for clear VPP statistics.
62 | |
63 | | Clear Statistics On All DUTs | ${nodes}
64
65 | Additional Statistics Action For vpp-enable-elog
66 | | [Documentation]
67 | | ... | Additional Statistics Action for enable VPP elog trace.
68 | |
69 | | VPP Enable Elog Traces On All DUTs | ${nodes}
70
71 | Additional Statistics Action For vpp-enable-packettrace
72 | | [Documentation]
73 | | ... | Additional Statistics Action for enable VPP packet trace.
74 | |
75 | | Run Keyword If | ${extended_debug}==${True}
76 | | ... | VPP Enable Traces On All DUTs | ${nodes} | fail_on_error=${False}
77
78 | Additional Statistics Action For vpp-show-elog
79 | | [Documentation]
80 | | ... | Additional Statistics Action for show VPP elog trace.
81 | |
82 | | Show Event Logger On All DUTs | ${nodes}
83
84 | Additional Statistics Action For vpp-show-packettrace
85 | | [Documentation]
86 | | ... | Additional Statistics Action for show VPP packet trace.
87 | |
88 | | Run Keyword If | ${extended_debug}==${True}
89 | | ... | Show Packet Trace On All Duts | ${nodes} | maximum=${100}
90
91 | Additional Statistics Action For vpp-show-runtime
92 | | [Documentation]
93 | | ... | Additional Statistics Action for show VPP runtime.
94 | |
95 | | VPP Show Runtime On All DUTs | ${nodes}
96
97 | Additional Statistics Action For vpp-show-stats
98 | | [Documentation]
99 | | ... | Additional Statistics Action for show VPP statistics.
100 | |
101 | | Show Statistics On All DUTs | ${nodes}