feat(hoststack): Add stat pre/post actions 38/41038/1
authorVratko Polak <vrpolak@cisco.com>
Tue, 28 May 2024 08:18:08 +0000 (10:18 +0200)
committerVratko Polak <vrpolak@cisco.com>
Fri, 31 May 2024 13:58:37 +0000 (13:58 +0000)
commitd4356a060fd27780082afbe3d033f9ba3fcc7bf3
tree90b89ffbc167f0350ba22ea88e46451952fda927
parent94d0b46416a4bcf0fd7894c3350309ab5fbed3d0
feat(hoststack): Add stat pre/post actions

While adding runtime actions to hoststack tests is not easy,
adding pre and post actions for stats is easy.
The main hoststack measurement is treated as the stats trial,
the same way as the 10 measurements in MRR tests are.

+ Remove the previous partial info via "show" CLI commands.
- As in other VPP tests, stat telemetry is not exported.

Change-Id: Ib567aa810418568520d4d543c6d50431e85a3269
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
(cherry picked from commit 3dc8a53fc419e0491d1bd53e23473aed019fedc1)
resources/libraries/python/HoststackUtil.py
resources/libraries/robot/hoststack/hoststack.robot