ioam: use explicit api types
[vpp.git] / src / plugins / ioam / export / ioam_export.api
index c127bd2..2e77ded 100644 (file)
@@ -15,6 +15,7 @@
  */
 
 option version = "1.0.0";
+import "vnet/ip/ip_types.api";
 
 /* Define a simple binary API to control the feature */
 
@@ -26,11 +27,11 @@ autoreply define ioam_export_ip6_enable_disable {
     u32 context;
 
     /* Enable / disable the feature */
-    u8 is_disable;
+    bool is_disable;
 
     /* Collector ip address */
-    u8 collector_address[4];
-    u8 src_address[4];
+    vl_api_ip4_address_t collector_address;
+    vl_api_ip4_address_t src_address;
 
     /* Src ip address */
 };