Bug 1034 : Statistics request queue cleanup on node disconnection 26/7526/2
authorAnil Vishnoi <avishnoi@in.ibm.com>
Thu, 29 May 2014 20:05:29 +0000 (01:35 +0530)
committerAnil Vishnoi <avishnoi@in.ibm.com>
Tue, 3 Jun 2014 20:32:44 +0000 (02:02 +0530)
commit612c345a6df5f01d94c256560abd57eedd806a0d
treef988cb6c0600a6aaaa9e4c41ba33e14ed838e358
parent71f3407bdcd16dd382126a320912965f5123b900
Bug 1034 : Statistics request queue cleanup on node disconnection
MD-SAL Statistics-manager was not removing the statistics request entries from request scheduler queue. So even if
node is getting disconnected, request scheduler was sending the request down to the plugin and plugin was throwing
IllegalArgumentException. With this fix, whenever node get disconnected its respective NodeStatisticsHandler clean up
its pending statistics request from scheduler queue.

Change-Id: Ie70544b11f660531312c29ff89bb868761104282
Signed-off-by: Anil Vishnoi <avishnoi@in.ibm.com>
opendaylight/md-sal/statistics-manager/src/main/java/org/opendaylight/controller/md/statistics/manager/NodeStatisticsHandler.java
opendaylight/md-sal/statistics-manager/src/main/java/org/opendaylight/controller/md/statistics/manager/StatisticsRequestScheduler.java