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