VOM: Fix state reconciliation
This commit also fixes the acl and arp handle for
inspector to view internal state of VOM.
Change-Id: Ibc8ff6cb51d2a77b4c04993ac7212564b8892337
Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com>
diff --git a/src/vpp-api/vom/acl_binding_cmds.hpp b/src/vpp-api/vom/acl_binding_cmds.hpp
index 4e8895a..b9af66e 100644
--- a/src/vpp-api/vom/acl_binding_cmds.hpp
+++ b/src/vpp-api/vom/acl_binding_cmds.hpp
@@ -54,14 +54,7 @@
/**
* convert to string format for debug purposes
*/
- std::string to_string() const
- {
- std::ostringstream s;
- s << "acl-bind:[" << m_direction.to_string() << " itf:" << m_itf.to_string()
- << " acl:" << m_acl.to_string() << "]";
-
- return (s.str());
- }
+ std::string to_string() const;
/**
* Comparison operator - only used for UT
@@ -117,14 +110,7 @@
/**
* convert to string format for debug purposes
*/
- std::string to_string() const
- {
- std::ostringstream s;
- s << "acl-unbind:[" << m_direction.to_string()
- << " itf:" << m_itf.to_string() << " acl:" << m_acl.to_string() << "]";
-
- return (s.str());
- }
+ std::string to_string() const;
/**
* Comparison operator - only used for UT
@@ -171,7 +157,7 @@
/**
* convert to string format for debug purposes
*/
- std::string to_string() const { return ("acl-bind-dump"); }
+ std::string to_string() const;
private:
/**