break;
}*/
}
if(errorout){
s_logger.error(msg);
return new CheckNetworkAnswer(cmd, false, msg);
}else{
return new CheckNetworkAnswer(cmd, true , "Network Setup check by names is done");
}
}catch (XenAPIException e) {
String msg = "CheckNetworkCommand failed with XenAPIException:" + e.toString() + " host:" + _host.uuid;
s_logger.warn(msg, e);
return new CheckNetworkAnswer(cmd, false, msg);
}catch (Exception e) {
String msg = "CheckNetworkCommand failed with Exception:" + e.getMessage() + " host:" + _host.uuid;
s_logger.warn(msg, e);
return new CheckNetworkAnswer(cmd, false, msg);
}
}