[ovirt-users] Tracking asynchronous tasks results in Python SDK
James Michels
karma.sometimes.hurts at gmail.com
Mon Mar 7 10:34:33 UTC 2016
I'm not sure if this is the right place to ask about python sdk. If not,
please suggest where should I address this question.
Thank you
2016-03-05 19:29 GMT+00:00 James Michels <karma.sometimes.hurts at gmail.com>:
> 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/20160307/1c54ed6f/attachment-0001.html>
More information about the Users
mailing list