>>>>
>>>> Is there a way to block on the template creation task and not
>>>> return to the code until it finishes?
>>>
>>>
>>> I don't think so, but you can loop waiting, see e.g.:
>>>
>>> http://www.ovirt.org/develop/api/pythonapi/#create-a-template-from-vm
>>> [2]
>>
>>
>> I wish we could have an extra parameters on the Python SDK that would
>> do this exact loop for us, since essentially most use cases require
>> this.

I see most SDK action-creating methods have an optional
"correlation_id" string argument, could that be used to somehow track
the task and figure out when it is done?


-- 
Barak Korren
[email protected]
RHEV-CI Team
_______________________________________________
Users mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/users

Reply via email to