X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=resources%2Flibraries%2Frobot%2Fdefault.robot;h=238749aef168d395ccd932b0587105b8ffbbe9f4;hb=4a16abbba4ffac705b3ac389421dd21e78457cc0;hp=742906e94a49f2f47367b1a39ee34c218e718e87;hpb=72be8262ea5dc0136a21032402b7f4ffa5ff4576;p=csit.git diff --git a/resources/libraries/robot/default.robot b/resources/libraries/robot/default.robot index 742906e94a..238749aef1 100644 --- a/resources/libraries/robot/default.robot +++ b/resources/libraries/robot/default.robot @@ -18,6 +18,7 @@ | Library | resources.libraries.python.DUTSetup | Library | resources.libraries.python.TGSetup | Library | resources/libraries/python/VppConfigGenerator.py +| Library | resources/libraries/python/VppCounters.py | Library | Collections *** Keywords *** @@ -35,6 +36,12 @@ | | :FOR | ${dut} | IN | @{duts} | | | Vpp show version verbose | ${nodes['${dut}']} +| 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 | | ${duts}= | Get Matches | ${nodes} | DUT* @@ -42,6 +49,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. @@ -134,6 +147,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