Thomas Vachuska
Committed by Gerrit Code Review

ONOS-2412 Fixing CLI & GUI inconcistency for reporting device count.

Change-Id: I219332cb1513c49e6f0fbbbbd0fd49d05277e2e9
...@@ -388,7 +388,7 @@ public abstract class TopologyViewMessageHandlerBase extends UiMessageHandler { ...@@ -388,7 +388,7 @@ public abstract class TopologyViewMessageHandlerBase extends UiMessageHandler {
388 return new PropertyPanel("ONOS Summary", "node") 388 return new PropertyPanel("ONOS Summary", "node")
389 .addProp(Properties.VERSION, version) 389 .addProp(Properties.VERSION, version)
390 .addSeparator() 390 .addSeparator()
391 - .addProp(Properties.DEVICES, topology.deviceCount()) 391 + .addProp(Properties.DEVICES, deviceService.getDeviceCount())
392 .addProp(Properties.LINKS, topology.linkCount()) 392 .addProp(Properties.LINKS, topology.linkCount())
393 .addProp(Properties.HOSTS, hostService.getHostCount()) 393 .addProp(Properties.HOSTS, hostService.getHostCount())
394 .addProp(Properties.TOPOLOGY_SSCS, topology.clusterCount()) 394 .addProp(Properties.TOPOLOGY_SSCS, topology.clusterCount())
......