NeutronNetworksNorthboundAction configureNetwork = new NeutronNetworksNorthboundAction(controllerUrl, controllerUsername, controllerPassword);
try {
configureNetwork.deleteNeutronNetwork(cmd.getNetworkUuid());
} catch (NeutronRestApiException e) {
s_logger.error("deleteNeutronNetwork failed", e);
return new DestroyNetworkAnswer(cmd, e);
}
return new DestroyNetworkAnswer(cmd, true, "Network " + cmd.getNetworkUuid() + " deleted");
}