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/acl/acl.api | 1 + src/plugins/dpdk/api/dpdk.api | 2 ++ src/plugins/flowprobe/flowprobe.api | 2 ++ src/plugins/gtpu/gtpu.api | 2 ++ 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 + src/plugins/lb/lb.api | 2 ++ src/plugins/memif/memif.api | 2 ++ src/plugins/nat/nat.api | 3 +++ src/plugins/pppoe/pppoe.api | 2 ++ 15 files changed, 26 insertions(+) (limited to 'src/plugins') diff --git a/src/plugins/acl/acl.api b/src/plugins/acl/acl.api index a0de24a2340..19f007aeea7 100644 --- a/src/plugins/acl/acl.api +++ b/src/plugins/acl/acl.api @@ -19,6 +19,7 @@ used to control the ACL plugin */ +vl_api_version 1.0.0 /** \brief Get the plugin version @param client_index - opaque cookie to identify the sender diff --git a/src/plugins/dpdk/api/dpdk.api b/src/plugins/dpdk/api/dpdk.api index d43f8a36c4a..5ded450136a 100644 --- a/src/plugins/dpdk/api/dpdk.api +++ b/src/plugins/dpdk/api/dpdk.api @@ -13,6 +13,8 @@ * limitations under the License. */ +vl_api_version 1.0.0 + /** \brief DPDK interface HQoS pipe profile set request @param client_index - opaque cookie to identify the sender @param context - sender context, to match reply w/ request diff --git a/src/plugins/flowprobe/flowprobe.api b/src/plugins/flowprobe/flowprobe.api index 3f8c583bcf2..5bfe4510178 100644 --- a/src/plugins/flowprobe/flowprobe.api +++ b/src/plugins/flowprobe/flowprobe.api @@ -5,6 +5,8 @@ used to control the flowprobe plugin */ +vl_api_version 1.0.0 + /** \brief Enable / disable per-packet IPFIX recording on an interface @param client_index - opaque cookie to identify the sender @param context - sender context, to match reply w/ request diff --git a/src/plugins/gtpu/gtpu.api b/src/plugins/gtpu/gtpu.api index 55ba03904d4..fea47916b8c 100644 --- a/src/plugins/gtpu/gtpu.api +++ b/src/plugins/gtpu/gtpu.api @@ -13,6 +13,8 @@ * limitations under the License. */ +vl_api_version 1.0.0 + /** \brief Set or delete an GTPU tunnel @param client_index - opaque cookie to identify the sender @param context - sender context, to match reply w/ request 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 diff --git a/src/plugins/lb/lb.api b/src/plugins/lb/lb.api index 32cc669b518..7f48666a4b1 100644 --- a/src/plugins/lb/lb.api +++ b/src/plugins/lb/lb.api @@ -1,3 +1,5 @@ +vl_api_version 1.0.0 + /** \brief Configure Load-Balancer global parameters @param client_index - opaque cookie to identify the sender @param context - sender context, to match reply w/ request diff --git a/src/plugins/memif/memif.api b/src/plugins/memif/memif.api index c9632d10357..08d056f04dd 100644 --- a/src/plugins/memif/memif.api +++ b/src/plugins/memif/memif.api @@ -13,6 +13,8 @@ * limitations under the License. */ +vl_api_version 1.0.0 + /** \brief Create memory interface @param client_index - opaque cookie to identify the sender @param context - sender context, to match reply w/ request diff --git a/src/plugins/nat/nat.api b/src/plugins/nat/nat.api index d7a4a9efe22..84187578c9d 100644 --- a/src/plugins/nat/nat.api +++ b/src/plugins/nat/nat.api @@ -12,6 +12,9 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + +vl_api_version 1.0.0 + /** * @file nat.api * @brief VPP control-plane API messages. diff --git a/src/plugins/pppoe/pppoe.api b/src/plugins/pppoe/pppoe.api index e8cd989f41b..78982f3e2e4 100644 --- a/src/plugins/pppoe/pppoe.api +++ b/src/plugins/pppoe/pppoe.api @@ -13,6 +13,8 @@ * limitations under the License. */ +vl_api_version 1.0.0 + /** \brief Set or delete an PPPOE session @param client_index - opaque cookie to identify the sender @param context - sender context, to match reply w/ request -- cgit 1.2.3-korg