2
0
mirror of https://github.com/openvswitch/ovs synced 2025-08-31 14:25:26 +00:00
Commit Graph

8 Commits

Author SHA1 Message Date
Ben Pfaff
a8425c53c5 ovsdb: Monitor support. 2009-11-17 16:02:46 -08:00
Ben Pfaff
22f156fd06 ovsdb-server: Ignore replies to echo requests.
Until this commit, ovsdb-server would send off echo requests when the
connection became idle, but then it would terminate the connection when
the reply arrived, because it didn't recognize that it was a reply to its
own request (!).
2009-11-16 16:56:07 -08:00
Ben Pfaff
b93d3b6cb2 ovsdb: Refactor JSON-RPC database server implementation.
This refactoring breaks up jsonrpc-server.c in a more modular fashion, in
preparation for adding code for table monitors.
2009-11-16 10:55:29 -08:00
Ben Pfaff
6e79e2104c ovsdb: Fix use of non-array for JSON-RPC parameters.
JSON-RPC requires that "params" be an array, but we weren't observing this
properly in the ovsdb specifications or code.

Thanks to Jeremy Stribling for pointing out the problem.
2009-11-16 09:20:40 -08:00
Ben Pfaff
6c2882f90c ovsdb-server: Reconnect to clients specified on --connect. 2009-11-12 12:58:53 -08:00
Ben Pfaff
c2bffba3ee ovsdb: Make JSON-RPC sessions other than the first work.
The number of open sessions wasn't being tracked properly, so closing a
JSON-RPC database session made it impossible to open any more.
2009-11-06 12:26:22 -08:00
Jeremy Stribling
dc268c788e ovsdb: Fix bug in JSON-RPC server. 2009-11-06 10:55:37 -08:00
Ben Pfaff
f85f8ebbfa Initial implementation of OVSDB. 2009-11-04 17:12:10 -08:00