Re: [libvirt-users] list storage pools and volumes using python api calls

2012-05-07 Thread Alex Jia
rs@redhat.com" *Sent:* Monday, May 7, 2012 6:23 AM *Subject:* Re: [libvirt-users] list storage pools and volumes using python api calls 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 poo

Re: [libvirt-users] list storage pools and volumes using python api calls

2012-05-07 Thread Syed A. Ali
libvirt-users@redhat.com" Sent: Monday, May 7, 2012 6:23 AM Subject: Re: [libvirt-users] list storage pools and volumes using python api calls 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 a

Re: [libvirt-users] list storage pools and volumes using python api calls

2012-05-07 Thread Osier Yang
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 "