aboutsummaryrefslogtreecommitdiffstats
path: root/dpdk-tests/perf/__init__.robot
diff options
context:
space:
mode:
authorTibor Frank <tifrank@cisco.com>2017-02-10 09:24:00 +0100
committerPeter Mikus <pmikus@cisco.com>2017-04-03 09:46:36 +0000
commitec059708c78fe3563bc89507739a2712adc062f3 (patch)
tree1cf1805603919c3b5cf941f53bffa056bdeb7e10 /dpdk-tests/perf/__init__.robot
parentc95798bd9e803a7ad98ed9056e6ddb1a8bbd2dc1 (diff)
Add x710 and xl710 tests for testpmd
10ge2p1x710-eth-l2xcbase-ndrdisc 40ge2p1xl710-eth-l2xcbase-ndrdisc Change-Id: Iea411182fd41e1ae9ed9b5a17f540befc247adb9 Signed-off-by: Tibor Frank <tifrank@cisco.com>
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