diff options
author | 2019-12-09 14:25:09 +0100 | |
---|---|---|
committer | 2019-12-10 04:11:04 +0000 | |
commit | 0fa66d618e7d839782a896f75bc8b0337cc2a2b8 (patch) | |
tree | 9a9b8593063d59dbf66cc6d09914df072c6663e6 /src/plugins/ioam/export-vxlan-gpe/vxlan_gpe_ioam_export.api | |
parent | 668605fc873a6409f38df712106f4b1290d87648 (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-vxlan-gpe/vxlan_gpe_ioam_export.api')
-rw-r--r-- | src/plugins/ioam/export-vxlan-gpe/vxlan_gpe_ioam_export.api | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/plugins/ioam/export-vxlan-gpe/vxlan_gpe_ioam_export.api b/src/plugins/ioam/export-vxlan-gpe/vxlan_gpe_ioam_export.api index f6a63dfad65..64a36b86ce7 100644 --- a/src/plugins/ioam/export-vxlan-gpe/vxlan_gpe_ioam_export.api +++ b/src/plugins/ioam/export-vxlan-gpe/vxlan_gpe_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 vxlan_gpe_ioam_export_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 */ }; |