aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/l2/l2.api
diff options
context:
space:
mode:
authorOle Troan <ot@cisco.com>2018-03-01 14:53:12 +0100
committerNeale Ranns <nranns@cisco.com>2018-03-05 16:44:28 +0000
commitf7b7fa53b7eaec81d8c00c1023fb7d01f1f9761f (patch)
tree4367f86fbb2c335c0e6d893a3eb6981ea7a63927 /src/vnet/l2/l2.api
parentf313b747ad4313a5cadfdb6aa7eb66ce8bf7958f (diff)
API: Add service definitions for events and singleton messages.
Change-Id: I7de987c30b263d43521e6280c5273f30b5f6e11c Signed-off-by: Ole Troan <ot@cisco.com>
Diffstat (limited to 'src/vnet/l2/l2.api')
-rw-r--r--src/vnet/l2/l2.api5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/vnet/l2/l2.api b/src/vnet/l2/l2.api
index 5102783bcb4..3fb6de0d073 100644
--- a/src/vnet/l2/l2.api
+++ b/src/vnet/l2/l2.api
@@ -182,6 +182,11 @@ define l2_macs_event
vl_api_mac_entry_t mac[n_macs];
};
+service {
+ rpc want_l2_macs_events returns want_l2_macs_events_reply
+ events l2_macs_event;
+};
+
/** \brief Set interface L2 flags (such as L2_LEARN, L2_FWD,
L2_FLOOD, L2_UU_FLOOD, or L2_ARP_TERM bits). This can be used
to disable one or more of the features represented by the