wireguard: stabilize the API
[vpp.git] / src / plugins / wireguard / wireguard.api
index d630a2f..55a36c6 100644 (file)
@@ -14,7 +14,7 @@
  * limitations under the License.
  */
 
-option version = "0.3.0";
+option version = "1.3.0";
 
 import "vnet/interface_types.api";
 import "vnet/ip/ip_types.api";
@@ -206,12 +206,12 @@ define wireguard_peers_details {
 /** \brief Wireguard Set Async mode
     @param client_index - opaque cookie to identify the sender
     @param context - sender context, to match reply w/ request
-    @param async_enable - wireguard async mode on or off
+    @param async_enable - wireguard async mode on or off, default off
 */
 autoreply define wg_set_async_mode {
   u32 client_index;
   u32 context;
-  bool async_enable;
+  bool async_enable [default=false];
 };
 
 /*