T-REX stl traffic send improvement for async calls
[csit.git] / resources / libraries / robot / counters.robot
index a889768..0cb18c1 100644 (file)
 | | [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}']}