Revision fac489a5 lib/hypervisor/hv_chroot.py
b/lib/hypervisor/hv_chroot.py | ||
---|---|---|
246 | 246 |
# Currently chroots don't have memory limits |
247 | 247 |
pass |
248 | 248 |
|
249 |
def GetNodeInfo(self): |
|
249 |
def GetNodeInfo(self, hvparams=None):
|
|
250 | 250 |
"""Return information about the node. |
251 | 251 |
|
252 | 252 |
This is just a wrapper over the base GetLinuxNodeInfo method. |
253 | 253 |
|
254 |
@type hvparams: dict of strings |
|
255 |
@param hvparams: hypervisor parameters, not used in this class |
|
256 |
|
|
254 | 257 |
@return: a dict with the following keys (values in MiB): |
255 | 258 |
- memory_total: the total memory size on the node |
256 | 259 |
- memory_free: the available memory on the node for instances |
Also available in: Unified diff