digitalocean / go-openvswitch

Go packages which enable interacting with Open vSwitch and related tools. Apache 2.0 Licensed.
Other
295 stars 95 forks source link

ovsdb: change IDs to strings in preparation for echo replies #21

Closed mdlayher closed 6 years ago

mdlayher commented 6 years ago

ovsdb-server sends some string IDs our way if we talk to it over TCP:

[zsh|matt@nerr-2]:~ 0 % telnet localhost 6632   
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
{"method":"echo","id":"echo","params":[]}Connection closed by foreign host.

This prepares us for dealing with those in the receive loop.