]> git.proxmox.com Git - mirror_ovs.git/blame - utilities/ovs-dpctl.8.in
ovs-dpctl: New --names option to use port names in flow dumps.
[mirror_ovs.git] / utilities / ovs-dpctl.8.in
CommitLineData
91005f03
BP
1.de IQ
2. br
3. ns
4. IP "\\$1"
5..
d2cb6c95 6.TH ovs\-dpctl 8 "@VERSION@" "Open vSwitch" "Open vSwitch Manual"
064af421 7.ds PN ovs\-dpctl
a9b4a41a 8.
064af421
BP
9.SH NAME
10ovs\-dpctl \- administer Open vSwitch datapaths
a9b4a41a 11.
064af421
BP
12.SH SYNOPSIS
13.B ovs\-dpctl
14[\fIoptions\fR] \fIcommand \fR[\fIswitch\fR] [\fIargs\fR\&...]
a9b4a41a 15.
064af421 16.SH DESCRIPTION
a9b4a41a 17.PP
064af421 18The \fBovs\-dpctl\fR program can create, modify, and delete Open vSwitch
6bdfa488 19datapaths. A single machine may host any number of datapaths.
a9b4a41a 20.PP
5989a51c
BP
21This program works only with datapaths that are implemented outside of
22\fBovs\-vswitchd\fR itself, such as the Linux and Windows kernel-based
23datapaths. To manage datapaths that are integrated into
24\fBovs\-vswitchd\fR, such as the userspace (\fBnetdev\fR) datapath,
25use \fBovs\-appctl\fR(8) to invoke the \fBdpctl/*\fR commands, which
26are documented in \fBovs\-vswitchd\fR(8).
27.PP
064af421
BP
28A newly created datapath is associated with only one network device, a
29virtual network device sometimes called the datapath's ``local port''.
30A newly created datapath is not, however, associated with any of the
31host's other network devices. To intercept and process traffic on a
32given network device, use the \fBadd\-if\fR command to explicitly add
33that network device to the datapath.
a9b4a41a 34.PP
c3827f61
BP
35If \fBovs\-vswitchd\fR(8) is in use, use \fBovs\-vsctl\fR(8) instead
36of \fBovs\-dpctl\fR.
064af421 37.PP
254f2dc8
BP
38Most \fBovs\-dpctl\fR commands that work with datapaths take an
39argument that specifies the name of the datapath. Datapath names take
40the form [\fItype\fB@\fR]\fIname\fR, where \fIname\fR is the network
41device associated with the datapath's local port. If \fItype\fR is
42given, it specifies the datapath provider of \fIname\fR, otherwise the
43default provider \fBsystem\fR is assumed.
064af421
BP
44.PP
45The following commands manage datapaths.
a9b4a41a 46.
fceef209
DDP
47.ds DX
48.de DO
49\\$1 \\$2 \\$3
50..
51.so lib/dpctl.man
a9b4a41a 52.
064af421 53.SH OPTIONS
91005f03
BP
54.IP "\fB\-s\fR"
55.IQ "\fB\-\-statistics\fR"
032aa6a3
BP
56Causes the \fBshow\fR command to print packet and byte counters for
57each port within the datapaths that it shows.
91005f03 58.
041e7168
AZ
59.IP "\fB\-m\fR"
60.IQ "\fB\-\-more\fR"
d1fd1ea9
BP
61Increases verbosity of output for \fBdump\-flows\fR and
62\fBget\-flow\fR.
63.
64.IP "\fB\-\-names\fR"
65.IQ "\fB\-\-no-names\fR"
66Enables or disables showing port names in place of numbers in output
67for \fBdump\-flows\fR and \fBget\-flow\fR. By default, names are
68shown if at least one \fB\-m\fR or \fB\-\-more\fR is specified.
041e7168 69.
91005f03
BP
70.IP "\fB\-t\fR"
71.IQ "\fB\-\-timeout=\fIsecs\fR"
064af421
BP
72Limits \fBovs\-dpctl\fR runtime to approximately \fIsecs\fR seconds. If
73the timeout expires, \fBovs\-dpctl\fR will exit with a \fBSIGALRM\fR
74signal.
a9b4a41a 75.
064af421
BP
76.so lib/vlog.man
77.so lib/common.man
a9b4a41a 78.
064af421 79.SH "SEE ALSO"
a9b4a41a 80.
064af421
BP
81.BR ovs\-appctl (8),
82.BR ovs\-vswitchd (8)