1 def listAllPorts(self
, flags
=0):
2 """List all domains and returns a list of domain objects"""
3 ret
= libvirtmod
.virNetworkListAllPorts(self
._o
, flags
)
5 raise libvirtError("virNetworkListAllPorts() failed", conn
=self
)
9 retlist
.append(virNetwork(self
, _obj
=domptr
))