<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div><blockquote type="cite" class=""><div class="">Le 6 avr. 2017 à 15:32, Yaniv Kaul <<a href="mailto:ykaul@redhat.com" class="">ykaul@redhat.com</a>> a écrit :</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><br class=""><div class="gmail_extra"><br class=""><div class="gmail_quote">On Thu, Apr 6, 2017 at 3:58 PM, Fabrice Bacchella <span dir="ltr" class=""><<a href="mailto:fabrice.bacchella@orange.fr" target="_blank" class="">fabrice.bacchella@orange.fr</a>></span> wrote:<br class=""><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" class="">Yes I'm starting to understand that thinking about migrating code is pointless.<div class=""><br class=""></div><div class="">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 class=""><br class=""></div><div class="">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).</div></div></div></div></div></blockquote><div><br class=""></div>Easy to write code that a well though sdk should have provided.</div><div><br class=""><blockquote type="cite" class=""><div class=""><div dir="ltr" class=""><div class="gmail_extra"><div class="gmail_quote"><div class=""> Note that right now you can mix between v3 and v4, so you can migrate slowly, function by function.</div></div></div></div></div></blockquote><div><br class=""></div><div>That's a possible but almost as complicated as rewrite everything in my case.</div><div><br class=""></div><blockquote type="cite" class=""><div class=""><div dir="ltr" class=""><div class="gmail_extra"><div class="gmail_quote"><div class=""><br class=""></div><div class=""><br class=""></div><div class="">Another option that you can consider, if you are re-writing, is automation via Ansible. </div><div class="">See <a href="https://github.com/ansible/ansible-modules-extras/tree/devel/cloud/ovirt" class="">https://github.com/ansible/ansible-modules-extras/tree/devel/cloud/ovirt</a> </div></div></div></div></div></blockquote><br class=""></div><div>A lot of people don't use ansible or use concurrent tools. So no that's not an option.</div><br class=""></body></html>