def delete_network(request): """ Deletes a network. Currently working only with OPENSTACK backend """ backend_id = request.matchdict['backend'] network_id = request.matchdict['network'] user = user_from_request(request) methods.delete_network(user, backend_id, network_id) return OK