Bug 1088 :flow id in operational not matched; after removal not removed completely 36/10136/2
authorAnilkumar Vishnoi <avishnoi@in.ibm.com>
Tue, 19 Aug 2014 14:51:36 +0000 (20:21 +0530)
committerAnilkumar Vishnoi <avishnoi@in.ibm.com>
Thu, 21 Aug 2014 15:13:21 +0000 (20:43 +0530)
commit62cbbd408d7870a9de07c5c367363766bbca3066
treef8c5f47cbe4a8c92a66d956cf3119fd69e2e44ea
parentac6df5fc22a9ccd21c4a7223561b393f3b932754
Bug 1088 :flow id in operational not matched; after removal not removed completely
Statistics manager uses custom comparators to compare the flows it receive from
switch against the flows available in the config data store. Comparator was failing
to match flow against the config flow because of two issues
1) Port number convertion at openflow plugin includes prefix openflow:1: to the port
number. Prefix is not required,so removed it.
2) Mac address in the flow match, received from openflow plugin has different case
(e.g XX:XX:XX:XX:XX:XX) then the one in config data store (e.g xx:xx:xx:xx:xx:xx).
Default MacAddress class equals fails because of different case of mac address string.
This need to be fixed in statistics manager module in controller.

Change-Id: I8d10baa64af92dc9be4dd62c1c59c33344ac843d
Signed-off-by: Anilkumar Vishnoi <avishnoi@in.ibm.com>
openflowplugin/src/main/java/org/opendaylight/openflowplugin/openflow/md/core/sal/convertor/match/MatchConvertorImpl.java