8 .TH ovsdb\-client 1 "November 2009" "Open vSwitch" "Open vSwitch Manual"
12 ovsdb\-client \- command-line interface to \fBovsdb-server\fR(1)
15 \fBovsdb\-client \fR[\fIoptions\fR] \fBget-schema\fI server\fR
17 \fBovsdb\-client \fR[\fIoptions\fR] \fBlist-tables\fI server\fR
19 \fBovsdb\-client \fR[\fIoptions\fR] \fBlist-columns\fI server \fR[\fItable\fR]
21 \fBovsdb\-client help\fR
22 .IP "Output formatting options:"
23 [\fB--format=\fIformat\fR]
27 .so lib/common-syn.man
30 The \fBovsdb\-client\fR program is a command-line client for
31 interacting with a running \fBovsdb\-server\fR process. For each
32 command, the \fIserver\fR to connect to must be specified in one of
34 .IP "\fBtcp:\fIip\fB:\fIport\fR"
35 Connect to the given TCP \fIport\fR on \fIip\fR.
36 .IP "\fBunix:\fIfile\fR"
37 Connect to the Unix domain server socket named \fIfile\fR.
40 The following commands are implemented:
41 .IP "\fBget-schema\fI server\fR"
42 Connects to \fIserver\fR, retrieves the database schema, and prints it
45 .IP "\fBlist-tables\fI server\fR"
46 Connects to \fIserver\fR, retrieves the database schema, and prints
47 a table listing the names and comments (if any) on each table within
50 .IP "\fBlist-columns\fI server \fR[\fItable\fR]"
51 Connects to \fIserver\fR, retrieves the database schema, and prints
52 a table listing the names, type, and comment (if any) on each column. If
53 \fItable\fR is specified, only columns in that table are listed;
54 otherwise, the tables include columns in all tables.
56 .SS "Output Formatting Options"
57 Much of the output from \fBovsdb\-client\fR is in the form of tables.
58 The following options controlling output formatting:
60 .IP "\fB-f \fIformat\fR"
61 .IQ "\fB--format=\fIformat\fR"
62 Sets the basic type of output formatting. The following types of
63 \fIformat\fR are available:
65 .IP "\fBtable\fR (default)"
66 Text-based tables with aligned columns.
70 Comma-separated values as defined in RFC 4180.
74 In \fBtable\fR output (the default), when standard output is a
75 terminal device, by default lines are truncated at a width of 79
76 characters. Specifying this option prevents line truncation.
78 .IP "\fB--no-heading\fR"
79 This option suppresses the heading row that otherwise appears in the
80 first row of table output.
88 \fBovsdb\-server\fR(1),
89 \fBovsdb\-client\fR(1),
90 and the OVSDB specification.