alshabib
Committed by Gerrit Code Review

kick off link discovery only for available devices

Change-Id: Ibdec36f5f44a84fa692250d84fdb21c7ddaa42b6
......@@ -101,7 +101,7 @@ public class LLDPLinkProvider extends AbstractProvider implements LinkProvider {
masterService.addListener(roleListener);
LinkDiscovery ld;
for (Device device : deviceService.getDevices()) {
for (Device device : deviceService.getAvailableDevices()) {
ld = new LinkDiscovery(device, packetSevice, masterService,
providerService, useBDDP);
discoverers.put(device.id(), ld);
......