"vmName", cmd.getVmName(), "tag", cmd.getTag(),
"vlans", cmd.getVlans(), "seqno", cmd.getSeqNo());
s_logger.debug("set flow for " + cmd.getVmName() + " " + result);
if (result.equalsIgnoreCase("SUCCESS")) {
return new OvsSetTagAndFlowAnswer(cmd, true, result);
} else {
return new OvsSetTagAndFlowAnswer(cmd, false, result);
}
} catch (BadServerResponse e) {
s_logger.error("Failed to set tag and flow", e);
} catch (XenAPIException e) {
s_logger.error("Failed to set tag and flow", e);
} catch (XmlRpcException e) {
s_logger.error("Failed to set tag and flow", e);
}
return new OvsSetTagAndFlowAnswer(cmd, false, "EXCEPTION");
}