aboutsummaryrefslogtreecommitdiffstats
path: root/examples/binapi/interfaces/interfaces.ba.go
diff options
context:
space:
mode:
authorOndrej Fabry <ofabry@cisco.com>2019-09-09 09:56:59 +0200
committerOndrej Fabry <ofabry@cisco.com>2019-09-09 09:56:59 +0200
commitccb7b913d54fafdf08b36ac7eb36e462b1ecc9eb (patch)
tree1cf8f9fa125e577a0887519f0c0c436891e0983a /examples/binapi/interfaces/interfaces.ba.go
parentd06548e4f4492c181f04a5fc9bf994764278e68b (diff)
Fix compatibility with latest master (20.01-rc0)
- fixed generator for new string types - update simple client example - regenerate examples binapi for VPP 19.08 Change-Id: If4fe78c130d95641f35f75cd0262b35b032acaf8 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.go7
1 files changed, 4 insertions, 3 deletions
diff --git a/examples/binapi/interfaces/interfaces.ba.go b/examples/binapi/interfaces/interfaces.ba.go
index 958f78e..b0eb978 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.2.0"
+ APIVersion = "2.3.1"
// VersionCrc is the CRC of this module.
- VersionCrc = 0x672de521
+ VersionCrc = 0x6aab37be
)
// InterfaceIndex represents VPP binary API alias 'interface_index'.
@@ -435,6 +435,7 @@ 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"`
}
@@ -443,7 +444,7 @@ func (*SwInterfaceDump) GetMessageName() string {
return "sw_interface_dump"
}
func (*SwInterfaceDump) GetCrcString() string {
- return "63f5e3b7"
+ return "052753c5"
}
func (*SwInterfaceDump) GetMessageType() api.MessageType {
return api.RequestMessage