Merge citrix branch into master.
[sliver-openvswitch.git] / vswitchd / ovs-brcompatd.8.in
1 .TH ovs\-brcompatd 8 "March 2009" "Open vSwitch" "Open vSwitch Manual"
2 .ds PN ovs\-brcompatd
3 .
4 .SH NAME
5 ovs\-brcompatd \- Bridge compatibility front-end for ovs\-vswitchd
6 .
7 .SH SYNOPSIS
8 .B ovs\-brcompatd
9 [\fIoptions\fR] \fIconfig\fR
10 .
11 .SH DESCRIPTION
12 A daemon that provides a legacy bridge front-end for \fBovs\-vswitchd\fR.  It 
13 does this by listening for bridge ioctl commands (e.g., those generated by 
14 the \fBbrctl\fR program) to add or remove datapaths and the interfaces 
15 that attach to them.  It modifies \fIconfig\fR and forces
16 \fBovs\-vswitchd\fR to reload its configuration file.
17 .PP
18 .SH OPTIONS
19 .IP "\fB--appctl-command=\fIcommand\fR"
20 Sets the command that \fBovs\-brcompatd\fR runs to communicate with
21 \fBovs\-vswitchd\fR.  The command is run in \fB/bin/sh\fR as a shell
22 command, so \fIcommand\fR may contain arbitrary shell metacharacters,
23 etc.  The \fB--help\fR option displays the default command.
24 .IP
25 \fIcommand\fR must contain exactly one instance of \fB%s\fR, which
26 \fBovs\-brcompatd\fR replaces by a command from the set understood by
27 \fBovs\-vswitchd\fR.  Any instances of \fB%%\fR in \fIcommand\fR are
28 replaced by a single \fB%\fR.  The \fB%\fR character may not otherwise
29 appear in \fIcommand\fR.
30 .IP
31 The commands that are substituted into \fIcommand\fR are those that
32 can be listed by passing \fBhelp\fR to \fBovs\-appctl\fR with
33 \fBovs\-vswitchd\fR as target.
34 .IP
35 \fIcommand\fR must not redirect \fBovs\-appctl\fR's standard output or
36 standard error streams, because \fBovs\-brcompatd\fR expects to read
37 both of these streams separately.
38 .TP
39 \fB--prune-timeout=\fIsecs\fR
40 .
41 Sets the maximum time between pruning port entries to \fIsecs\fR seconds.
42 Pruning ports is the process of removing port entries from \fIconfig\fR 
43 that no longer exist.  If \fIsecs\fR is zero, then entries are never
44 pruned.  The default prune timeout is 5 seconds.
45 .TP
46 \fB--lock-timeout=\fImsecs\fR
47 .
48 Sets the maximum time to wait for \fIconfig\fR to become unlocked to 
49 \fImsecs\fR milliseconds.  The default lock timeout is 500 milliseconds.
50 .
51 .so lib/daemon.man
52 .so lib/vlog.man
53 .so lib/common.man
54 .so lib/leak-checker.man
55 .
56 .SH NOTES
57 \fBovs\-brcompatd\fR requires the \fBbrcompat_mod.ko\fR kernel module to be
58 loaded.
59 .SH "SEE ALSO"
60 .BR ovs\-appctl (8),
61 .BR ovs\-vswitchd (8),
62 .BR ovs\-vswitchd.conf (5),
63 \fBINSTALL.bridge\fR in the Open vSwitch distribution.