Revision 0bbec3af lib/hypervisor/hv_kvm.py
b/lib/hypervisor/hv_kvm.py | ||
---|---|---|
974 | 974 |
result.append(name) |
975 | 975 |
return result |
976 | 976 |
|
977 |
def GetInstanceInfo(self, instance_name): |
|
977 |
def GetInstanceInfo(self, instance_name, hvparams=None):
|
|
978 | 978 |
"""Get instance properties. |
979 | 979 |
|
980 | 980 |
@type instance_name: string |
981 | 981 |
@param instance_name: the instance name |
982 |
@type hvparams: dict of strings |
|
983 |
@param hvparams: hvparams to be used with this instance |
|
982 | 984 |
@rtype: tuple of strings |
983 | 985 |
@return: (name, id, memory, vcpus, stat, times) |
984 | 986 |
|
Also available in: Unified diff