aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries/robot/default.robot
diff options
context:
space:
mode:
authorpmikus <pmikus@cisco.com>2016-11-16 14:34:05 +0100
committerPeter Mikus <pmikus@cisco.com>2016-12-13 06:07:28 +0000
commitd7fed63ae2b5d7b3d1f67f572da2d23388f22018 (patch)
tree9cbb2042e9a0338cf4ae7849e3aaf52964a420dc /resources/libraries/robot/default.robot
parenta17771374e95582aa411147469f14d4e6507ae8b (diff)
CSIT-470 Add option to configure CFS scheduler priority for VPP
Add option to configure CFS scheduler priority for VPP Change-Id: Id358ebe41d7e868fd412d554d886567f81894b86 Signed-off-by: pmikus <pmikus@cisco.com>
Diffstat (limited to 'resources/libraries/robot/default.robot')
-rw-r--r--resources/libraries/robot/default.robot24
1 files changed, 16 insertions, 8 deletions
diff --git a/resources/libraries/robot/default.robot b/resources/libraries/robot/default.robot
index dca7d53373..85cc4102cc 100644
--- a/resources/libraries/robot/default.robot
+++ b/resources/libraries/robot/default.robot
@@ -16,6 +16,7 @@
| Library | resources.libraries.python.topology.Topology
| Library | resources.libraries.python.CpuUtils
| Library | resources.libraries.python.DUTSetup
+| Library | resources.libraries.python.SchedUtils
| Library | resources.libraries.python.TGSetup
| Library | resources/libraries/python/VppConfigGenerator.py
| Library | resources/libraries/python/VppCounters.py
@@ -23,27 +24,27 @@
*** Keywords ***
| Setup all DUTs before test
-| | [Documentation] | Setup all DUTs in topology before test execution
+| | [Documentation] | Setup all DUTs in topology before test execution.
| | Setup All DUTs | ${nodes}
| Setup all TGs before traffic script
-| | [Documentation] | Prepare all TGs before traffic scripts execution
+| | [Documentation] | Prepare all TGs before traffic scripts execution.
| | All TGs Set Interface Default Driver | ${nodes}
-| Show vpp version on all DUTs
-| | [Documentation] | Show VPP version verbose on all DUTs
+| Show Vpp Version On All DUTs
+| | [Documentation] | Show VPP version verbose on all DUTs.
| | ${duts}= | Get Matches | ${nodes} | DUT*
| | :FOR | ${dut} | IN | @{duts}
| | | Vpp show version verbose | ${nodes['${dut}']}
-| Show Vpp Errors on All DUTs
-| | [Documentation] | Show VPP errors verbose on all DUTs
+| Show Vpp Errors On All DUTs
+| | [Documentation] | Show VPP errors verbose on all DUTs.
| | ${duts}= | Get Matches | ${nodes} | DUT*
| | :FOR | ${dut} | IN | @{duts}
| | | Vpp Show Errors | ${nodes['${dut}']}
-| Show vpp trace dump on all DUTs
-| | [Documentation] | Save API trace and dump output on all DUTs
+| Show Vpp Trace Dump On All DUTs
+| | [Documentation] | Save API trace and dump output on all DUTs.
| | ${duts}= | Get Matches | ${nodes} | DUT*
| | :FOR | ${dut} | IN | @{duts}
| | | Vpp api trace save | ${nodes['${dut}']}
@@ -55,6 +56,13 @@
| | :FOR | ${dut} | IN | @{duts}
| | | Vpp Show Vhost | ${nodes['${dut}']}
+| Setup Scheduler Policy for Vpp On All DUTs
+| | [Documentation] | Set realtime scheduling policy (SCHED_RR) with priority 1
+| | ... | on all VPP worker threads on all DUTs.
+| | ${duts}= | Get Matches | ${nodes} | DUT*
+| | :FOR | ${dut} | IN | @{duts}
+| | | Set VPP Scheduling rr | ${nodes['${dut}']}
+
| Add '${m}' worker threads and rxqueues '${n}' in 3-node single-link topo
| | [Documentation] | Setup M worker threads and N rxqueues in vpp startup
| | ... | configuration on all DUTs in 3-node single-link topology.