Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(4)  |  Call(4)  |  Derive(0)  |  Import(0)

src/s/y/synnefo-HEAD/snf-cyclades-app/synnefo/api/servers.py   synnefo(Download)
    vm = util.get_vm(server_id, request.user_uniq, for_update=True,
                     non_suspended=True)
    vm = servers.destroy(vm)
    return HttpResponse(status=204)
 

src/s/y/synnefo-HEAD/snf-cyclades-app/synnefo/logic/management/commands/server-remove.py   synnefo(Download)
                                               server.backend))
 
                server = servers.destroy(server)
                jobID = server.task_job_id
 

src/s/y/synnefo-HEAD/snf-cyclades-app/synnefo/logic/tests/servers.py   synnefo(Download)
        mrapi().DeleteInstance.return_value = 1
        with mocked_quotaholder():
            servers.destroy(vm)
        vm = mfactory.VirtualMachineFactory(task="REBOOT", task_job_id=1)
        with mocked_quotaholder():
            servers.destroy(vm)