2014-07-17 17:26:00 -07:00
|
|
|
.SS "DATAPATH DEBUGGING COMMANDS"
|
|
|
|
These commands query and modify datapaths. They are are similar to
|
|
|
|
\fBovs\-dpctl\fR(8) commands. \fBdpif/show\fR has the additional
|
|
|
|
functionality, beyond \fBdpctl/show\fR of printing OpenFlow port
|
|
|
|
numbers. The other commands are redundant and will be removed in a
|
|
|
|
future release.
|
2012-09-25 18:47:02 -07:00
|
|
|
.
|
|
|
|
.IP "\fBdpif/dump\-dps\fR"
|
|
|
|
Prints the name of each configured datapath on a separate line.
|
|
|
|
.
|
2013-06-04 15:48:31 -07:00
|
|
|
.IP "\fBdpif/show\fR"
|
2012-09-25 18:47:02 -07:00
|
|
|
Prints a summary of configured datapaths, including statistics and a
|
|
|
|
list of connected ports. The port information includes the OpenFlow
|
|
|
|
port number, datapath port number, and the type. (The local port is
|
|
|
|
identified as OpenFlow port 65534.)
|
|
|
|
.
|
2013-12-23 17:43:48 -08:00
|
|
|
.IP "\fBdpif/dump\-flows\fR [\fB\-m\fR] \fIdp\fR"
|
2012-09-25 18:47:02 -07:00
|
|
|
Prints to the console all flow entries in datapath \fIdp\fR's
|
2013-12-23 17:43:48 -08:00
|
|
|
flow table. Without \fB\-m\fR, output omits match fields that a flow
|
|
|
|
wildcards entirely; with \fB\-m\fR output includes all wildcarded fields.
|
2012-09-25 18:47:02 -07:00
|
|
|
.IP
|
|
|
|
This command is primarily useful for debugging Open vSwitch. The flow
|
|
|
|
table entries that it displays are not OpenFlow flow entries. Instead,
|
|
|
|
they are different and considerably simpler flows maintained by the
|
|
|
|
datapath module. If you wish to see the OpenFlow flow entries, use
|
|
|
|
\fBovs\-ofctl dump\-flows\fR.
|
|
|
|
.
|
|
|
|
.IP "\fBdpif/del\-flows \fIdp\fR"
|
|
|
|
Deletes all flow entries from datapath \fIdp\fR's flow table and
|
|
|
|
underlying datapath implementation (e.g., kernel datapath module).
|
|
|
|
.IP
|
|
|
|
This command is primarily useful for debugging Open vSwitch. As
|
|
|
|
discussed in \fBdpif/dump\-flows\fR, these entries are
|
|
|
|
not OpenFlow flow entries.
|