X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fplugins%2Fioam%2Flib-vxlan-gpe%2Fioam_vxlan_gpe.api;h=36dc1a4e1148fe20caa7bf32eeaf7af783fc2d99;hb=61717cc38;hp=dfaecff60c9507605a679b7b32de73d78959e250;hpb=0d056e5ede136cd0111dc3f9f41ef7b36a938027;p=vpp.git diff --git a/src/plugins/ioam/lib-vxlan-gpe/ioam_vxlan_gpe.api b/src/plugins/ioam/lib-vxlan-gpe/ioam_vxlan_gpe.api index dfaecff60c9..36dc1a4e114 100644 --- a/src/plugins/ioam/lib-vxlan-gpe/ioam_vxlan_gpe.api +++ b/src/plugins/ioam/lib-vxlan-gpe/ioam_vxlan_gpe.api @@ -14,7 +14,8 @@ * limitations under the License. */ -vl_api_version 1.0.0 +option version = "1.0.0"; +import "vnet/ip/ip_types.api"; /** \brief iOAM Over VxLAN-GPE - Set iOAM transport for VxLAN-GPE @param client_index - opaque cookie to identify the sender @@ -30,8 +31,8 @@ autoreply define vxlan_gpe_ioam_enable { u32 context; u16 id; u8 trace_ppc; - u8 pow_enable; - u8 trace_enable; + bool pow_enable; + bool trace_enable; }; /** \brief iOAM for VxLAN-GPE disable @@ -58,9 +59,8 @@ autoreply define vxlan_gpe_ioam_vni_enable { u32 client_index; u32 context; u32 vni; - u8 local[16]; - u8 remote[16]; - u8 is_ipv6; + vl_api_address_t local; + vl_api_address_t remote; }; /** \brief Disable iOAM for a VNI (VXLAN-GPE) @@ -75,9 +75,8 @@ autoreply define vxlan_gpe_ioam_vni_disable { u32 client_index; u32 context; u32 vni; - u8 local[16]; - u8 remote[16]; - u8 is_ipv6; + vl_api_address_t local; + vl_api_address_t remote; }; /** \brief Enable iOAM for a VXLAN-GPE transit @@ -91,8 +90,7 @@ autoreply define vxlan_gpe_ioam_transit_enable { u32 client_index; u32 context; u32 outer_fib_index; - u8 dst_addr[16]; - u8 is_ipv6; + vl_api_address_t dst_addr; }; /** \brief Disable iOAM for VXLAN-GPE transit @@ -106,7 +104,6 @@ autoreply define vxlan_gpe_ioam_transit_disable { u32 client_index; u32 context; u32 outer_fib_index; - u8 dst_addr[16]; - u8 is_ipv6; + vl_api_address_t dst_addr; };