-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ofproto-dpif: Add ovs-appctl commands for ovs-dpctl functions.
These commands will be useful in a future commit that makes multiple bridges share a single backing datapath. The ovs-dpctl commands will show information about the backing datapath, so it will be difficult to determine which information belongs to which bridge. The new "dpif/*" ovs-appctl commands return information about the bridge--regardless of how the backing datapath is configured. Signed-off-by: Justin Pettit <[email protected]>
- Loading branch information
Justin Pettit
committed
Nov 2, 2012
1 parent
e44768b
commit 2702241
Showing
9 changed files
with
355 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
.SS "DATAPATH COMMANDS" | ||
These commands manage logical datapaths. They are are similar to the | ||
equivalent \fBovs\-dpctl\fR commands. | ||
. | ||
.IP "\fBdpif/dump\-dps\fR" | ||
Prints the name of each configured datapath on a separate line. | ||
. | ||
.IP "\fBdpif/show\fR [\fIdp\fR...]" | ||
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.) | ||
.IP | ||
If one or more datapaths are specified, information on only those | ||
datapaths are displayed. Otherwise, information about all configured | ||
datapaths are shown. | ||
. | ||
.IP "\fBdpif/dump\-flows \fIdp\fR" | ||
Prints to the console all flow entries in datapath \fIdp\fR's | ||
flow table. | ||
.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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.