l2e: use explicit api types 27/23827/2
authorOle Troan <ot@cisco.com>
Fri, 6 Dec 2019 09:05:29 +0000 (10:05 +0100)
committerAndrew Yourtchenko <ayourtch@gmail.com>
Fri, 6 Dec 2019 14:08:52 +0000 (14:08 +0000)
Type: fix
Signed-off-by: Ole Troan <ot@cisco.com>
Change-Id: I1888a8247ef03cfb715a2c0e0e3ca2a108fecbc8

src/plugins/l2e/l2e.api

index dd2eb16..3b7c9ff 100644 (file)
@@ -15,6 +15,7 @@
  */
 
 option version = "1.0.0";
+import "vnet/interface_types.api";
 
 /** \brief L2 emulation at L3
     @param client_index - opaque cookie to identify the sender
@@ -26,8 +27,8 @@ autoreply define l2_emulation
 {
   u32 client_index;
   u32 context;
-  u32 sw_if_index;
-  u8  enable;
+  vl_api_interface_index_t sw_if_index;
+  bool enable;
 };
 
 /*