From a2ee029d0772e894911c84fb8a0cab5f253e145b Mon Sep 17 00:00:00 2001 From: Neale Ranns Date: Tue, 28 Nov 2017 22:29:13 -0800 Subject: VOM: logging, populate and stats fixes logging: allow a client to register a callback handler to recieve log messages that way the client can maintain a correctly sequenced log populate: fix the creation of interface and the setting of the handle stats: the reset promise idea is not defined behaviour. Use an eanble/disable command pair Change-Id: I347720bb65df2874c7619e722d593bc863ee2bf1 Signed-off-by: Neale Ranns --- src/vpp-api/vom/types.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/vpp-api/vom/types.cpp') diff --git a/src/vpp-api/vom/types.cpp b/src/vpp-api/vom/types.cpp index c5325d287a5..cdced0ffb72 100644 --- a/src/vpp-api/vom/types.cpp +++ b/src/vpp-api/vom/types.cpp @@ -49,9 +49,8 @@ rc_t::from_vpp_retval(int32_t rv) const rc_t rc_t::UNSET(0, "un-set"); const rc_t rc_t::NOOP(1, "no-op"); const rc_t rc_t::OK(2, "ok"); -const rc_t rc_t::INPROGRESS(3, "in-progess"); -const rc_t rc_t::INVALID(4, "invalid"); -const rc_t rc_t::TIMEOUT(5, "timeout"); +const rc_t rc_t::INVALID(3, "invalid"); +const rc_t rc_t::TIMEOUT(4, "timeout"); const handle_t handle_t::INVALID(~0); -- cgit 1.2.3-korg