[ovs-discuss] Flow comparison with OFPFlowMod message

Ben Pfaff blp at ovn.org
Tue Aug 27 23:23:48 UTC 2019


On Tue, Aug 27, 2019 at 12:08:08PM -0700, Nick Yurchenko wrote:
> Hi,
> 
> In my project I need to compare an active flow in the table(obtained from
> `EventOFPFlowStatsReply`) with a OFPFlowMod message that is sent to the
> controller.
> 
> I've thrown together a method to compare the two but it doesn't look good.
> Is there a better way to do this?

It's pretty risky to try to compare matches and actions directly,
because there is more than one way to represent many of them.  It might
be better to simply rely on flow cookies.


More information about the discuss mailing list