X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=ovsdb%2Fovsdb-client.1.in;h=725211d70e4b15900986c0e14e5892604e17098c;hb=c18ea70d06e980dc768166881c5aeac0b3491561;hp=22b4e232214177ccc6a27db363f76949ad8888e3;hpb=ee890a619da3544f2d7a30f574f94f2dfd6d975f;p=openvswitch diff --git a/ovsdb/ovsdb-client.1.in b/ovsdb/ovsdb-client.1.in index 22b4e232..725211d7 100644 --- a/ovsdb/ovsdb-client.1.in +++ b/ovsdb/ovsdb-client.1.in @@ -19,6 +19,8 @@ ovsdb\-client \- command-line interface to \fBovsdb-server\fR(1) .br \fBovsdb\-client \fR[\fIoptions\fR] \fBget\-schema\fI server database\fR .br +\fBovsdb\-client \fR[\fIoptions\fR] \fBget\-schema\-version\fI server database\fR +.br \fBovsdb\-client \fR[\fIoptions\fR] \fBlist\-tables\fI server database\fR .br \fBovsdb\-client \fR[\fIoptions\fR] \fBlist\-columns\fI server database \fR[\fItable\fR] @@ -61,6 +63,19 @@ be used for \fIdatabase\fR in the following commands. Connects to \fIserver\fR, retrieves the schema for \fIdatabase\fR, and prints it in JSON format. . +.IP "\fBget\-schema\-version\fI server database\fR" +Connects to \fIserver\fR, retrieves the schema for \fIdatabase\fR, and +prints its version number 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 \fIdatabase\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 "\fBlist\-tables\fI server database\fR" Connects to \fIserver\fR, retrieves the schema for \fIdatabase\fR, and prints a table listing the name of each table