Revision 0bbec3af lib/hypervisor/hv_lxc.py
b/lib/hypervisor/hv_lxc.py | ||
---|---|---|
163 | 163 |
""" |
164 | 164 |
return [iinfo[0] for iinfo in self.GetAllInstancesInfo()] |
165 | 165 |
|
166 |
def GetInstanceInfo(self, instance_name): |
|
166 |
def GetInstanceInfo(self, instance_name, hvparams=None):
|
|
167 | 167 |
"""Get instance properties. |
168 | 168 |
|
169 | 169 |
@type instance_name: string |
170 | 170 |
@param instance_name: the instance name |
171 |
@type hvparams: dict of strings |
|
172 |
@param hvparams: hvparams to be used with this instance |
|
171 | 173 |
@rtype: tuple of strings |
172 | 174 |
@return: (name, id, memory, vcpus, stat, times) |
173 | 175 |
|
Also available in: Unified diff