X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=resources%2Flibraries%2Frobot%2Fdefault.robot;h=d085825a046d5eea51fa7030a31e9acf1fd8aaec;hb=1739f04bbed020135f2bbf0ffcedf961fc1b5474;hp=0c9341580ebdde3acc658f975fb520e8529857dc;hpb=33499c81c94c2d3baef9d3e9f061cd76ef86fa74;p=csit.git diff --git a/resources/libraries/robot/default.robot b/resources/libraries/robot/default.robot index 0c9341580e..d085825a04 100644 --- a/resources/libraries/robot/default.robot +++ b/resources/libraries/robot/default.robot @@ -15,6 +15,7 @@ | Variables | resources/libraries/python/topology.py | Library | resources/libraries/python/DUTSetup.py | Library | resources/libraries/python/TGSetup.py +| Library | Collections *** Keywords *** | Setup all DUTs before test @@ -24,3 +25,10 @@ | Setup all TGs before traffic script | | [Documentation] | Prepare all TGs before traffic scripts execution | | All TGs Set Interface Default Driver | ${nodes} + +| Show statistics on all DUTs +| | [Documentation] | Show VPP statistics on all DUTs after the test failed +| | Sleep | 10 | Waiting for statistics to be collected +| | ${duts}= | Get Matches | ${nodes} | DUT* +| | :FOR | ${dut} | IN | @{duts} +| | | Vpp show stats | ${nodes['${dut}']}