BUG-4065: Karaf command ResetSessionStats resets wrong counter 08/24608/3
authorMichal Rehak <mirehak@cisco.com>
Wed, 29 Jul 2015 14:51:08 +0000 (16:51 +0200)
committerMichal Rehak <mirehak@cisco.com>
Thu, 30 Jul 2015 07:02:58 +0000 (09:02 +0200)
commit7fd53bb02896343a89d2432ca66a87604b305172
tree7db4c280bd1b072299838b253653af889e39d81e
parentf03a9a90ff0730555c24e770dcf9e312ae279de1
BUG-4065: Karaf command ResetSessionStats resets wrong counter

 - copy-paste error - resetting wrong counter
 - added missing reset method into SessionStatistics
 - fixed the target of counter reset in ResetSessionStatsComandProvider

Change-Id: I0e15e3e82508cd8d5883bdd870839d90bfb8ec4c
Signed-off-by: Michal Rehak <mirehak@cisco.com>
openflowplugin-impl/src/main/java/org/opendaylight/openflowplugin/impl/karaf/ResetSessionStatsComandProvider.java
openflowplugin-impl/src/main/java/org/opendaylight/openflowplugin/impl/statistics/ofpspecific/SessionStatistics.java