Remove unsupported statistics warning 49/62249/1
authormiroslav.macko <miroslav.macko@pantheon.tech>
Thu, 24 Aug 2017 07:33:03 +0000 (09:33 +0200)
committermiroslav.macko <miroslav.macko@pantheon.tech>
Thu, 24 Aug 2017 07:33:21 +0000 (09:33 +0200)
Remove warning for unsupported statistics type when deleting all groups,
flows and meters since it is unwanted.

See also: bug 8607

Change-Id: Ib91383a66306bebba3da9dff88bcb38664ec5860
Signed-off-by: miroslav.macko <miroslav.macko@pantheon.tech>
openflowplugin-impl/src/main/java/org/opendaylight/openflowplugin/impl/statistics/StatisticsGatheringUtils.java

index c933adbd6e5cd8467e5134b9f46cf54c86058f31..1accd582052d63a4af8cfa533fc2dd996c6c5c21 100644 (file)
@@ -165,7 +165,7 @@ public final class StatisticsGatheringUtils {
                 deleteAllKnownGroups(txFacade, instanceIdentifier, deviceRegistry.getDeviceGroupRegistry());
                 break;
             default:
-                LOG.warn("Unsupported statistics type {}", type);
+                // no operation
         }
 
         if (writeStatistics(type, statistics, deviceInfo, statisticsWriterProvider)) {
@@ -182,7 +182,7 @@ public final class StatisticsGatheringUtils {
                     deviceRegistry.getDeviceGroupRegistry().processMarks();
                     break;
                 default:
-                    LOG.warn("Unsupported statistics type {}", type);
+                    // no operation
             }
 
             LOG.debug("Stats reply added to transaction for node {} of type {}", deviceInfo.getNodeId(), type);