aboutsummaryrefslogtreecommitdiffstats
path: root/dpdk-tests/perf/__init__.robot
diff options
context:
space:
mode:
Diffstat (limited to 'dpdk-tests/perf/__init__.robot')
-rw-r--r--dpdk-tests/perf/__init__.robot19
1 files changed, 18 insertions, 1 deletions
diff --git a/dpdk-tests/perf/__init__.robot b/dpdk-tests/perf/__init__.robot
index 153fe354ac..03371605fd 100644
--- a/dpdk-tests/perf/__init__.robot
+++ b/dpdk-tests/perf/__init__.robot
@@ -15,7 +15,24 @@
| Resource | resources/libraries/robot/default.robot
| Resource | resources/libraries/robot/interfaces.robot
| Library | resources.libraries.python.DPDK.SetupDPDKTest
-| Suite Setup | Run Keywords | Setup DPDK Test | ${nodes}
+| Suite Setup | Run Keywords | Setup performance global Variables
+| ... | AND | Setup DPDK Test | ${nodes}
| ... | AND | Get CPU Layout from all nodes | ${nodes}
| ... | AND | Update All Numa Nodes
| ... | ${nodes} | skip_tg=${True}
+
+*** Keywords ***
+| Setup performance global Variables
+| | [Documentation]
+| | ... | Setup suite Variables. Variables are used across performance testing.
+| | ...
+| | ... | _NOTE:_ This KW sets following suite variables:
+| | ... | - perf_trial_duration - Duration of traffic run [s].
+| | ... | - perf_pdr_loss_acceptance - Loss acceptance treshold
+| | ... | - perf_pdr_loss_acceptance_type - Loss acceptance treshold type
+| | ... | - perf_vm_image - Guest VM disk image
+| | ...
+| | Set Global Variable | ${perf_trial_duration} | 10
+| | Set Global Variable | ${perf_pdr_loss_acceptance} | 0.5
+| | Set Global Variable | ${perf_pdr_loss_acceptance_type} | percentage
+| | Set Global Variable | ${perf_vm_image} | /var/lib/vm/csit-nested-1.6.img