aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries/robot/default.robot
diff options
context:
space:
mode:
Diffstat (limited to 'resources/libraries/robot/default.robot')
-rw-r--r--resources/libraries/robot/default.robot8
1 files changed, 8 insertions, 0 deletions
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}']}