From 51edc3ab01e0af58d457da97bf6ca9cc3ebc6b8d Mon Sep 17 00:00:00 2001 From: Mohsin Kazmi Date: Wed, 21 Nov 2018 19:00:46 +0100 Subject: vom: Add support for new stats This patch deprecates old stats and adds support for new stats. This implements the PULL design where client will enable stats on objects (i.e. interfaces, etc), register a call back function which will run once stats will be ready for enabled object and call HW::read_stats() periodically to read stats for enabled objects from VPP. Change-Id: I32525a417427be87408d01f8bc93a731602ff690 Signed-off-by: Mohsin Kazmi --- test/ext/vom_test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/ext') diff --git a/test/ext/vom_test.cpp b/test/ext/vom_test.cpp index fa51c38215d..6aacea9803b 100644 --- a/test/ext/vom_test.cpp +++ b/test/ext/vom_test.cpp @@ -95,7 +95,7 @@ public: class MockListener : public interface::event_listener, public interface::stat_listener { - void handle_interface_stat(interface_cmds::stats_enable_cmd *cmd) + void handle_interface_stat(const interface& itf) { } void handle_interface_event(std::vector events) -- cgit 1.2.3-korg