]> git.proxmox.com Git - mirror_ovs.git/blame - utilities/ovs-dpctl.8.in
rhel: Add option to enable AF_XDP on rpm package.
[mirror_ovs.git] / utilities / ovs-dpctl.8.in
CommitLineData
9bccc3ff 1.so lib/ovs.tmac
d2cb6c95 2.TH ovs\-dpctl 8 "@VERSION@" "Open vSwitch" "Open vSwitch Manual"
064af421 3.ds PN ovs\-dpctl
a9b4a41a 4.
064af421
BP
5.SH NAME
6ovs\-dpctl \- administer Open vSwitch datapaths
a9b4a41a 7.
064af421
BP
8.SH SYNOPSIS
9.B ovs\-dpctl
10[\fIoptions\fR] \fIcommand \fR[\fIswitch\fR] [\fIargs\fR\&...]
a9b4a41a 11.
064af421 12.SH DESCRIPTION
a9b4a41a 13.PP
064af421 14The \fBovs\-dpctl\fR program can create, modify, and delete Open vSwitch
6bdfa488 15datapaths. A single machine may host any number of datapaths.
a9b4a41a 16.PP
5989a51c
BP
17This program works only with datapaths that are implemented outside of
18\fBovs\-vswitchd\fR itself, such as the Linux and Windows kernel-based
19datapaths. To manage datapaths that are integrated into
20\fBovs\-vswitchd\fR, such as the userspace (\fBnetdev\fR) datapath,
21use \fBovs\-appctl\fR(8) to invoke the \fBdpctl/*\fR commands, which
22are documented in \fBovs\-vswitchd\fR(8).
23.PP
064af421
BP
24A newly created datapath is associated with only one network device, a
25virtual network device sometimes called the datapath's ``local port''.
26A newly created datapath is not, however, associated with any of the
27host's other network devices. To intercept and process traffic on a
28given network device, use the \fBadd\-if\fR command to explicitly add
29that network device to the datapath.
a9b4a41a 30.PP
c3827f61
BP
31If \fBovs\-vswitchd\fR(8) is in use, use \fBovs\-vsctl\fR(8) instead
32of \fBovs\-dpctl\fR.
064af421 33.PP
254f2dc8
BP
34Most \fBovs\-dpctl\fR commands that work with datapaths take an
35argument that specifies the name of the datapath. Datapath names take
36the form [\fItype\fB@\fR]\fIname\fR, where \fIname\fR is the network
37device associated with the datapath's local port. If \fItype\fR is
38given, it specifies the datapath provider of \fIname\fR, otherwise the
39default provider \fBsystem\fR is assumed.
064af421
BP
40.PP
41The following commands manage datapaths.
a9b4a41a 42.
fceef209
DDP
43.ds DX
44.de DO
45\\$1 \\$2 \\$3
46..
47.so lib/dpctl.man
a9b4a41a 48.
064af421 49.SH OPTIONS
91005f03
BP
50.IP "\fB\-t\fR"
51.IQ "\fB\-\-timeout=\fIsecs\fR"
064af421
BP
52Limits \fBovs\-dpctl\fR runtime to approximately \fIsecs\fR seconds. If
53the timeout expires, \fBovs\-dpctl\fR will exit with a \fBSIGALRM\fR
54signal.
a9b4a41a 55.
064af421
BP
56.so lib/vlog.man
57.so lib/common.man
a9b4a41a 58.
064af421 59.SH "SEE ALSO"
a9b4a41a 60.
064af421
BP
61.BR ovs\-appctl (8),
62.BR ovs\-vswitchd (8)