summaryrefslogtreecommitdiffstats
path: root/src/plugins/ioam
diff options
context:
space:
mode:
authorDave Barach <dave@barachs.net>2017-09-28 15:11:16 -0400
committerOle Troan <ot@cisco.com>2017-10-09 13:32:40 +0200
commit0d056e5ede136cd0111dc3f9f41ef7b36a938027 (patch)
tree2f7c61d50f922a55ab7da199e0304a581ee7516f /src/plugins/ioam
parent87da476db0cd804e11463cc453a2bb41c6808542 (diff)
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 <dave@barachs.net> Signed-off-by: Ole Troan <ot@cisco.com>
Diffstat (limited to 'src/plugins/ioam')
-rw-r--r--src/plugins/ioam/export-vxlan-gpe/vxlan_gpe_ioam_export.api2
-rw-r--r--src/plugins/ioam/export/ioam_export.api2
-rw-r--r--src/plugins/ioam/ip6/ioam_cache.api2
-rw-r--r--src/plugins/ioam/lib-pot/pot.api1
-rw-r--r--src/plugins/ioam/lib-trace/trace.api1
-rw-r--r--src/plugins/ioam/lib-vxlan-gpe/ioam_vxlan_gpe.api1
-rw-r--r--src/plugins/ioam/udp-ping/udp_ping.api1
7 files changed, 10 insertions, 0 deletions
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