feature: API cleanup
Use consistent API types.
Type: fix
called through a shared memory interface.
*/
-option version = "1.0.1";
+option version = "1.0.2";
+
+import "vnet/interface_types.api";
/** \brief Feature path enable/disable request
@param client_index - opaque cookie to identify the sender
@@ -30,10 +32,10 @@ option version = "1.0.1";
autoreply define feature_enable_disable {
u32 client_index;
u32 context;
- u32 sw_if_index;
- u8 enable;
- u8 arc_name[64];
- u8 feature_name[64];
+ vl_api_interface_index_t sw_if_index;
+ bool enable;
+ string arc_name[64];
+ string feature_name[64];
};
/*
