[ovs-dev] [PATCH] ovsdb-server: Document RFC 7047 extensions to ovsdb <error>s.

Ben Pfaff blp at nicira.com
Tue Jul 22 00:09:44 UTC 2014


Reported-by: Madhu Venugopal <vmadhu at redhat.com>
Signed-off-by: Ben Pfaff <blp at nicira.com>
---
 ovsdb/ovsdb-server.1.in |   16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/ovsdb/ovsdb-server.1.in b/ovsdb/ovsdb-server.1.in
index 15382b4..ec408a6 100644
--- a/ovsdb/ovsdb-server.1.in
+++ b/ovsdb/ovsdb-server.1.in
@@ -194,6 +194,22 @@ RFC 4627 says that names within a JSON object should be unique.
 The Open vSwitch JSON parser discards all but the last value
 for a name that is specified more than once.
 .
+.IP
+The definition of <error> allows for implementation extensions.
+Currently \fBovsdb\-server\fR uses the following additional "error"
+strings which might change in later releases):
+.
+.RS
+.IP "\fBsyntax error\fR or \fBunknown column\fR"
+The request could not be parsed as an OVSDB request.  An additional
+"syntax" member, whose value is a string that contains JSON, may
+narrow down the particular syntax that could not be parsed.
+.IP "\fBinternal error\fR"
+The request triggered a bug in \fBovsdb\-server\fR.
+.IP "\fBovsdb error\fR"
+A map or set contains a duplicate key.
+.RE
+.
 .IP "3.2. Schema Format"
 RFC 7047 requires the "version" field in <database-schema>.  Current
 versions of \fBovsdb\-server\fR allow it to be omitted (future
-- 
1.7.10.4




More information about the dev mailing list