aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries
diff options
context:
space:
mode:
authorPeter Mikus <peter.mikus@protonmail.ch>2024-09-19 14:00:38 +0200
committerPeter Mikus <peter.mikus@protonmail.ch>2024-09-19 12:01:31 +0000
commitc0cf095c274800de647acfbe46776b5fba90c77f (patch)
tree8887a1310801ba341c67c17ebfcf62ba8f79ab97 /resources/libraries
parent9fe51302179c0aa9c78f738c6f8d0d4a2a5052c4 (diff)
feat(robot): Infra action
Signed-off-by: Peter Mikus <peter.mikus@protonmail.ch> Change-Id: I55f6e954c865fa0574b9521bd885b68d2a87d39b
Diffstat (limited to 'resources/libraries')
-rw-r--r--resources/libraries/robot/performance/performance_actions.robot32
1 files changed, 32 insertions, 0 deletions
diff --git a/resources/libraries/robot/performance/performance_actions.robot b/resources/libraries/robot/performance/performance_actions.robot
index 1d2ea52274..a25a27a08d 100644
--- a/resources/libraries/robot/performance/performance_actions.robot
+++ b/resources/libraries/robot/performance/performance_actions.robot
@@ -61,6 +61,38 @@
| | Sleep | 1s
| | Stop traffic on tg
+| Additional Statistics Action For infra-warmup
+| | [Documentation]
+| | ... | Additional Statistics Action for infra warmup.
+| |
+| | ... | See documentation of the called keyword for required test variables.
+| |
+| | ${ppta} = | Get Packets Per Transaction Aggregated
+| | ${ramp_up_duration} = | Get Ramp Up Duration
+| | ${ramp_up_rate} = | Get Ramp Up Rate
+| | ${runtime_duration} = | Get Runtime Duration
+| | ${runtime_rate} = | Get Runtime Rate
+| | ${traffic_directions} = | Get Traffic Directions
+| | ${transaction_duration} = | Get Transaction Duration
+| | ${transaction_scale} = | Get Transaction Scale
+| | ${transaction_type} = | Get Transaction Type
+| | ${use_latency} = | Get Use Latency
+| | Send traffic on tg
+| | ... | duration=${5}
+| | ... | rate=${253}
+| | ... | frame_size=${frame_size}
+| | ... | traffic_profile=${traffic_profile}
+| | ... | async_call=${True}
+| | ... | ppta=${ppta}
+| | ... | use_latency=${False}
+| | ... | traffic_directions=${traffic_directions}
+| | ... | transaction_duration=${transaction_duration}
+| | ... | transaction_scale=${transaction_scale}
+| | ... | transaction_type=${transaction_type}
+| | ... | duration_limit=${0.0}
+| | ... | ramp_up_duration=${ramp_up_duration}
+| | ... | ramp_up_rate=${ramp_up_rate}
+
| Additional Statistics Action For vpp-runtime
| | [Documentation]
| | ... | Additional Statistics Action for clear and show runtime counters with