diff options
author | Neale Ranns <neale.ranns@cisco.com> | 2017-11-28 22:29:13 -0800 |
---|---|---|
committer | Neale Ranns <nranns@cisco.com> | 2017-11-29 07:42:52 +0000 |
commit | a2ee029d0772e894911c84fb8a0cab5f253e145b (patch) | |
tree | 167d07ee3b3a482ef494f420ceef13a9657d4274 /src/vpp-api/vom/types.cpp | |
parent | e80ae9ea8ed04c82c151a548916926b5dbfe8ecb (diff) |
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 <neale.ranns@cisco.com>
Diffstat (limited to 'src/vpp-api/vom/types.cpp')
-rw-r--r-- | src/vpp-api/vom/types.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
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); |