s_logger.error("No Controller on physical network " + networkObject.getPhysicalNetworkId());
return;
}
OpenDaylightControllerVO controller = devices.get(0);
DestroyNetworkCommand cmd = new DestroyNetworkCommand(BroadcastDomainType.getValue(networkObject.getBroadcastUri()));
DestroyNetworkAnswer answer = (DestroyNetworkAnswer)agentManager.easySend(controller.getHostId(), cmd);
if (answer == null || !answer.getResult()) {
s_logger.error("DestroyNetworkCommand failed");
}