Revision ef14e128 lib/hypervisor/hv_lxc.py
b/lib/hypervisor/hv_lxc.py | ||
---|---|---|
400 | 400 |
def GetNodeInfo(self, hvparams=None): |
401 | 401 |
"""Return information about the node. |
402 | 402 |
|
403 |
This is just a wrapper over the base GetLinuxNodeInfo method. |
|
404 |
|
|
405 |
@type hvparams: dict of strings |
|
406 |
@param hvparams: hypervisor parameters, not used in this class |
|
407 |
|
|
408 |
@return: a dict with the following keys (values in MiB): |
|
409 |
- memory_total: the total memory size on the node |
|
410 |
- memory_free: the available memory on the node for instances |
|
411 |
- memory_dom0: the memory used by the node itself, if available |
|
403 |
See L{BaseHypervisor.GetLinuxNodeInfo}. |
|
412 | 404 |
|
413 | 405 |
""" |
414 | 406 |
return self.GetLinuxNodeInfo() |
Also available in: Unified diff