diff options
author | Jan Gelety <jgelety@cisco.com> | 2019-11-12 05:27:43 +0100 |
---|---|---|
committer | Jan Gelety <jgelety@cisco.com> | 2019-11-28 18:26:21 +0100 |
commit | d68951ac245150eeefa6e0f4156e4c1b5c9e9325 (patch) | |
tree | 487554a7547218d27f0a61ec02b70502c32cdcb4 /tests/vpp/perf/__init__.robot | |
parent | ed0258a440cfad7023d643f717ab78ac568dc59b (diff) |
Python3: resources and libraries
Change-Id: I1392c06b1d64f62b141d24c0d42a8e36913b15e2
Signed-off-by: Jan Gelety <jgelety@cisco.com>
Diffstat (limited to 'tests/vpp/perf/__init__.robot')
-rw-r--r-- | tests/vpp/perf/__init__.robot | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/tests/vpp/perf/__init__.robot b/tests/vpp/perf/__init__.robot index a54249bf1a..90afe801cd 100644 --- a/tests/vpp/perf/__init__.robot +++ b/tests/vpp/perf/__init__.robot @@ -14,10 +14,11 @@ *** Settings *** | Resource | resources/libraries/robot/shared/default.robot | Resource | resources/libraries/robot/shared/interfaces.robot +| | Library | resources.libraries.python.SetupFramework | Library | resources.libraries.python.SetupFramework.CleanupFramework | Library | resources.libraries.python.CpuUtils -| ... +| | Suite Setup | Run Keywords | Setup Global Variables | ... | AND | Setup Framework | ${nodes} | ... | AND | Setup Corekeeper on All Nodes | ${nodes} @@ -28,17 +29,18 @@ | ... | AND | Get CPU Info from All Nodes | ${nodes} | ... | AND | Update All Interface Data on All Nodes | ${nodes} | ... | skip_tg=${True} | numa_node=${True} -| ... +| | Suite Teardown | Cleanup Framework | ${nodes} *** Keywords *** | Setup Global Variables | | [Documentation] | | ... | Setup suite Variables. Variables are used across performance testing. -| | ... +| | | | ... | _NOTE:_ This KW sets following suite variables: | | ... | - dut_stats - Switch to enable DUT statistics. | | ... | - packages_dir - Directory with VPP binary packages. -| | ... +| | | | Set Global Variable | ${dut_stats} | ${True} | | Set Global Variable | ${packages_dir} | /tmp/openvpp-testing/download_dir/ +| | Set Global Variable | ${nodes} |