You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
VDUs should be started in parallel (Unless they depend on each other). Each VDU should have independent initialization cycle. Failure of one VDU should not effect (abort) the initialization of other VDUs.
for (VirtualDeploymentUnit vdu : virtualNetworkFunctionRecord.getVdu()) {
List<Future<List<String>>> ids = new ArrayList<>();
VimInstance vimInstance = vims.get(vdu.getId());
if (vimInstance == null) {
throw new NullPointerException(
"Our algorithms are too complex, even for us, this is what abnormal IQ means :" + "(");
}
vimInstance = vimRepository.findFirstById(vimInstance.getId());
log.debug(
"Allocating VDU: "
+ vdu.getName()
+ " to vim instance: "
+ vimInstance.getName()
+ " - id: "
+ vimInstance.getId());
for (NFVImage image : vimInstance.getImages()) {
log.trace("Available image name: " + image.getName());
}
ids.add(
resourceManagement.allocate(
vdu, virtualNetworkFunctionRecord, vimInstance, userData, keys));
for (Future<List<String>> id : ids) {
id.get();
}
}
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: