ip: Replace Sematics for Interface IP addresses
[vpp.git] / src / plugins / avf / avf.api
index 1cca17f..24e62ce 100644 (file)
@@ -16,6 +16,7 @@
  */
 
 option version = "1.0.0";
+import "vnet/interface_types.api";
 
 /** \brief
     @param client_index - opaque cookie to identify the sender
@@ -38,6 +39,7 @@ define avf_create
   u16 rxq_num;
   u16 rxq_size;
   u16 txq_size;
+  option vat_help = "<pci-address> [rx-queue-size <size>] [tx-queue-size <size>] [num-rx-queues <size>]";
 };
 
 /** \brief
@@ -50,7 +52,7 @@ define avf_create_reply
 {
   u32 context;
   i32 retval;
-  u32 sw_if_index;
+  vl_api_interface_index_t sw_if_index;
 };
 
 /** \brief
@@ -64,7 +66,8 @@ autoreply define avf_delete
   u32 client_index;
   u32 context;
 
-  u32 sw_if_index;
+  vl_api_interface_index_t sw_if_index;
+  option vat_help = "<sw_if_index>";
 };
 
 /*