From: Alexey Roytman <[email protected]>

The original version said that "monitor_cond_change" request response 
should contain '"result": null'. However, if response message has form 
like {"id":13, "result":null} or {"id":13} the ovsdb client 
(ovn-controller) returns the folling misleading message and closes 
connection.

2021-06-07T14:32:30.116Z|00026|jsonrpc|WARN|tcp:172.18.0.4:6642: received
  bad JSON-RPC message: request must have "method"
2021-06-07T14:32:30.116Z|00027|reconnect|WARN|tcp:172.18.0.4:6642: 
  connection dropped (Protocol error)

Signed-off-by: Alexey Roytman <[email protected]>
---
 Documentation/ref/ovsdb-server.7.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/ref/ovsdb-server.7.rst 
b/Documentation/ref/ovsdb-server.7.rst
index 04414350a..e1dca6dca 100644
--- a/Documentation/ref/ovsdb-server.7.rst
+++ b/Documentation/ref/ovsdb-server.7.rst
@@ -304,7 +304,7 @@ monitoring session.
 
 The response object has the following members::
 
-    "result": null
+    "result": {}
     "error": null
     "id": same "id" as request
 
-- 
2.25.1

_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to