<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Apr 6, 2017 at 3:58 PM, Fabrice Bacchella <span dir="ltr"><<a href="mailto:fabrice.bacchella@orange.fr" target="_blank">fabrice.bacchella@orange.fr</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="word-wrap:break-word">Yes I'm starting to understand that thinking about migrating code is pointless.<div><br></div><div>The old skd3 code is just good to be thrown away. There is no hope thinking about "migrating code". And as it's just a thin layer around REST calls, it's up to us to try to make something usable around that. So I expect a lot of sweat and tears to adapt my existing code.</div></div></blockquote><div><br></div><div>Well, yes and no. Yes, it's not smooth, but once you 'get' the idea behind the v4 API philosophy, it's quite easy to write to (at least in Python). Note that right now you can mix between v3 and v4, so you can migrate slowly, function by function.</div><div><br></div><div>Another option that you can consider, if you are re-writing, is automation via Ansible. </div><div>See <a href="https://github.com/ansible/ansible-modules-extras/tree/devel/cloud/ovirt">https://github.com/ansible/ansible-modules-extras/tree/devel/cloud/ovirt</a> </div><div><br></div><div>Y.</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="word-wrap:break-word"><div><div class="gmail-h5"><div><br></div><div><div><br><div><blockquote type="cite"><div>Le 6 avr. 2017 à 14:23, Yaniv Kaul <<a href="mailto:ykaul@redhat.com" target="_blank">ykaul@redhat.com</a>> a écrit :</div><br class="gmail-m_-9026782642065823018Apple-interchange-newline"><div><div dir="ltr">There is documentation online (and within the project).<div>See <a href="http://ovirt.github.io/ovirt-engine-api-model/master/" target="_blank">http://ovirt.github.io/<wbr>ovirt-engine-api-model/master/</a></div><div><br></div><div>There are tens of examples in the RPM (and online).</div><div>See <a href="https://github.com/oVirt/ovirt-engine-sdk/tree/master/sdk/examples" target="_blank">https://github.com/oVirt/<wbr>ovirt-engine-sdk/tree/master/<wbr>sdk/examples</a></div><div><br></div><div>HTH,</div><div>Y.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Apr 6, 2017 at 12:22 PM, Fabrice Bacchella <span dir="ltr"><<a href="mailto:fabrice.bacchella@orange.fr" target="_blank">fabrice.bacchella@orange.fr</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">I trying to migrate my python code from sdk3 to sdk4, is there any migration doc, documentation help about that ? Even google is unable to find anything relevant about that.<br>
<br>
______________________________<wbr>_________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/mailman<wbr>/listinfo/users</a><br>
</blockquote></div><br></div>
______________________________<wbr>_________________<br>Users mailing list<br><a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a><br><a href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/<wbr>mailman/listinfo/users</a><br></div></blockquote></div><br></div></div></div></div></div></blockquote></div><br></div></div>