aboutsummaryrefslogtreecommitdiffstats
path: root/examples/binapi/interfaces/interfaces.ba.go
diff options
context:
space:
mode:
authorOndrej Fabry <ofabry@cisco.com>2019-11-05 00:16:25 +0100
committerOndrej Fabry <ofabry@cisco.com>2019-11-05 00:16:25 +0100
commit2f75863ba9bff2d2f3488b70e441b5eefc91dfd2 (patch)
tree5c54cbb3ceb47f18c9baf5c477607c212c3bcb06 /examples/binapi/interfaces/interfaces.ba.go
parent73733b0a8ab8612233c98f9828f5f563c69fc2b7 (diff)
Begin development of next release 0.3.0
- update info in package ./version - update to Go 1.13 - regenerate ./examples/binapi for latest VPP: 19.08.1-release - clean code in proxy - refactor Makefile Change-Id: Ibf5c2682c2f4b3cbbea4aa1e35d3f02175d40a9b Signed-off-by: Ondrej Fabry <ofabry@cisco.com>
Diffstat (limited to 'examples/binapi/interfaces/interfaces.ba.go')
-rw-r--r--examples/binapi/interfaces/interfaces.ba.go27
1 files changed, 14 insertions, 13 deletions
diff --git a/examples/binapi/interfaces/interfaces.ba.go b/examples/binapi/interfaces/interfaces.ba.go
index b0eb978..4e650ed 100644
--- a/examples/binapi/interfaces/interfaces.ba.go
+++ b/examples/binapi/interfaces/interfaces.ba.go
@@ -24,9 +24,9 @@ const (
// ModuleName is the name of this module.
ModuleName = "interface"
// APIVersion is the API version of this module.
- APIVersion = "2.3.1"
+ APIVersion = "3.1.1"
// VersionCrc is the CRC of this module.
- VersionCrc = 0x6aab37be
+ VersionCrc = 0xbfceada9
)
// InterfaceIndex represents VPP binary API alias 'interface_index'.
@@ -394,7 +394,6 @@ type SwInterfaceDetails struct {
SupSwIfIndex uint32
L2AddressLength uint32
L2Address []byte `struc:"[8]byte"`
- InterfaceName []byte `struc:"[64]byte"`
AdminUpDown uint8
LinkUpDown uint8
LinkDuplex uint8
@@ -415,19 +414,20 @@ type SwInterfaceDetails struct {
VtrPushDot1q uint32
VtrTag1 uint32
VtrTag2 uint32
- Tag []byte `struc:"[64]byte"`
OuterTag uint16
BDmac []byte `struc:"[6]byte"`
BSmac []byte `struc:"[6]byte"`
BVlanid uint16
ISid uint32
+ InterfaceName string `struc:"[64]byte"`
+ Tag string `struc:"[64]byte"`
}
func (*SwInterfaceDetails) GetMessageName() string {
return "sw_interface_details"
}
func (*SwInterfaceDetails) GetCrcString() string {
- return "e4ee7eb6"
+ return "52a9262e"
}
func (*SwInterfaceDetails) GetMessageType() api.MessageType {
return api.ReplyMessage
@@ -435,16 +435,17 @@ func (*SwInterfaceDetails) GetMessageType() api.MessageType {
// SwInterfaceDump represents VPP binary API message 'sw_interface_dump'.
type SwInterfaceDump struct {
- SwIfIndex InterfaceIndex
- NameFilterValid uint8
- NameFilter []byte `struc:"[49]byte"`
+ SwIfIndex InterfaceIndex
+ NameFilterValid bool
+ XXX_NameFilterLen uint32 `struc:"sizeof=NameFilter"`
+ NameFilter string
}
func (*SwInterfaceDump) GetMessageName() string {
return "sw_interface_dump"
}
func (*SwInterfaceDump) GetCrcString() string {
- return "052753c5"
+ return "aa610c27"
}
func (*SwInterfaceDump) GetMessageType() api.MessageType {
return api.RequestMessage
@@ -821,16 +822,16 @@ func (*SwInterfaceSetUnnumberedReply) GetMessageType() api.MessageType {
// SwInterfaceTagAddDel represents VPP binary API message 'sw_interface_tag_add_del'.
type SwInterfaceTagAddDel struct {
- IsAdd uint8
- SwIfIndex uint32
- Tag []byte `struc:"[64]byte"`
+ IsAdd bool
+ SwIfIndex InterfaceIndex
+ Tag string `struc:"[64]byte"`
}
func (*SwInterfaceTagAddDel) GetMessageName() string {
return "sw_interface_tag_add_del"
}
func (*SwInterfaceTagAddDel) GetCrcString() string {
- return "14cc636c"
+ return "426f8bc1"
}
func (*SwInterfaceTagAddDel) GetMessageType() api.MessageType {
return api.RequestMessage