X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=ovsdb%2Fovsdb-tool.1.in;h=16b8b1f8f073ebe2000ba7ce9ba53858df768da2;hb=6fca1ffbff93d507336961602947b46320e0ef41;hp=79bd2a6af3cce707a8f0b3242012483648b40ca9;hpb=6aa09313722406629133b375871547fb426800ef;p=openvswitch diff --git a/ovsdb/ovsdb-tool.1.in b/ovsdb/ovsdb-tool.1.in index 79bd2a6a..16b8b1f8 100644 --- a/ovsdb/ovsdb-tool.1.in +++ b/ovsdb/ovsdb-tool.1.in @@ -19,6 +19,8 @@ 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 @@ -76,6 +78,11 @@ 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" .IQ "\fBschema\-version\fI schema\fR" Prints the version number in the schema embedded within the database @@ -95,8 +102,8 @@ will print a blank line. 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 or \fIdb\fR was created before schema versioning was -introduced, then it will not have a version number and this command +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" @@ -124,7 +131,7 @@ instead, to write to a database that is served by \fBovsdb\-server\fR(1). . .IP "\fBshow\-log\fI db\fR" -Prints a summary of the records in \fBdb\fR's log, including the time +Prints a summary of the records in \fIdb\fR's log, including the time and date at which each database change occurred and any associated comment. This may be useful for debugging. .PP