@Override
 public boolean isRelevant(NetconfDeviceOutputEvent event) {
   return getDevicesMap().containsKey(event.getDeviceInfo().getDeviceId());
 }
 @Override
 public void event(NetconfDeviceOutputEvent event) {
   if (event.type().equals(NetconfDeviceOutputEvent.Type.DEVICE_UNREGISTERED)) {
     removeDevice(event.getDeviceInfo());
   }
 }