X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=ovsdb%2FSPECS;h=2c83cf2a66c0514dc2ff22f0f660f0a6106db6c7;hb=878ae780124c64547591e3e67371d7e5eea8fd5a;hp=260786edb9bbd37d935344b26864531b90cf9cd9;hpb=c424adb3ac3460818256181a073b09e92cdc562a;p=openvswitch diff --git a/ovsdb/SPECS b/ovsdb/SPECS index 260786ed..2c83cf2a 100644 --- a/ovsdb/SPECS +++ b/ovsdb/SPECS @@ -33,6 +33,11 @@ values. Additional notation is presented later. s that begin with _ are reserved to the implementation and may not be used by the user. + + + A JSON string that contains a version number that matches + [0-9]+\.[0-9]+\.[0-9]+ + A JSON true or false value. @@ -102,6 +107,8 @@ is represented by , as described below. A JSON object with the following members: "name": required + "version": required + "cksum": optional "tables": {: , ...} required The "name" identifies the database as a whole. It must be @@ -109,6 +116,15 @@ is represented by , as described below. operated on. The value of "tables" is a JSON object whose names are table names and whose values are s. + The "version" reports the version of the database schema. Because + this is a recent addition to the schema format, OVSDB permits it + to be omitted, but future versions of OVSDB will require it to be + present. Open vSwitch semantics for "version" are described in + ovs-vswitchd.conf.db(5). + + The "cksum" optionally reports an implementation-defined checksum + for the database schema. + A JSON object with the following members: @@ -195,7 +211,7 @@ is represented by , as described below. "minInteger": optional, integers only "maxInteger": optional, integers only "minReal": optional, reals only - "maxReal": optional, reals only + "maxReal": optional, reals only "minLength": optional, strings only "maxLength": optional, strings only "refTable": optional, uuids only @@ -419,7 +435,7 @@ Response object members: This JSON-RPC notification instructs the database server to immediately complete or cancel the "transact" request whose "id" is -the same as the notification's "params" value. +the same as the notification's "params" value. If the "transact" request can be completed immediately, then the server sends a response in the form described for "transact", above. @@ -931,7 +947,7 @@ Semantics: column specified in "row". The "_uuid" and "_version" columns of a table may not be directly - updated with this operation. Columns designated read-only in the + updated with this operation. Columns designated read-only in the schema also may not be updated. The "count" member of the result specifies the number of rows @@ -1045,7 +1061,7 @@ Semantics: restarted later, after a change in the database makes it possible for the operation to succeed. The client will not receive a response until the operation permanently succeeds or fails. - + If "until" is "!=", the sense of the test is negated. That is, as long as the query on "table" specified by "where" and "columns" returns "rows", the transaction will be rolled back and restarted