aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/ioam/export/ioam_export.api
diff options
context:
space:
mode:
authorOle Troan <ot@cisco.com>2019-12-09 14:25:09 +0100
committerPaul Vinciguerra <pvinci@vinciconsulting.com>2019-12-10 04:11:04 +0000
commit0fa66d618e7d839782a896f75bc8b0337cc2a2b8 (patch)
tree9a9b8593063d59dbf66cc6d09914df072c6663e6 /src/plugins/ioam/export/ioam_export.api
parent668605fc873a6409f38df712106f4b1290d87648 (diff)
ioam: use explicit api types
Also remove API boilerplate. Type: fix Signed-off-by: Ole Troan <ot@cisco.com> Change-Id: I62e795f5af3843af7912707ade4ba178ff326942
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 */
};