Revision 0200a1af lib/hypervisor/hv_xen.py
b/lib/hypervisor/hv_xen.py | ||
---|---|---|
473 | 473 |
break |
474 | 474 |
return result |
475 | 475 |
|
476 |
def GetAllInstancesInfo(self): |
|
476 |
def GetAllInstancesInfo(self, hvparams=None):
|
|
477 | 477 |
"""Get properties of all instances. |
478 | 478 |
|
479 |
@type hvparams: dict of strings |
|
480 |
@param hvparams: hypervisor parameters |
|
479 | 481 |
@return: list of tuples (name, id, memory, vcpus, stat, times) |
480 | 482 |
|
481 | 483 |
""" |
482 |
return self._GetInstanceList(False) |
|
484 |
return self._GetInstanceList(False, hvparams=hvparams)
|
|
483 | 485 |
|
484 | 486 |
def _MakeConfigFile(self, instance, startup_memory, block_devices): |
485 | 487 |
"""Gather configuration details and write to disk. |
Also available in: Unified diff