[ovs-dev] [PATCH v1] ovsdb-server.7.rst Fix response result of monitor_cond_change

Alexey Roytman aroytman at gmail.com
Tue Jun 15 12:01:47 UTC 2021

From: Alexey Roytman <roytman at il.ibm.com>

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 

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

Signed-off-by: Alexey Roytman <roytman at il.ibm.com>
 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

More information about the dev mailing list