Hi,
with a little help from Red Hat my current solution looks like this:
https://github.com/Klaas-/ovirt-engine-sdk/blob/663cc06516f9ace45ba046a3b2ba14a6724cfb8a/sdk/examples/change_vm_lease_storage_domain.py#L51-L83

using a correlation_id to find the running task with jobs_service and then 
watching that until it's finished

I'll try to put a PR in through gerrit within the next days.

Greetings
Klaas
_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/Z6JIN6DVVSQORMF6KJSE2LZD432P32AQ/

Reply via email to