示例#1
0
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
示例#2
0
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