@Test public void testGetNetconfDevice() { NetconfDevice fetchedDevice1 = ctrl.getNetconfDevice(deviceId1); assertThat("Incorrect device fetched", fetchedDevice1, is(device1)); NetconfDevice fetchedDevice2 = ctrl.getNetconfDevice(deviceId2); assertThat("Incorrect device fetched", fetchedDevice2, is(device2)); }
@Override public NetconfDevice getNetconfDevice(DeviceId deviceInfo) { return netconfDeviceMap.get(deviceInfo); }
NetconfControllerImpl implements NetconfController { @Override public NetconfDevice getNetconfDevice(DeviceId deviceInfo) { return netconfDeviceMap.get(deviceInfo); } }
NetconfControllerImpl implements NetconfController { @Override public NetconfDevice getNetconfDevice(DeviceId deviceInfo) { return netconfDeviceMap.get(deviceInfo); }  }
NetconfControllerImpl implements NetconfController { @Override public NetconfDevice getNetconfDevice(DeviceId deviceInfo) { return netconfDeviceMap.get(deviceInfo); }  @Activate void activate(ComponentContext context); @Deactivate void deactivate(); @Modified void modified(ComponentContext context); @Override void addDeviceListener(NetconfDeviceListener listener); @Override void removeDeviceListener(NetconfDeviceListener listener); @Override NetconfDevice getNetconfDevice(DeviceId deviceInfo); @Override NetconfDevice getNetconfDevice(IpAddress ip, int port); @Override NetconfDevice connectDevice(DeviceId deviceId); @Override void disconnectDevice(DeviceId deviceId, boolean remove); @Override void removeDevice(DeviceId deviceId); @Override Map<DeviceId, NetconfDevice> getDevicesMap(); @Override Set<DeviceId> getNetconfDevices(); }
NetconfControllerImpl implements NetconfController { @Override public NetconfDevice getNetconfDevice(DeviceId deviceInfo) { return netconfDeviceMap.get(deviceInfo); }  @Activate void activate(ComponentContext context); @Deactivate void deactivate(); @Modified void modified(ComponentContext context); @Override void addDeviceListener(NetconfDeviceListener listener); @Override void removeDeviceListener(NetconfDeviceListener listener); @Override NetconfDevice getNetconfDevice(DeviceId deviceInfo); @Override NetconfDevice getNetconfDevice(IpAddress ip, int port); @Override NetconfDevice connectDevice(DeviceId deviceId); @Override void disconnectDevice(DeviceId deviceId, boolean remove); @Override void removeDevice(DeviceId deviceId); @Override Map<DeviceId, NetconfDevice> getDevicesMap(); @Override Set<DeviceId> getNetconfDevices(); static final Logger log; }