summaryrefslogtreecommitdiffstats
path: root/test/ext
diff options
context:
space:
mode:
authorMohsin Kazmi <sykazmi@cisco.com>2018-11-21 19:00:46 +0100
committerNeale Ranns <nranns@cisco.com>2018-12-13 07:46:02 +0000
commit51edc3ab01e0af58d457da97bf6ca9cc3ebc6b8d (patch)
tree61030afdb69ed1952021dad99fa209a280d68a49 /test/ext
parenteb6c7999477cfbca77223be3ef7f11528da9f093 (diff)
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 <sykazmi@cisco.com>
Diffstat (limited to 'test/ext')
-rw-r--r--test/ext/vom_test.cpp2
1 files changed, 1 insertions, 1 deletions
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<VOM::interface::event> events)