unexplained happy flow for restart network modified

This commit is contained in:
Daan Hoogland 2014-10-23 20:53:09 +02:00
parent 71767cfe81
commit 8218ce0fe2
1 changed files with 1 additions and 2 deletions

View File

@ -2464,12 +2464,11 @@ public class NetworkOrchestrator extends ManagerBase implements NetworkOrchestra
try {
implementNetworkElementsAndResources(dest, context, network, offering);
setRestartRequired(network, true);
return true;
} catch (Exception ex) {
s_logger.warn("Failed to implement network " + network + " elements and resources as a part of network restart due to ", ex);
return false;
}
setRestartRequired(network, false);
return true;
}
private void setRestartRequired(NetworkVO network, boolean restartRequired) {