@@ -22,10 +22,6 @@ ovn\-sbctl \- utility for querying and configuring \fBOVN_Southbound\fR database
2222\fR [\fI args \fR ] [\fB \-\- \fR [\fI options \fR ] \fI command \fR [\fI args \fR ]]...
2323.
2424.SH DESCRIPTION
25- The command should only be used for advanced debugging and troubleshooting
26- of the \fB OVN_Southbound \fR database; and should never be used in normal
27- operation.
28- .PP
2925The \fB ovn \- sbctl \fR program configures the \fB OVN_Southbound \fR database
3026by providing a high\- level interface to its configuration database. See
3127\fB ovn \- sb \fR (5) for comprehensive documentation of the database schema.
@@ -105,6 +101,11 @@ These options control the format of output from the \fBlist\fR and
105101\fB find \fR commands.
106102.so lib/table.man
107103.
104+ .SS "Public Key Infrastructure Options"
105+ .so lib/ssl.man
106+ .so lib/ssl-bootstrap.man
107+ .so lib/ssl-peer-ca-cert.man
108+ .
108109.SH COMMANDS
109110The commands implemented by \fB ovn \- sbctl \fR are described in the
110111sections below.
@@ -166,6 +167,82 @@ flows for that logical datapath.
166167.IP " \fB dump \- flows \fR [\fI logical-datapath \fR ]"
167168Alias for \fB lflow \- list \fB .
168169.
170+ .SS "Remote Connectivity Commands"
171+ .
172+ These commands manipulate the \fB connections \fR column in the \fB SB_Global \fR
173+ table and rows in the \fB Connection \fR table. When \fB ovsdb \- server \fR
174+ is configured to use the \fB connections \fR column for OVSDB connections,
175+ this allows the administrator to use \fB ovn \- sbctl \fR to configure database
176+ connections.
177+ .
178+ .IP " \fB get \- connection \fR "
179+ Prints the configured connection(s).
180+ .
181+ .IP " \fB del \- connection \fR "
182+ Deletes the configured connection(s).
183+ .
184+ .IP " \fB set \- connection \fR [\fI access \- specifier \fR ] \fI target \fR \& ..."
185+ Sets the configured manager target or targets. Each \fI target \fR may
186+ be preceded by an optional access-specifier (\fB read \- only \fR or
187+ \fB read \- write \fR ) and may use any of the following forms:
188+ .
189+ .RS
190+ .so ovsdb/remote-active.man
191+ .so ovsdb/remote-passive.man
192+ .RE
193+
194+ If provided, the effect of the access specifier persists for subsequent
195+ targets until changed by another access specifier.
196+ .
197+ .SS "SSL Configuration"
198+ When \fB ovsdb \- server \fR is configured to connect using SSL, the
199+ following parameters are required:
200+ .TP
201+ \fI private-key \fR
202+ Specifies a PEM file containing the private key used for SSL connections.
203+ .TP
204+ \fI certificate \fR
205+ Specifies a PEM file containing a certificate, signed by the
206+ certificate authority (CA) used by the connection peers, that
207+ certifies the private key, identifying a trustworthy peer.
208+ .TP
209+ \fI ca-cert \fR
210+ Specifies a PEM file containing the CA certificate used to verify that
211+ the connection peers are trustworthy.
212+ .PP
213+ These SSL settings apply to all SSL connections made by the southbound
214+ database server.
215+ .
216+ .IP " \fB get \- ssl \fR "
217+ Prints the SSL configuration.
218+ .
219+ .IP " \fB del \- ssl \fR "
220+ Deletes the current SSL configuration.
221+ .
222+ .IP " [\fB \-\- bootstrap \fR ] \fB set \- ssl \fR \fI private-key \fR \fI certificate \fR \fI ca-cert \fR "
223+ Sets the SSL configuration. The \fB \-\- bootstrap \fR option is described
224+ below.
225+ .
226+ .ST " CA Certificate Bootstrap"
227+ .PP
228+ Ordinarily, all of the files named in the SSL configuration must exist
229+ before SSL connectivity can be used. However, if the \fI ca-cert \fR file
230+ does not exist and the \fB \-\- bootstrap \fR
231+ option is given, then \fB ovsdb \- server \fR will attempt to obtain the
232+ CA certificate from the target on its first SSL connection and
233+ save it to the named PEM file. If it is successful, it will
234+ immediately drop the connection and reconnect, and from then on all
235+ SSL connections must be authenticated by a certificate signed by the
236+ CA certificate thus obtained.
237+ .PP
238+ \fB This option exposes the SSL connection to a man-in-the-middle
239+ attack obtaining the initial CA certificate \fR , but it may be useful
240+ for bootstrapping.
241+ .PP
242+ This option is only useful if the SSL peer sends its CA certificate
243+ as part of the SSL certificate chain. The SSL protocol does not
244+ require the controller to send the CA certificate.
245+ .
169246.so lib/db-ctl-base.man
170247.SH "EXIT STATUS"
171248.IP " 0"
0 commit comments