[ovirt-users] Tracking asynchronous tasks results in Python SDK

James Michels karma.sometimes.hurts at gmail.com
Sat Mar 5 19:29:49 UTC 2016


Greetings

How can I track asynchronous tasks with python sdk? For instance, I want to
copy a disk so I use:

   dcdisk = api.disks.get(id='...')
   act = params.Action(storage_domain=api.storagedomains.get(name='...'))
   action = dcdisk.copy(act)

I get a params.Action object. Now how can I know which ID has the new
copied disk?

Thank you

James
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20160305/9912548b/attachment-0001.html>


More information about the Users mailing list