(self)
| 402 | return self.wvm.lookupByName(name) |
| 403 | |
| 404 | def get_instances(self): |
| 405 | instances = [] |
| 406 | for inst_id in self.wvm.listDomainsID(): |
| 407 | dom = self.wvm.lookupByID(int(inst_id)) |
| 408 | instances.append(dom.name()) |
| 409 | for name in self.wvm.listDefinedDomains(): |
| 410 | instances.append(name) |
| 411 | return instances |
| 412 | |
| 413 | def get_snapshots(self): |
| 414 | instance = [] |
no outgoing calls
no test coverage detected