X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=utilities%2Fovs-ctl.8;h=658cbd6ba5e92fa75ca6e436a5fa86ccc6071c80;hb=fe4a02e4fa6be030a0478f6b01b0d4b6ab9b808f;hp=8d8088adf58c5d88dd315cb72f897b0fd2933249;hpb=9fc47ed759a82391070dfbda0e06592eb0a18391;p=openvswitch diff --git a/utilities/ovs-ctl.8 b/utilities/ovs-ctl.8 index 8d8088ad..658cbd6b 100644 --- a/utilities/ovs-ctl.8 +++ b/utilities/ovs-ctl.8 @@ -27,6 +27,10 @@ ovs\-ctl \- OVS startup helper script \fBovs\-ctl version .br \fBovs\-ctl +[\fIoptions\fR] +\fBload\-kmod\fR +.br +\fBovs\-ctl \fB\-\-system\-id=random\fR|\fIuuid\fR [\fIoptions\fR] \fBforce\-reload\-kmod\fR @@ -120,9 +124,8 @@ ID that persists from one run to another (stored in a file). When another string is specified \fBovs\-ctl\fR uses it literally. . .PP -On systems that have the \fBlsb_release\fR program, \fBovs\-ctl\fR -chooses reasonable defaults for the following options. Other systems -should specify values: +The following options should be specified if the defaults are not +suitable: . .IP "\fB\-\-system\-type=\fItype\fR" .IQ "\fB\-\-system\-version=\fIversion\fR" @@ -131,6 +134,11 @@ Sets the value to store in the \fBsystem-type\fR and \fBOpen_vSwitch\fR table. Remote managers may use these values to determine the kind of system to which they are connected (primarily for display to human administrators). +.IP +When not specified, \fBovs\-ctl\fR uses values from the optional +\fBsystem\-type.conf\fR and \fBsystem\-version.conf\fR files(see section +\fBFILES\fR) or it uses the \fBlsb_release\fR program, if present, to +provide reasonable defaults. . .PP The following options are also likely to be useful: @@ -263,6 +271,20 @@ have to be restarted after completing the above procedure. \fBforce\-kmod\-reload\fR internally stops and starts OVS, so it accepts all of the options accepted by the \fBstart\fR command. . +.SH "The ``load\-kmod'' command" +. +.PP +The \fBload\-kmod\fR command loads the openvswitch kernel modules if +they are not already loaded. This operation also occurs as part of +the \fBstart\fR command. The motivation for providing the \fBload\-kmod\fR +command is to allow errors when loading modules to be handled separatetly +from other errors that may occur when running the \fBstart\fR command. +. +.PP +By default the \fBload\-kmod\fR command attempts to load the +openvswitch_mod kernel module. If the \fB\-\-brcompat\fR option is +specified then the brcompat_mod kernel module is also loaded. +. .SH "The ``enable\-protocol'' command" . .PP @@ -382,6 +404,11 @@ location). The persistent system UUID created and read by \fB\-\-system\-id=random\fR. . +.IP "\fIsysconfdir\fB/openvswitch/system\-type.conf\fR" +.IQ "\fIsysconfdir\fB/openvswitch/system\-version.conf\fR" +The \fBsystem\-type\fR and \fBsystem\-version\fR values stored in the database's +\fBOpen_vSwitch\fR table when not specified as a command-line option. +. .SH "EXAMPLE" . .PP