Improve compatibility checking 69/23469/1
authorOndrej Fabry <ofabry@cisco.com>
Fri, 15 Nov 2019 11:33:28 +0000 (12:33 +0100)
committerOndrej Fabry <ofabry@cisco.com>
Fri, 15 Nov 2019 11:33:28 +0000 (12:33 +0100)
commite45d8802fd8de3602db630d75b370ff804000da9
tree8803fe98338b4ed196d4c8881624c7ba869b9e53
parent2f75863ba9bff2d2f3488b70e441b5eefc91dfd2
Improve compatibility checking

- added CompatibilityError to api package to represent error with
  list of incompatible messages
- added UnknownMsgError to adapter package to represent error for
  unknown message
- added list of registered message types

Change-Id: I2623b45135521d52612ba91e4605fc064a7fc76e
Signed-off-by: Ondrej Fabry <ofabry@cisco.com>
adapter/socketclient/socketclient.go
adapter/vpp_api.go
adapter/vppapiclient/vppapiclient.go
api/binapi.go
core/channel.go
core/channel_test.go
examples/rpc-service/rpc_service.go
examples/simple-client/simple_client.go