X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=ovsdb%2Fovsdb-tool.1.in;h=3c2a37c294d1f50f965d653b89cfd4c3b0fc0dbe;hb=03a8a29eb87ef21d0e56c200ebe43878ef773d63;hp=069ab1a4da06141294cab7a61fd7ab15016fbb75;hpb=8159b984dced44851670bd48e204b4e854941a24;p=openvswitch diff --git a/ovsdb/ovsdb-tool.1.in b/ovsdb/ovsdb-tool.1.in index 069ab1a4..3c2a37c2 100644 --- a/ovsdb/ovsdb-tool.1.in +++ b/ovsdb/ovsdb-tool.1.in @@ -19,10 +19,16 @@ ovsdb\-tool \- Open vSwitch database management utility \fBovsdb\-tool \fR[\fIoptions\fR] \fBconvert\fI db schema \fR[\fItarget\fR] .br +\fBovsdb\-tool \fR[\fIoptions\fR] \fBneeds\-conversion\fI db schema\fR +.br \fBovsdb\-tool \fR[\fIoptions\fR] \fBdb\-version\fI db\fR .br \fBovsdb\-tool \fR[\fIoptions\fR] \fBschema\-version\fI schema\fR .br +\fBovsdb\-tool \fR[\fIoptions\fR] \fBdb\-cksum\fI db\fR +.br +\fBovsdb\-tool \fR[\fIoptions\fR] \fBschema\-cksum\fI schema\fR +.br \fBovsdb\-tool \fR[\fIoptions\fR] \fBquery\fI db transaction\fR .br \fBovsdb\-tool \fR[\fIoptions\fR] \fBtransact\fI db transaction\fR @@ -72,25 +78,33 @@ ignored. Columns that exist in \fIschema\fR but not in \fIdb\fR are set to their default values. All of \fIschema\fR's constraints apply in full. . +.IP "\fBneeds\-conversion\fI db schema\fR" +Reads the schema embedded in \fIdb\fR and the standalone schema in +\fIschema\fR and compares them. If the schemas are the same, prints +\fBno\fR on stdout; if they differ, print \fByes\fR. +. .IP "\fBdb\-version\fI db\fR" -Reads \fIdb\fR and prints the version number of the schema embedded -within the database on stdout. A schema version number has the form -\fIx\fB.\fIy\fB.\fIz\fR. See \fBovs\-vswitchd.conf.db\fR(5) for -details. +.IQ "\fBschema\-version\fI schema\fR" +Prints the version number in the schema embedded within the database +\fIdb\fR or in the standalone schema \fIschema\fR on stdout. A schema +version number has the form \fIx\fB.\fIy\fB.\fIz\fR. See +\fBovs\-vswitchd.conf.db\fR(5) for details. .IP Schema version numbers and Open vSwitch version numbers are independent. .IP -If \fIdb\fR was created before schema versioning was introduced, then -it will not have a version number and this command will print a blank -line. +If \fIschema\fR or \fIdb\fR was created before schema versioning was +introduced, then it will not have a version number and this command +will print a blank line. . -.IP "\fBschema\-version\fI schema\fR" -Reads \fIschema\fR and prints the schema's version number on stdout. +.IP "\fBdb\-cksum\fI db\fR" +.IQ "\fBschema\-cksum\fI schema\fR" +Prints the checksum in the schema embedded within the database +\fIdb\fR or of the standalone schema \fIschema\fR on stdout. .IP -If \fIschema\fR was created before versioning was introduced, then it -does not have a version number and this command will print a blank -line. +If \fIschema\fR or \fIdb\fR was created before schema checksums were +introduced, then it will not have a checksum and this command +will print a blank line. . .IP "\fBquery\fI db transaction\fR" Opens \fIdb\fR, executes \fItransaction\fR on it, and prints the