Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
ioam: use explicit api types
[vpp.git]
/
src
/
plugins
/
ioam
/
export-vxlan-gpe
/
vxlan_gpe_ioam_export.api
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
f6a63df
..
64a36b8
100644
(file)
--- 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";
*/
option version = "1.0.0";
+import "vnet/ip/ip_types.api";
/* Define a simple binary API to control the feature */
/* 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 */
u32 context;
/* Enable / disable the feature */
-
u8
is_disable;
+
bool
is_disable;
/* Collector ip address */
/* 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 */
};
/* Src ip address */
};