From ccb7b913d54fafdf08b36ac7eb36e462b1ecc9eb Mon Sep 17 00:00:00 2001 From: Ondrej Fabry Date: Mon, 9 Sep 2019 09:56:59 +0200 Subject: 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 --- examples/binapi/memclnt/memclnt.ba.go | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) (limited to 'examples/binapi/memclnt/memclnt.ba.go') diff --git a/examples/binapi/memclnt/memclnt.ba.go b/examples/binapi/memclnt/memclnt.ba.go index d1ffe03..04e8ae4 100644 --- a/examples/binapi/memclnt/memclnt.ba.go +++ b/examples/binapi/memclnt/memclnt.ba.go @@ -26,7 +26,7 @@ const ( // APIVersion is the API version of this module. APIVersion = "2.1.0" // VersionCrc is the CRC of this module. - VersionCrc = 0xb619530 + VersionCrc = 0x949f3cb1 ) // MessageTableEntry represents VPP binary API type 'message_table_entry'. @@ -38,9 +38,6 @@ type MessageTableEntry struct { func (*MessageTableEntry) GetTypeName() string { return "message_table_entry" } -func (*MessageTableEntry) GetCrcString() string { - return "913bf1c6" -} // ModuleVersion represents VPP binary API type 'module_version'. type ModuleVersion struct { @@ -53,9 +50,6 @@ type ModuleVersion struct { func (*ModuleVersion) GetTypeName() string { return "module_version" } -func (*ModuleVersion) GetCrcString() string { - return "4b6da11a" -} // APIVersions represents VPP binary API message 'api_versions'. type APIVersions struct{} @@ -81,7 +75,7 @@ func (*APIVersionsReply) GetMessageName() string { return "api_versions_reply" } func (*APIVersionsReply) GetCrcString() string { - return "90a39195" + return "76f45113" } func (*APIVersionsReply) GetMessageType() api.MessageType { return api.ReplyMessage @@ -354,7 +348,7 @@ func (*SockclntCreateReply) GetMessageName() string { return "sockclnt_create_reply" } func (*SockclntCreateReply) GetCrcString() string { - return "a134a8a8" + return "21795657" } func (*SockclntCreateReply) GetMessageType() api.MessageType { return api.RequestMessage -- cgit 1.2.3-korg