aboutsummaryrefslogtreecommitdiffstats
path: root/binapi/interface_types/interface_types.ba.go
diff options
context:
space:
mode:
authormhalaj1 <matus.halaj@pantheon.tech>2021-08-26 13:10:48 +0200
committermhalaj1 <matus.halaj@pantheon.tech>2021-08-26 13:10:48 +0200
commitdebc52dea8a81417bb08ca5bb934c7876b6d65e0 (patch)
tree23909430d78d6b77c2b414814e843708a6bab08e /binapi/interface_types/interface_types.ba.go
parentc0da1f2999a6b08d003c0fed1a23e1ca60dd1571 (diff)
regenerate binapi
Signed-off-by: mhalaj1 <matus.halaj@pantheon.tech> Change-Id: I9bb6a5ca00aa542128bde0bfbbba7b57b9f16ed2
Diffstat (limited to 'binapi/interface_types/interface_types.ba.go')
-rw-r--r--binapi/interface_types/interface_types.ba.go33
1 files changed, 30 insertions, 3 deletions
diff --git a/binapi/interface_types/interface_types.ba.go b/binapi/interface_types/interface_types.ba.go
index d2a848a..b90fbd9 100644
--- a/binapi/interface_types/interface_types.ba.go
+++ b/binapi/interface_types/interface_types.ba.go
@@ -1,14 +1,14 @@
// Code generated by GoVPP's binapi-generator. DO NOT EDIT.
// versions:
-// binapi-generator: v0.4.0
-// VPP: 20.05.1-release
+// binapi-generator: v0.3.5-56-gc0da1f2-dirty
+// VPP: 21.06-release
// source: /usr/share/vpp/api/core/interface_types.api.json
// Package interface_types contains generated bindings for API file interface_types.api.
//
// Contents:
// 1 alias
-// 6 enums
+// 7 enums
//
package interface_types
@@ -24,6 +24,33 @@ import (
// GoVPP api package needs to be updated.
const _ = api.GoVppAPIPackageIsVersion2
+// Direction defines enum 'direction'.
+type Direction uint8
+
+const (
+ RX Direction = 0
+ TX Direction = 1
+)
+
+var (
+ Direction_name = map[uint8]string{
+ 0: "RX",
+ 1: "TX",
+ }
+ Direction_value = map[string]uint8{
+ "RX": 0,
+ "TX": 1,
+ }
+)
+
+func (x Direction) String() string {
+ s, ok := Direction_name[uint8(x)]
+ if ok {
+ return s
+ }
+ return "Direction(" + strconv.Itoa(int(x)) + ")"
+}
+
// IfStatusFlags defines enum 'if_status_flags'.
type IfStatusFlags uint32