Release of libvirt-python-3.9.0
[libvirt-python/ericb.git] / libvirt-override-virStoragePool.py
blob325e403799cdabe2b8db16e90040abcb16f4065f
1 def listAllVolumes(self, flags=0):
2 """List all storage volumes and returns a list of storage volume objects"""
3 ret = libvirtmod.virStoragePoolListAllVolumes(self._o, flags)
4 if ret is None:
5 raise libvirtError("virStoragePoolListAllVolumes() failed", conn=self)
7 retlist = list()
8 for volptr in ret:
9 retlist.append(virStorageVol(self, _obj=volptr))
11 return retlist