X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=resources%2Flibraries%2Frobot%2Fdefault.robot;h=eeef04a8a2c717836fdaf1ab1fdbe70db8653731;hp=714bf3a2510e317e4c8cbb066633333bcbfb892f;hb=d551ef4b72448c3ccb493559826b976a2d3d8649;hpb=cdfe60613521e492157153bbe097fdc05193a593 diff --git a/resources/libraries/robot/default.robot b/resources/libraries/robot/default.robot index 714bf3a251..eeef04a8a2 100644 --- a/resources/libraries/robot/default.robot +++ b/resources/libraries/robot/default.robot @@ -24,7 +24,9 @@ *** Keywords *** | Setup all DUTs before test | | [Documentation] | Setup all DUTs in topology before test execution -| | Setup All DUTs | ${nodes} +| | ${duts}= | Get Matches | ${nodes} | DUT* +| | :FOR | ${dut} | IN | @{duts} +| | | Wait Until Keyword Succeeds | 3x | 1 min | Setup Dut | ${nodes['${dut}']} | Setup all TGs before traffic script | | [Documentation] | Prepare all TGs before traffic scripts execution @@ -49,6 +51,12 @@ | | | Vpp api trace save | ${nodes['${dut}']} | | | Vpp api trace dump | ${nodes['${dut}']} +| Show Vpp Vhost On All DUTs +| | [Documentation] | Show Vhost User on all DUTs +| | ${duts}= | Get Matches | ${nodes} | DUT* +| | :FOR | ${dut} | IN | @{duts} +| | | Vpp Show Vhost | ${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. @@ -141,6 +149,16 @@ | | [Arguments] | ${node} | ${pci_address} | | Add PCI device | ${node} | ${pci_address} +| Add Heapsize Config to all DUTs +| | [Documentation] | Add Add Heapsize Config to VPP startup configuration +| | ... | to all DUTs +| | ... | *Arguments:* +| | ... | - ${heapsize} - Heapsize string (5G, 200M, ...) +| | [Arguments] | ${heapsize} +| | ${duts}= | Get Matches | ${nodes} | DUT* +| | :FOR | ${dut} | IN | @{duts} +| | | Add Heapsize Config | ${nodes['${dut}']} | ${heapsize} + | Add No Multi Seg to all DUTs | | [Documentation] | Add No Multi Seg to VPP startup configuration to all | | ... | DUTs