Re: list storage pools and volumes using python api calls

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2012年05月07日 13:26, Syed A. Ali wrote:
how do i list storage pools and volumes using the python bindings?
basically the python api calls for virsh pool-list and virsh vol-list
thanks



# python
>>> import libvirt
>>> help(libvirt)

You will find "listStoragePools" in class "virConnect",
and "listVolumes" in class "virStoragePool".

Regards,
Osier

_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users



[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux