summaryrefslogtreecommitdiffstats
path: root/src/vnet
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 /src/vnet
parent5e6d547798e1b1137130b76f2e634c459ce42561 (diff)
api: add missing version info
Type: fix Change-Id: I269214e3eae72e837f25ee61d714556d976d410f Signed-off-by: Paul Vinciguerra <pvinci@vinciconsulting.com>
Diffstat (limited to 'src/vnet')
-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
6 files changed, 8 insertions, 1 deletions
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