X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=tests%2Fvpp%2Fperf%2F__init__.robot;h=60410160acca402865074f553c94e024ab00869b;hb=a28f1efe6803b70c3e2d2bdb74d55c88ffa8f9e1;hp=7bc1a81f534d92611c8ba03ee1f2babe22891753;hpb=36da555ef3da4346ceaec1cd1651658ac539e689;p=csit.git diff --git a/tests/vpp/perf/__init__.robot b/tests/vpp/perf/__init__.robot index 7bc1a81f53..60410160ac 100644 --- a/tests/vpp/perf/__init__.robot +++ b/tests/vpp/perf/__init__.robot @@ -15,14 +15,18 @@ | 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 performance global Variables | ... | AND | Setup Framework | ${nodes} +| ... | AND | Kernel module verify on all DUTs | ${nodes} +| ... | ${uio_driver} | force_load=${True} | ... | AND | Setup All DUTs | ${nodes} | ... | AND | Show Vpp Version On All Duts | ${nodes} | ... | AND | Get CPU Layout 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 performance global Variables @@ -39,6 +43,7 @@ | | ... | - qemu_build - Whether Qemu will be built | | ... | - pkt_trace - Switch to enable packet trace for test | | ... | - dut_stats - Switch to enable DUT statistics +| | ... | - uio_driver - Default UIO driver | | ... | - plugins_to_enable - List of plugins to be enabled for test | | ... | | Set Global Variable | ${perf_trial_duration} | 10 @@ -50,5 +55,6 @@ | | Set Global Variable | ${qemu_build} | ${True} | | Set Global Variable | ${pkt_trace} | ${False} | | Set Global Variable | ${dut_stats} | ${True} +| | Set Global Variable | ${uio_driver} | igb_uio | | @{plugins_to_enable}= | Create List | dpdk_plugin.so | | Set Global Variable | @{plugins_to_enable}