Minor fix in Ip address decoding from flow stats. 65/4765/2
authorAnilkumar Vishnoi <avishnoi@in.ibm.com>
Sat, 25 Jan 2014 12:12:55 +0000 (17:42 +0530)
committerAnilkumar Vishnoi <avishnoi@in.ibm.com>
Sat, 25 Jan 2014 13:32:05 +0000 (19:02 +0530)
commit7ef5ca6c5cd3bbfeaaee11e54c0f9fbf824f0463
tree5d294c52bea4e794dd54b33d79e067165f1c998c
parent79f377fdaf9daa9e319cb257b4fb7659a92c27df
Minor fix in Ip address decoding from flow stats.
If user specify 32 as a mask, as per specs switch ignores it. And when you fetch the flow stats switch, it returns
null as a mask value. I added a check for it and now I am explicitly adding 32 as a mask if ip mask value in flow
statistics is null"
Added code to send group/meter statistics request only to openflow 1.3+ switches.

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