From 0d056e5ede136cd0111dc3f9f41ef7b36a938027 Mon Sep 17 00:00:00 2001 From: Dave Barach Date: Thu, 28 Sep 2017 15:11:16 -0400 Subject: vppapigen: support per-file (major,minor,patch) version stamps Add one of these statements to foo.api: vl_api_version 1.2.3 to generate a version tuple stanza in foo.api.h: /****** Version tuple *****/ vl_api_version_tuple(foo, 1, 2, 3) Change-Id: Ic514439e4677999daa8463a94f948f76b132ff15 Signed-off-by: Dave Barach Signed-off-by: Ole Troan --- src/plugins/ioam/export-vxlan-gpe/vxlan_gpe_ioam_export.api | 2 ++ src/plugins/ioam/export/ioam_export.api | 2 ++ src/plugins/ioam/ip6/ioam_cache.api | 2 ++ src/plugins/ioam/lib-pot/pot.api | 1 + src/plugins/ioam/lib-trace/trace.api | 1 + src/plugins/ioam/lib-vxlan-gpe/ioam_vxlan_gpe.api | 1 + src/plugins/ioam/udp-ping/udp_ping.api | 1 + 7 files changed, 10 insertions(+) (limited to 'src/plugins/ioam') 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..3637ae8e4b2 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,8 @@ * limitations under the License. */ +vl_api_version 1.0.0 + /* Define a simple binary API to control the feature */ autoreply define vxlan_gpe_ioam_export_enable_disable { diff --git a/src/plugins/ioam/export/ioam_export.api b/src/plugins/ioam/export/ioam_export.api index bb830561309..47a8cc057c4 100644 --- a/src/plugins/ioam/export/ioam_export.api +++ b/src/plugins/ioam/export/ioam_export.api @@ -14,6 +14,8 @@ * limitations under the License. */ +vl_api_version 1.0.0 + /* Define a simple binary API to control the feature */ autoreply define ioam_export_ip6_enable_disable { diff --git a/src/plugins/ioam/ip6/ioam_cache.api b/src/plugins/ioam/ip6/ioam_cache.api index dd9c0186556..c953b674fe6 100644 --- a/src/plugins/ioam/ip6/ioam_cache.api +++ b/src/plugins/ioam/ip6/ioam_cache.api @@ -14,6 +14,8 @@ * limitations under the License. */ +vl_api_version 1.0.0 + /* API to control ioam caching */ autoreply define ioam_cache_ip6_enable_disable { diff --git a/src/plugins/ioam/lib-pot/pot.api b/src/plugins/ioam/lib-pot/pot.api index c377cde0dfe..d1bfe447e34 100644 --- a/src/plugins/ioam/lib-pot/pot.api +++ b/src/plugins/ioam/lib-pot/pot.api @@ -14,6 +14,7 @@ * limitations under the License. */ +vl_api_version 1.0.0 /** \brief Proof of Transit(POT): Set POT profile @param id - id of the profile diff --git a/src/plugins/ioam/lib-trace/trace.api b/src/plugins/ioam/lib-trace/trace.api index 2f45c6e28fd..59d664adbd7 100644 --- a/src/plugins/ioam/lib-trace/trace.api +++ b/src/plugins/ioam/lib-trace/trace.api @@ -14,6 +14,7 @@ * limitations under the License. */ +vl_api_version 1.0.0 /** \brief iOAM6 Trace - Set the iOAM6 trace profile @param trace_type - Type of trace requested 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 a6761f07e40..dfaecff60c9 100644 --- a/src/plugins/ioam/lib-vxlan-gpe/ioam_vxlan_gpe.api +++ b/src/plugins/ioam/lib-vxlan-gpe/ioam_vxlan_gpe.api @@ -14,6 +14,7 @@ * limitations under the License. */ +vl_api_version 1.0.0 /** \brief iOAM Over VxLAN-GPE - Set iOAM transport for VxLAN-GPE @param client_index - opaque cookie to identify the sender diff --git a/src/plugins/ioam/udp-ping/udp_ping.api b/src/plugins/ioam/udp-ping/udp_ping.api index 87945816044..6a5a6e68a03 100644 --- a/src/plugins/ioam/udp-ping/udp_ping.api +++ b/src/plugins/ioam/udp-ping/udp_ping.api @@ -14,6 +14,7 @@ * limitations under the License. */ +vl_api_version 1.0.0 /** \brief UDP-Probe Add/Delete request @param src_ip_address - Source ipv4/v6 address for the udp-ping flow -- cgit 1.2.3-korg