summaryrefslogtreecommitdiffstats
path: root/src/vpp-api/vom/acl_binding_cmds.cpp
diff options
context:
space:
mode:
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