@Test public void testGetNetconfDevices() { Set<DeviceId> devices = new HashSet<>(); devices.add(deviceId1); devices.add(deviceId2); assertTrue("Incorrect devices", ctrl.getNetconfDevices().containsAll(devices)); }
@Override public Set<DeviceId> getNetconfDevices() { return netconfDeviceMap.keySet(); }
NetconfControllerImpl implements NetconfController { @Override public Set<DeviceId> getNetconfDevices() { return netconfDeviceMap.keySet(); } }
NetconfControllerImpl implements NetconfController { @Override public Set<DeviceId> getNetconfDevices() { return netconfDeviceMap.keySet(); }  }
NetconfControllerImpl implements NetconfController { @Override public Set<DeviceId> getNetconfDevices() { return netconfDeviceMap.keySet(); }  @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 Set<DeviceId> getNetconfDevices() { return netconfDeviceMap.keySet(); }  @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; }