public class DeviceRendererServiceImpl implements DeviceRendererService {
+ private static final String IS_NOT_MOUNTED_ON_THE_CONTROLLER = " is not mounted on the controller";
private static final String ODU4 = "-ODU4";
private static final Logger LOG = LoggerFactory.getLogger(DeviceRendererServiceImpl.class);
private final DataBroker dataBroker;
}
}
} else {
- processErrorMessage(nodeId + " is not mounted on the controller", forkJoinPool, results);
+ processErrorMessage(nodeId + IS_NOT_MOUNTED_ON_THE_CONTROLLER, forkJoinPool, results);
success.set(false);
}
} catch (OpenRoadmInterfaceException ex) {
if (this.deviceTransactionManager.isDeviceMounted(nodeId)) {
interfacesToDelete.addAll(getInterfaces2delete(nodeId, srcTp, destTp, waveNumber));
} else {
- String result = nodeId + " is not mounted on the controller";
+ String result = nodeId + IS_NOT_MOUNTED_ON_THE_CONTROLLER;
results.add(result);
success.set(false);
LOG.warn(result);
+ input.getNodeId();
}
} else {
- result = input.getNodeId() + " is not mounted on the controller";
+ result = input.getNodeId() + IS_NOT_MOUNTED_ON_THE_CONTROLLER;
LOG.warn("{} is not mounted on the controller",input.getNodeId());
}
return output.setResult(result).setSuccess(success).build();