Skip to content

Commit

Permalink
ovs-ofctl: Document importance of priorities.
Browse files Browse the repository at this point in the history
Multiple users have asked me about this.

Signed-off-by: Ben Pfaff <[email protected]>
  • Loading branch information
blp committed May 1, 2012
1 parent 612ca9c commit 4530afb
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions utilities/ovs-ofctl.8.in
Original file line number Diff line number Diff line change
Expand Up @@ -1098,6 +1098,13 @@ others. \fIvalue\fR is a number between 0 and 65535, inclusive. A higher
have priority over an entry containing wildcards, so it has an implicit
priority value of 65535. When adding a flow, if the field is not specified,
the flow's priority will default to 32768.
.IP
OpenFlow leaves behavior undefined when two or more flows with the
same priority can match a single packet. Some users expect
``sensible'' behavior, such as more specific flows taking precedence
over less specific flows, but OpenFlow does not specify this and Open
vSwitch does not implement it. Users should therefore take care to
use priorities to ensure the behavior that they expect.
.
.PP
The \fBadd\-flow\fR, \fBadd\-flows\fR, and \fBmod\-flows\fR commands
Expand Down

0 comments on commit 4530afb

Please sign in to comment.