nat: pnat only use save_rewrite_length on output path
[vpp.git] / src / plugins / l2e / l2e.api
index e4e3438..586e2ba 100644 (file)
@@ -14,7 +14,8 @@
  * limitations under the License.
  */
 
-vl_api_version 1.0.0
+option version = "1.0.0";
+import "vnet/interface_types.api";
 
 /** \brief L2 emulation at L3
     @param client_index - opaque cookie to identify the sender
@@ -24,10 +25,11 @@ vl_api_version 1.0.0
 */
 autoreply define l2_emulation
 {
+  option status="in_progress";
   u32 client_index;
   u32 context;
-  u32 sw_if_index;
-  u8  enable;
+  vl_api_interface_index_t sw_if_index;
+  bool enable;
 };
 
 /*