X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fplugins%2Fioam%2Fexport-vxlan-gpe%2Fvxlan_gpe_ioam_export.api;h=64a36b86ce71fadc4c35f71f5df54735c276b41a;hb=61717cc38;hp=caa97e6ec7d1dd22af8745a066f2fd860003600a;hpb=11b8dbf78af49d270a0e72abe7dea73eec30d85f;p=vpp.git 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 caa97e6ec7d..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 @@ -14,6 +14,9 @@ * limitations under the License. */ +option version = "1.0.0"; +import "vnet/ip/ip_types.api"; + /* Define a simple binary API to control the feature */ autoreply define vxlan_gpe_ioam_export_enable_disable { @@ -24,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 */ };