API: Add service definitions for events and singleton messages (second attempt)
[vpp.git] / src / vpp / oam / oam.api
index d03902e..3823d8e 100644 (file)
@@ -45,6 +45,11 @@ autoreply define want_oam_events
   u32 pid;
 };
 
+service {
+  rpc want_oam_events returns want_oam_events_reply
+    events oam_event;
+};
+
 /** \brief OAM add / del target request
     @param client_index - opaque cookie to identify the sender
     @param context - sender context, to match reply w/ request