Revision 0bbec3af lib/hypervisor/hv_fake.py
b/lib/hypervisor/hv_fake.py | ||
---|---|---|
56 | 56 |
""" |
57 | 57 |
return os.listdir(self._ROOT_DIR) |
58 | 58 |
|
59 |
def GetInstanceInfo(self, instance_name): |
|
59 |
def GetInstanceInfo(self, instance_name, hvparams=None):
|
|
60 | 60 |
"""Get instance properties. |
61 | 61 |
|
62 |
@type instance_name: string |
|
62 | 63 |
@param instance_name: the instance name |
64 |
@type hvparams: dict of strings |
|
65 |
@param hvparams: hvparams to be used with this instance |
|
63 | 66 |
|
64 | 67 |
@return: tuple of (name, id, memory, vcpus, stat, times) |
65 | 68 |
|
Also available in: Unified diff