<div dir="ltr"><div>Here you go: <a href="https://launchpad.net/~pboldin/+archive/ubuntu/libvirt-python">https://launchpad.net/~pboldin/+archive/ubuntu/libvirt-python</a><br><br></div>Use it, but please keep in mind that this is a draft reupload.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Oct 2, 2015 at 11:38 PM, Mathieu Gagné <span dir="ltr"><<a href="mailto:mgagne@internap.com" target="_blank">mgagne@internap.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 2015-10-02 4:18 PM, Pavel Boldin wrote:<br>
><br>
>     You have to pass device names from /dev/, e.g., if a VM has<br>
>     ephemeral disk<br>
>     attached at /dev/vdb you need to pass in 'vdb'. Format expected by<br>
>     migrate_disks is "<device_name1>,<device_name2>...".<br>
><br>
><br>
> This is the format expected by the `virsh' utility and will not work in<br>
> Python.<br>
><br>
> The libvirt-python has now support for passing lists to a parameter [1].<br>
><br>
> [1]<br>
> <a href="http://libvirt.org/git/?p=libvirt-python.git;a=commit;h=9896626b8277e2ffba1523d2111c96b08fb799e8" rel="noreferrer" target="_blank">http://libvirt.org/git/?p=libvirt-python.git;a=commit;h=9896626b8277e2ffba1523d2111c96b08fb799e8</a><br>
><br>
<br>
</span>Thanks for the info. I was banging my head against the wall, trying to<br>
understand why it didn't accept my list of strings.<br>
<br>
Now the next challenge is with Ubuntu packages, only python-libvirt<br>
1.2.15 is available in Ubuntu Willy. :-/<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Mathieu<br>
<br>
__________________________________________________________________________<br>
</font></span><span class="im HOEnZb">OpenStack Development Mailing List (not for usage questions)<br>
</span><div class="HOEnZb"><div class="h5">Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
</div></div></blockquote></div><br></div>