
7 May
2012
7 May
'12
1:23 p.m.
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