git://git.onelab.eu
/
sliver-openvswitch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ofproto: Fix potential leak during flow mods.
[sliver-openvswitch.git]
/
ovsdb
/
ovsdb-tool.1.in
diff --git
a/ovsdb/ovsdb-tool.1.in
b/ovsdb/ovsdb-tool.1.in
index
79bd2a6
..
a2f1f22
100644
(file)
--- a/
ovsdb/ovsdb-tool.1.in
+++ b/
ovsdb/ovsdb-tool.1.in
@@
-5,33
+5,35
@@
. IP "\\$1"
..
.\" -*- nroff -*-
. IP "\\$1"
..
.\" -*- nroff -*-
-.TH ovsdb\-tool 1 "
November 2009
" "Open vSwitch" "Open vSwitch Manual"
+.TH ovsdb\-tool 1 "
@VERSION@
" "Open vSwitch" "Open vSwitch Manual"
.ds PN ovsdb\-tool
.
.SH NAME
ovsdb\-tool \- Open vSwitch database management utility
.
.SH SYNOPSIS
.ds PN ovsdb\-tool
.
.SH NAME
ovsdb\-tool \- Open vSwitch database management utility
.
.SH SYNOPSIS
-\fBovsdb\-tool \fR[\fIoptions\fR] \fBcreate
\fI db schema\fR
+\fBovsdb\-tool \fR[\fIoptions\fR] \fBcreate
\fR[\fIdb\fR [\fIschema\fR]]
.br
.br
-\fBovsdb\-tool \fR[\fIoptions\fR] \fBcompact \f
Idb \fR[\fItarget\fR
]
+\fBovsdb\-tool \fR[\fIoptions\fR] \fBcompact \f
R[\fIdb\fR [\fItarget\fR]
]
.br
.br
-\fBovsdb\-tool \fR[\fIoptions\fR] \fBconvert
\fI db
schema
-\fR[\fItarget\fR]
+\fBovsdb\-tool \fR[\fIoptions\fR] \fBconvert
\fR[\fIdb\fR [\fI
schema
+\fR[\fItarget\fR]
]]
.br
.br
-\fBovsdb\-tool \fR[\fIoptions\fR] \fB
db\-version\fI db\fR
+\fBovsdb\-tool \fR[\fIoptions\fR] \fB
needs\-conversion \fR[\fIdb\fR [\fIschema\fR]]
.br
.br
-\fBovsdb\-tool \fR[\fIoptions\fR] \fB
schema\-version\fI schema\fR
+\fBovsdb\-tool \fR[\fIoptions\fR] \fB
db\-version \fR[\fIdb\fR]
.br
.br
-\fBovsdb\-tool \fR[\fIoptions\fR] \fB
db\-cksum\fI db\fR
+\fBovsdb\-tool \fR[\fIoptions\fR] \fB
schema\-version \fR[\fIschema\fR]
.br
.br
-\fBovsdb\-tool \fR[\fIoptions\fR] \fB
schema\-cksum\fI schema\fR
+\fBovsdb\-tool \fR[\fIoptions\fR] \fB
db\-cksum \fR[\fIdb\fR]
.br
.br
-\fBovsdb\-tool \fR[\fIoptions\fR] \fB
query\fI db transaction\fR
+\fBovsdb\-tool \fR[\fIoptions\fR] \fB
schema\-cksum \fR[\fIschema\fR]
.br
.br
-\fBovsdb\-tool \fR[\fIoptions\fR] \fB
transact\fI db
transaction\fR
+\fBovsdb\-tool \fR[\fIoptions\fR] \fB
query \fR[\fIdb\fR] \fI
transaction\fR
.br
.br
-\fBovsdb\-tool \fR[\fIoptions\fR] [\fB\-m\fR | \fB\-\-more\fR]... \fBshow\-log\fI db\fR
+\fBovsdb\-tool \fR[\fIoptions\fR] \fBtransact \fR[\fIdb\fR] \fItransaction\fR
+.br
+\fBovsdb\-tool \fR[\fIoptions\fR] [\fB\-m\fR | \fB\-\-more\fR]... \fBshow\-log \fR[\fIdb\fR]
.br
\fBovsdb\-tool help\fR
.so lib/vlog-syn.man
.br
\fBovsdb\-tool help\fR
.so lib/vlog-syn.man
@@
-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.
.
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
.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
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"
will print a blank line.
.
.IP "\fBquery\fI db transaction\fR"
@@
-124,10
+131,10
@@
instead, to write to a database that is served by
\fBovsdb\-server\fR(1).
.
.IP "\fBshow\-log\fI db\fR"
\fBovsdb\-server\fR(1).
.
.IP "\fBshow\-log\fI db\fR"
-Prints a summary of the records in \f
B
db\fR's log, including the time
+Prints a summary of the records in \f
I
db\fR's log, including the time
and date at which each database change occurred and any associated
comment. This may be useful for debugging.
and date at which each database change occurred and any associated
comment. This may be useful for debugging.
-.
P
P
+.
I
P
To increase the verbosity of output, add \fB\-m\fR (or \fB\-\-more\fR)
one or more times to the command line. With one \fB\-m\fR,
\fBshow\-log\fR prints a summary of the records added, deleted, or
To increase the verbosity of output, add \fB\-m\fR (or \fB\-\-more\fR)
one or more times to the command line. With one \fB\-m\fR,
\fBshow\-log\fR prints a summary of the records added, deleted, or
@@
-140,6
+147,10
@@
record.
.so lib/vlog.man
.SS "Other Options"
.so lib/common.man
.so lib/vlog.man
.SS "Other Options"
.so lib/common.man
+.SH "FILES"
+The default \fIdb\fR is \fB@DBDIR@/conf.db\fR. The
+default \fIschema\fR is \fB@pkgdatadir@/vswitch.ovsschema\fR. The
+\fBhelp\fR command also displays these defaults.
.SH "SEE ALSO"
.
\fBovsdb\-server\fR(1),
.SH "SEE ALSO"
.
\fBovsdb\-server\fR(1),