X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=dpdk-tests%2Fperf%2F__init__.robot;fp=dpdk-tests%2Fperf%2F__init__.robot;h=03371605fdbcfd4c28f6055850062c4a0732bd8c;hp=153fe354ac1367c297d75a9ea11135871c0bdb43;hb=ec059708c78fe3563bc89507739a2712adc062f3;hpb=c95798bd9e803a7ad98ed9056e6ddb1a8bbd2dc1 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