]> git.proxmox.com Git - ovs.git/blame - utilities/ovs-controller.8.in
ovsdb-server: Document --unixctl option.
[ovs.git] / utilities / ovs-controller.8.in
CommitLineData
064af421
BP
1.TH ovs\-controller 8 "March 2009" "Open vSwitch" "Open vSwitch Manual"
2.ds PN ovs\-controller
a9b4a41a 3.
064af421
BP
4.SH NAME
5ovs\-controller \- simple OpenFlow controller reference implementation
a9b4a41a 6.
064af421
BP
7.SH SYNOPSIS
8.B ovs\-controller
9[\fIoptions\fR] \fImethod\fR \fB[\fImethod\fR]\&...
a9b4a41a 10.
064af421
BP
11.SH DESCRIPTION
12\fBovs\-controller\fR manages any number of remote switches over OpenFlow
13protocol, causing them to function as L2 MAC-learning switches or hub.
a9b4a41a 14.PP
064af421
BP
15\fBovs\-controller\fR controls one or more OpenFlow switches, specified as
16one or more of the following OpenFlow connection methods:
a9b4a41a 17.
84ee7bcf
BP
18.RS
19.so lib/vconn-passive.man
20.so lib/vconn-active.man
21.RE
a9b4a41a 22.
064af421 23.SH OPTIONS
064af421
BP
24.IP "\fB-n\fR, \fB--noflow\fR"
25By default, \fBovs\-controller\fR sets up a flow in each OpenFlow switch
26whenever it receives a packet whose destination is known due through
27MAC learning. This option disables flow setup, so that every packet
28in the network passes through the controller.
a9b4a41a 29.IP
064af421
BP
30This option is most useful for debugging. It reduces switching
31performance, so it should not be used in production.
a9b4a41a 32.
064af421
BP
33.TP
34\fB--max-idle=\fIsecs\fR|\fBpermanent\fR
35Sets \fIsecs\fR as the number of seconds that a flow set up by the
36controller will remain in the switch's flow table without any matching
37packets being seen. If \fBpermanent\fR is specified, which is not
38recommended, flows will never expire. The default is 60 seconds.
a9b4a41a 39.IP
064af421
BP
40This option affects only flows set up by the OpenFlow controller. In
41some configurations, the switch can set up some flows
42on its own. To set the idle time for those flows, pass
8cd4882f 43\fB--max-idle\fR to \fBovs\-openflowd\fR (on the switch).
a9b4a41a 44.IP
064af421
BP
45This option has no effect when \fB-n\fR (or \fB--noflow\fR) is in use
46(because the controller does not set up flows in that case).
a9b4a41a 47.
064af421
BP
48.IP "\fB-H\fR, \fB--hub\fR"
49By default, the controller acts as an L2 MAC-learning switch. This
50option changes its behavior to that of a hub that floods packets on
51all but the incoming port.
a9b4a41a 52.IP
064af421
BP
53If \fB-H\fR (or \fB--hub\fR) and \fB-n\fR (or \fB--noflow\fR) are used
54together, then the cumulative effect is that every packet passes
55through the controller and every packet is flooded.
a9b4a41a 56.IP
064af421
BP
57This option is most useful for debugging. It reduces switching
58performance, so it should not be used in production.
9af9e2e8
JT
59.
60.IP "\fB-w\fR, \fB--wildcard\fR"
61By default, \fBovs\-controller\fR sets up exact-match flows. This
62option allows it to set up wildcarded flows, which may reduce
63flow-setup latency by causing less traffic to be sent up to the
64controller.
65.IP
66This option has no effect when \fB-n\fR (or \fB--noflow\fR) is in use
67(because the controller does not set up flows in that case).
68.
69.IP "\fB-N\fR, \fB--normal\fR"
70By default, \fBovs\-controller\fR directs packets to a particular port
71or floods them. This option causes it to direct non-flooded packets
72to the OpenFlow \fBOFPP_NORMAL\fR port. This allows the switch itself
73to make decisions about packet destinations. Support for
74\fBOFPP_NORMAL\fR is optional in OpenFlow, so this option may not well
75with some non-Open vSwitch switches.
76.
7778bd15
BP
77.IP "\fB--mute\fR"
78Prevents ovs\-controller from replying to any OpenFlow messages sent
79to it by switches.
80.IP
81This option is only for debugging the Open vSwitch implementation of
82``fail open'' mode. It must not be used in production.
a9b4a41a 83.
ac300505 84.SS "Public Key Infrastructure Options"
84ee7bcf
BP
85.so lib/ssl.man
86.so lib/ssl-peer-ca-cert.man
064af421
BP
87.so lib/daemon.man
88.so lib/vlog.man
89.so lib/common.man
a9b4a41a 90.
064af421 91.SH EXAMPLES
a9b4a41a 92.
064af421
BP
93.TP
94To bind locally to port 6633 (the default) and wait for incoming connections from OpenFlow switches:
a9b4a41a 95.PP
064af421 96.B % ovs\-controller ptcp:
a9b4a41a 97.
064af421 98.SH "SEE ALSO"
a9b4a41a 99.
8cd4882f 100.BR ovs\-openflowd (8),
064af421
BP
101.BR ovs\-appctl (8),
102.BR ovs\-dpctl (8)