summaryrefslogtreecommitdiffstats
path: root/src/vpp-api/vom/acl_binding_cmds.cpp
diff options
context:
space:
mode:
authorNeale Ranns <neale.ranns@cisco.com>2017-11-03 04:39:05 -0700
committerNeale Ranns <nranns@cisco.com>2017-11-06 17:44:21 +0000
commit9ef1c0adbf9399c55deeede3cf629dd4e8c20304 (patch)
tree0eeed8f869eee35a48797b6b837c16222a627e46 /src/vpp-api/vom/acl_binding_cmds.cpp
parentaddb55b9e0533c5f720b1cc1bdeeb4bbd0e6bf2a (diff)
VOM reshuffle
split the VOM into two halves; a top/front-end and a bottom/backend. Only the backend includes the auto-generated VAPI. This serves two purposes: 1 - improves ompile times for VOM, since the VAPI is included only in the backend. 2 - does not expose VAPI to users of VOM Change-Id: I17b93aeaef10c0eba8612016d9034aca5628d9f7 Signed-off-by: Neale Ranns <neale.ranns@cisco.com> Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com>
Diffstat (limited to 'src/vpp-api/vom/acl_binding_cmds.cpp')
-rw-r--r--src/vpp-api/vom/acl_binding_cmds.cpp21
1 files changed, 12 insertions, 9 deletions
diff --git a/src/vpp-api/vom/acl_binding_cmds.cpp b/src/vpp-api/vom/acl_binding_cmds.cpp
index 27d50434c3b..534f7868a08 100644
--- a/src/vpp-api/vom/acl_binding_cmds.cpp
+++ b/src/vpp-api/vom/acl_binding_cmds.cpp
@@ -13,15 +13,16 @@
* limitations under the License.
*/
-#include "vom/acl_binding.hpp"
+#include "vom/acl_binding_cmds.hpp"
DEFINE_VAPI_MSG_IDS_ACL_API_JSON;
namespace VOM {
namespace ACL {
+namespace binding_cmds {
template <>
rc_t
-l3_binding::bind_cmd::issue(connection& con)
+l3_bind_cmd::issue(connection& con)
{
msg_t req(con.ctx(), std::ref(*this));
@@ -40,7 +41,7 @@ l3_binding::bind_cmd::issue(connection& con)
template <>
rc_t
-l3_binding::unbind_cmd::issue(connection& con)
+l3_unbind_cmd::issue(connection& con)
{
msg_t req(con.ctx(), std::ref(*this));
@@ -59,7 +60,7 @@ l3_binding::unbind_cmd::issue(connection& con)
template <>
rc_t
-l3_binding::dump_cmd::issue(connection& con)
+l3_dump_cmd::issue(connection& con)
{
m_dump.reset(new msg_t(con.ctx(), std::ref(*this)));
@@ -75,7 +76,7 @@ l3_binding::dump_cmd::issue(connection& con)
template <>
rc_t
-l2_binding::bind_cmd::issue(connection& con)
+l2_bind_cmd::issue(connection& con)
{
msg_t req(con.ctx(), std::ref(*this));
@@ -94,7 +95,7 @@ l2_binding::bind_cmd::issue(connection& con)
template <>
rc_t
-l2_binding::unbind_cmd::issue(connection& con)
+l2_unbind_cmd::issue(connection& con)
{
msg_t req(con.ctx(), std::ref(*this));
@@ -113,7 +114,7 @@ l2_binding::unbind_cmd::issue(connection& con)
template <>
rc_t
-l2_binding::dump_cmd::issue(connection& con)
+l2_dump_cmd::issue(connection& con)
{
m_dump.reset(new msg_t(con.ctx(), std::ref(*this)));
@@ -126,8 +127,10 @@ l2_binding::dump_cmd::issue(connection& con)
return rc_t::OK;
}
-}
-}
+
+}; // namespace binding_cmds
+}; // namespace ACL
+}; // namespace VOM
/*
* fd.io coding-style-patch-verification: ON