summaryrefslogtreecommitdiffstats
path: root/src/vpp-api/vom/acl_binding.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/vpp-api/vom/acl_binding.cpp')
-rw-r--r--src/vpp-api/vom/acl_binding.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/vpp-api/vom/acl_binding.cpp b/src/vpp-api/vom/acl_binding.cpp
index b87cfbaa2e4..73f015df377 100644
--- a/src/vpp-api/vom/acl_binding.cpp
+++ b/src/vpp-api/vom/acl_binding.cpp
@@ -19,6 +19,13 @@
namespace VOM {
namespace ACL {
template <>
+l2_binding::event_handler::event_handler()
+{
+ OM::register_listener(this);
+ inspect::register_handler({ "l2-acl-binding" }, "L2 ACL bindings", this);
+}
+
+template <>
void
l2_binding::event_handler::handle_populate(const client_db::key_t& key)
{
@@ -47,6 +54,13 @@ l2_binding::event_handler::handle_populate(const client_db::key_t& key)
}
template <>
+l3_binding::event_handler::event_handler()
+{
+ OM::register_listener(this);
+ inspect::register_handler({ "l3-acl-binding" }, "L3 ACL bindings", this);
+}
+
+template <>
void
l3_binding::event_handler::handle_populate(const client_db::key_t& key)
{