BUG-2757 : Adding cookie as a comparison element for flow comparison 42/18442/2
authorAnil Vishnoi <vishnoianil@gmail.com>
Thu, 16 Apr 2015 13:16:47 +0000 (18:46 +0530)
committerAnil Vishnoi <vishnoianil@gmail.com>
Thu, 16 Apr 2015 18:17:19 +0000 (18:17 +0000)
commitb685c6814d4b01a3dd4b8c472120645f30be09d3
treedf5ec3891f008b46c1a0e6f9a464741fd74baed3
parent8ca3e9b3542fb7bd618e6224bca8afbaaa52af25
BUG-2757 : Adding cookie as a comparison element for flow comparison
If application installs two flows that are different only by the match extension they use,
second flow will match the first flow, because we don't use match
extensions for flow comparison.To include match extension in flow
comparison require quite a bit work, which can not be done in this
release. I am adding flow cookie also in flow comparison, so that
apps who are using extensions can use that to differentiate two flows
that matches if extension is excluded.If applications don't use it,
 or use same cookie, it won't impact the existing working of statistics manager.

Signed-off-by: Anil Vishnoi <vishnoianil@gmail.com>
applications/statistics-manager/src/main/java/org/opendaylight/openflowplugin/applications/statistics/manager/impl/helper/FlowComparator.java
applications/statistics-manager/src/main/java/org/opendaylight/openflowplugin/applications/statistics/manager/impl/helper/FlowComparatorFactory.java