Merge "Remove hardcode yang.jmx.plugin"
authorAlessandro Boch <aboch@cisco.com>
Sat, 19 Apr 2014 18:33:10 +0000 (18:33 +0000)
committerGerrit Code Review <gerrit@opendaylight.org>
Sat, 19 Apr 2014 18:33:10 +0000 (18:33 +0000)
opendaylight/protocol_plugins/openflow/src/main/java/org/opendaylight/controller/protocol_plugin/openflow/internal/ReadServiceFilter.java

index d5a80370fbf106c5f03f87ef3f9d477f87131a0d..e1b244f2c1ede4330d9bda67df4ae693c97af162 100644 (file)
@@ -515,7 +515,7 @@ public class ReadServiceFilter implements IReadServiceFilter, IContainerListener
         long sid = (Long) node.getID();
         List<OFStatistics> ofList = (cached == true) ? statsMgr
                 .getOFPortStatistics(sid) : statsMgr.queryStatistics(sid,
-                        OFStatisticsType.FLOW, null);
+                        OFStatisticsType.PORT, null);
 
         List<OFStatistics> filteredList = filterPortListPerContainer(containerName, sid, ofList);