commit | 527932667c5be639ce864bbec4ab540bac0de347 | [log] [tgz] |
---|---|---|
author | Palash Kala <palash.kala@samsung.com> | Tue May 16 14:36:54 2017 +0900 |
committer | Ray Milkey <ray@onlab.us> | Fri Jun 09 16:48:05 2017 +0000 |
tree | 2e405444ff3bb3c04ddaeb3b6ac2a18810f3fdf7 | |
parent | 968f93f3ad3836645a09f9777f4f92ddd63d30f0 [diff] |
[ONOS-6471] Port stats collector started two times, which is unnecessary Change-Id: I08d56c70ba1629e2474883820fc4aa8af6b79c84
diff --git a/providers/openflow/device/src/main/java/org/onosproject/provider/of/device/impl/OpenFlowDeviceProvider.java b/providers/openflow/device/src/main/java/org/onosproject/provider/of/device/impl/OpenFlowDeviceProvider.java index 2b003d1..53cf2e5 100644 --- a/providers/openflow/device/src/main/java/org/onosproject/provider/of/device/impl/OpenFlowDeviceProvider.java +++ b/providers/openflow/device/src/main/java/org/onosproject/provider/of/device/impl/OpenFlowDeviceProvider.java
@@ -294,9 +294,6 @@ // disconnect to trigger switch-add later sw.disconnectSwitch(); } - PortStatsCollector psc = new PortStatsCollector(timer, sw, portStatsPollFrequency); - psc.start(); - collectors.put(new Dpid(sw.getId()), psc); } }