From b5eb3b185fb04bfed3ba6c89323cd82e7d666bae Mon Sep 17 00:00:00 2001 From: Mohsin Kazmi Date: Mon, 26 Feb 2018 18:36:17 +0100 Subject: 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 --- src/vpp-api/vom/acl_binding_cmds.hpp | 20 +++----------------- 1 file changed, 3 insertions(+), 17 deletions(-) (limited to 'src/vpp-api/vom/acl_binding_cmds.hpp') diff --git a/src/vpp-api/vom/acl_binding_cmds.hpp b/src/vpp-api/vom/acl_binding_cmds.hpp index 4e8895acb3c..b9af66e70c8 100644 --- a/src/vpp-api/vom/acl_binding_cmds.hpp +++ b/src/vpp-api/vom/acl_binding_cmds.hpp @@ -54,14 +54,7 @@ public: /** * 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 @@ public: /** * 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 @@ public: /** * convert to string format for debug purposes */ - std::string to_string() const { return ("acl-bind-dump"); } + std::string to_string() const; private: /** -- cgit 1.2.3-korg