[ovirt-users] Tracking asynchronous tasks results in Python SDK
Sandro Bonazzola
sbonazzo at redhat.com
Tue Mar 8 08:45:17 UTC 2016
On Sat, Mar 5, 2016 at 8:29 PM, James Michels <
karma.sometimes.hurts at gmail.com> wrote:
> 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?
>
Adding Juan
>
> Thank you
>
> James
>
> _______________________________________________
> Users mailing list
> Users at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
--
Sandro Bonazzola
Better technology. Faster innovation. Powered by community collaboration.
See how it works at redhat.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20160308/7d580853/attachment-0001.html>
More information about the Users
mailing list