summaryrefslogtreecommitdiffstats
path: root/src/plugins/ioam/export/ioam_export.api
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/ioam/export/ioam_export.api')
-rw-r--r--src/plugins/ioam/export/ioam_export.api7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/plugins/ioam/export/ioam_export.api b/src/plugins/ioam/export/ioam_export.api
index c127bd2e865..2e77ded6d9d 100644
--- a/src/plugins/ioam/export/ioam_export.api
+++ b/src/plugins/ioam/export/ioam_export.api
@@ -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 */
};