@Test public void triggerProbe() { }
@Override public void triggerProbe(DeviceId deviceId) { log.info("Triggering probe on device {}", deviceId); if (!isReachable(deviceId)) { log.error("Failed to probe device {}", deviceId); providerService.deviceDisconnected(deviceId); return; } else { log.trace("Confirmed device {} connection", deviceId); } }
OvsdbDeviceProvider extends AbstractProvider implements DeviceProvider { @Override public void triggerProbe(DeviceId deviceId) { log.info("Triggering probe on device {}", deviceId); if (!isReachable(deviceId)) { log.error("Failed to probe device {}", deviceId); providerService.deviceDisconnected(deviceId); return; } else { log.trace("Confirmed device {} connection", deviceId); } } }
OvsdbDeviceProvider extends AbstractProvider implements DeviceProvider { @Override public void triggerProbe(DeviceId deviceId) { log.info("Triggering probe on device {}", deviceId); if (!isReachable(deviceId)) { log.error("Failed to probe device {}", deviceId); providerService.deviceDisconnected(deviceId); return; } else { log.trace("Confirmed device {} connection", deviceId); } } OvsdbDeviceProvider(); }
OvsdbDeviceProvider extends AbstractProvider implements DeviceProvider { @Override public void triggerProbe(DeviceId deviceId) { log.info("Triggering probe on device {}", deviceId); if (!isReachable(deviceId)) { log.error("Failed to probe device {}", deviceId); providerService.deviceDisconnected(deviceId); return; } else { log.trace("Confirmed device {} connection", deviceId); } } OvsdbDeviceProvider(); @Activate void activate(); @Deactivate void deactivate(); @Override void triggerProbe(DeviceId deviceId); @Override void roleChanged(DeviceId deviceId, MastershipRole newRole); @Override boolean isReachable(DeviceId deviceId); @Override void changePortState(DeviceId deviceId, PortNumber portNumber,
                                boolean enable); }
OvsdbDeviceProvider extends AbstractProvider implements DeviceProvider { @Override public void triggerProbe(DeviceId deviceId) { log.info("Triggering probe on device {}", deviceId); if (!isReachable(deviceId)) { log.error("Failed to probe device {}", deviceId); providerService.deviceDisconnected(deviceId); return; } else { log.trace("Confirmed device {} connection", deviceId); } } OvsdbDeviceProvider(); @Activate void activate(); @Deactivate void deactivate(); @Override void triggerProbe(DeviceId deviceId); @Override void roleChanged(DeviceId deviceId, MastershipRole newRole); @Override boolean isReachable(DeviceId deviceId); @Override void changePortState(DeviceId deviceId, PortNumber portNumber,
                                boolean enable);  }