X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=resources%2Flibraries%2Frobot%2Fcounters.robot;h=0cb18c15db2feaf39ecdc89300e923d911b385d3;hb=c5e740fbe49b3074647c8c5fc09d26a131cea577;hp=a8897685ad0e3487b251ba1f8b6beb07f4039ac2;hpb=33499c81c94c2d3baef9d3e9f061cd76ef86fa74;p=csit.git diff --git a/resources/libraries/robot/counters.robot b/resources/libraries/robot/counters.robot index a8897685ad..0cb18c15db 100644 --- a/resources/libraries/robot/counters.robot +++ b/resources/libraries/robot/counters.robot @@ -37,3 +37,23 @@ | | [Arguments] | ${node} | ${interface} | ${value} | | ${ipv4_counter}= | Vpp get ipv4 interface counter | ${node} | ${interface} | | Should Be Equal | ${ipv4_counter} | ${value} + +| Vpp show stats +| | [Documentation] | Show [error, hardware, interface] stats +| | [Arguments] | ${node} +| | Vpp Dump Stats Table | ${node} +| | Vpp Show Errors | ${node} +| | Vpp Show Hardware Detail | ${node} +| | Vpp Show Runtime | ${node} + +| Clear runtime statistics on all DUTs +| | [Documentation] | Clear VPP runtime statistics on all DUTs +| | ${duts}= | Get Matches | ${nodes} | DUT* +| | :FOR | ${dut} | IN | @{duts} +| | | Vpp clear runtime | ${nodes['${dut}']} + +| Show runtime statistics on all DUTs +| | [Documentation] | Show VPP runtime statistics on all DUTs +| | ${duts}= | Get Matches | ${nodes} | DUT* +| | :FOR | ${dut} | IN | @{duts} +| | | Vpp show runtime | ${nodes['${dut}']}