@Test public void changePortState() { DeviceId deviceId = DeviceId.deviceId("2.2.2.2"); provider.changePortState(deviceId, PortNumber.portNumber(0), false); }
@Override public void changePortState(DeviceId deviceId, PortNumber portNumber, boolean enable) { log.info("changePortState on device {}", deviceId); }
OspfTopologyProvider extends AbstractProvider implements DeviceProvider, LinkProvider { @Override public void changePortState(DeviceId deviceId, PortNumber portNumber, boolean enable) { log.info("changePortState on device {}", deviceId); } }
OspfTopologyProvider extends AbstractProvider implements DeviceProvider, LinkProvider { @Override public void changePortState(DeviceId deviceId, PortNumber portNumber, boolean enable) { log.info("changePortState on device {}", deviceId); } OspfTopologyProvider(); }
OspfTopologyProvider extends AbstractProvider implements DeviceProvider, LinkProvider { @Override public void changePortState(DeviceId deviceId, PortNumber portNumber, boolean enable) { log.info("changePortState on device {}", deviceId); } OspfTopologyProvider(); @Activate void activate(); @Deactivate void deactivate(); @Override boolean isReachable(DeviceId deviceId); @Override void changePortState(DeviceId deviceId, PortNumber portNumber, boolean enable); @Override void triggerProbe(DeviceId deviceId); @Override void roleChanged(DeviceId deviceId, MastershipRole newRole); }
OspfTopologyProvider extends AbstractProvider implements DeviceProvider, LinkProvider { @Override public void changePortState(DeviceId deviceId, PortNumber portNumber, boolean enable) { log.info("changePortState on device {}", deviceId); } OspfTopologyProvider(); @Activate void activate(); @Deactivate void deactivate(); @Override boolean isReachable(DeviceId deviceId); @Override void changePortState(DeviceId deviceId, PortNumber portNumber, boolean enable); @Override void triggerProbe(DeviceId deviceId); @Override void roleChanged(DeviceId deviceId, MastershipRole newRole); static final long PSEUDO_PORT; }