[ovs-discuss] Priority of flows in openvswitch code

Ben Pfaff blp at nicira.com
Tue Mar 17 19:38:32 UTC 2015

On Wed, Mar 18, 2015 at 12:25:42AM +0530, Sumit Paliwal wrote:
> (1) I want to know that, I'm sending two different paths for one
> destination from controller to switch, I've set different priorities for
> both of them, and I could see those flows properly inserted in the flow
> table with ofctl command. But now if it is not possible to access the
> priority from kernel, from where can i access that.

ovs-ofctl or another OpenFlow controller can see the priorities.

> Is there any else parameter that i can use to differentiate these 2 flows
> from kernel.

If the flows have the same flow match, then only the higher-priority
one will ever get installed in the kernel, so you can always know
that's the one.

More information about the discuss mailing list