Handle openflowplugin returning null 45/5345/1
authorRobert Varga <rovarga@cisco.com>
Sat, 15 Feb 2014 02:17:36 +0000 (03:17 +0100)
committerRobert Varga <rovarga@cisco.com>
Sat, 15 Feb 2014 07:19:21 +0000 (08:19 +0100)
commit86fbf772e22bd386e790682594b8188fb450ad8c
treeefb5bd7bd70071c998e1061de5f7c3947ab87418
parent3a827de1a10cd2c88a09eefc0ec518fa00f8dc02
Handle openflowplugin returning null

It turns out that openflow plugin reports success with null transaction
ID if the switch does not support a feature. This is quite bad, but we
can recover rather easily. Rework the registration contract to take care
of the changes.

Change-Id: I62fe7badeb5d792c8533762f5e68b7d37811f8ed
Signed-off-by: Robert Varga <rovarga@cisco.com>
opendaylight/md-sal/statistics-manager/src/main/java/org/opendaylight/controller/md/statistics/manager/AbstractStatsTracker.java
opendaylight/md-sal/statistics-manager/src/main/java/org/opendaylight/controller/md/statistics/manager/FlowCapableContext.java
opendaylight/md-sal/statistics-manager/src/main/java/org/opendaylight/controller/md/statistics/manager/NodeStatisticsHandler.java