API: Use string type instead of u8.
[vpp.git] / src / vpp / oam / oam.api
index 47b5b3e..3823d8e 100644 (file)
@@ -19,7 +19,7 @@
     called through a shared memory interface. 
 */
 
-vl_api_version 1.0.0
+option version = "1.0.0";
 
 /** \brief OAM event structure
     @param dst_address[] - 
@@ -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