aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Vinciguerra <pvinci@vinciconsulting.com>2020-12-11 23:57:43 +0000
committerPaul Vinciguerra <pvinci@vinciconsulting.com>2020-12-14 01:34:51 +0000
commitdc01471be72b272922bf6c9ef9e6221162ab906a (patch)
treea00f718ebe267dfc9875647cd0c79a06756ce3e2
parent5e6d547798e1b1137130b76f2e634c459ce42561 (diff)
api: add missing version info
Type: fix Change-Id: I269214e3eae72e837f25ee61d714556d976d410f Signed-off-by: Paul Vinciguerra <pvinci@vinciconsulting.com>
-rw-r--r--src/plugins/acl/acl_types.api1
-rw-r--r--src/plugins/ikev2/ikev2_types.api2
-rw-r--r--src/plugins/lb/lb_types.api3
-rw-r--r--src/vnet/ethernet/ethernet_types.api2
-rw-r--r--src/vnet/interface_types.api1
-rw-r--r--src/vnet/mfib/mfib_types.api3
-rw-r--r--src/vnet/policer/policer_types.api1
-rw-r--r--src/vnet/srv6/sr_types.api1
-rw-r--r--src/vnet/tunnel/tunnel_types.api1
-rw-r--r--src/vpp/api/vpe_types.api1
10 files changed, 13 insertions, 3 deletions
diff --git a/src/plugins/acl/acl_types.api b/src/plugins/acl/acl_types.api
index 6c796951c4d..b8a9482f0e3 100644
--- a/src/plugins/acl/acl_types.api
+++ b/src/plugins/acl/acl_types.api
@@ -14,6 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
+option version = "1.0.0";
import "vnet/ip/ip_types.api";
import "vnet/ethernet/ethernet_types.api";
diff --git a/src/plugins/ikev2/ikev2_types.api b/src/plugins/ikev2/ikev2_types.api
index d39cf88c8d4..9add084f9e3 100644
--- a/src/plugins/ikev2/ikev2_types.api
+++ b/src/plugins/ikev2/ikev2_types.api
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-
+option version = "1.0.0";
import "vnet/ip/ip_types.api";
import "vnet/interface_types.api";
diff --git a/src/plugins/lb/lb_types.api b/src/plugins/lb/lb_types.api
index cadd2b033f2..3378a5fec4f 100644
--- a/src/plugins/lb/lb_types.api
+++ b/src/plugins/lb/lb_types.api
@@ -13,7 +13,8 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
- import "vnet/ip/ip_types.api";
+option version = "1.0.0";
+import "vnet/ip/ip_types.api";
enum lb_srv_type
{
diff --git a/src/vnet/ethernet/ethernet_types.api b/src/vnet/ethernet/ethernet_types.api
index 1d6683ef398..cc54a3c076f 100644
--- a/src/vnet/ethernet/ethernet_types.api
+++ b/src/vnet/ethernet/ethernet_types.api
@@ -14,4 +14,6 @@
* limitations under the License.
*/
+option version = "1.0.0";
+
manual_print typedef u8 mac_address[6];
diff --git a/src/vnet/interface_types.api b/src/vnet/interface_types.api
index 2cdcc8bda5a..c40f64efdea 100644
--- a/src/vnet/interface_types.api
+++ b/src/vnet/interface_types.api
@@ -13,6 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
+option version = "1.0.0";
typedef u32 interface_index;
diff --git a/src/vnet/mfib/mfib_types.api b/src/vnet/mfib/mfib_types.api
index 515b6de36e3..de723b6ef5b 100644
--- a/src/vnet/mfib/mfib_types.api
+++ b/src/vnet/mfib/mfib_types.api
@@ -12,7 +12,8 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-
+ option version = "1.0.0";
+
import "vnet/fib/fib_types.api";
import "vnet/ip/ip_types.api";
diff --git a/src/vnet/policer/policer_types.api b/src/vnet/policer/policer_types.api
index 903bb603d78..d48dc646ed1 100644
--- a/src/vnet/policer/policer_types.api
+++ b/src/vnet/policer/policer_types.api
@@ -12,6 +12,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
+option version = "1.0.0";
enum sse2_qos_rate_type : u8
{
diff --git a/src/vnet/srv6/sr_types.api b/src/vnet/srv6/sr_types.api
index ba99a325544..967eab0bd5a 100644
--- a/src/vnet/srv6/sr_types.api
+++ b/src/vnet/srv6/sr_types.api
@@ -13,6 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
+option version = "1.0.0";
enum sr_policy_op : u8
{
diff --git a/src/vnet/tunnel/tunnel_types.api b/src/vnet/tunnel/tunnel_types.api
index d1934054d80..7ce70997f36 100644
--- a/src/vnet/tunnel/tunnel_types.api
+++ b/src/vnet/tunnel/tunnel_types.api
@@ -13,6 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
+option version = "1.0.0";
/**
* Flags controlling tunnel behaviour
diff --git a/src/vpp/api/vpe_types.api b/src/vpp/api/vpe_types.api
index 3b49a19e8f0..279d04ede93 100644
--- a/src/vpp/api/vpe_types.api
+++ b/src/vpp/api/vpe_types.api
@@ -13,6 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
+option version = "1.0.0";
typedef version
{