Revision ef14e128 lib/hypervisor/hv_chroot.py

b/lib/hypervisor/hv_chroot.py
1 1
#
2 2
#
3 3

  
4
# Copyright (C) 2006, 2007, 2008, 2009 Google Inc.
4
# Copyright (C) 2006, 2007, 2008, 2009, 2013 Google Inc.
5 5
#
6 6
# This program is free software; you can redistribute it and/or modify
7 7
# it under the terms of the GNU General Public License as published by
......
253 253
  def GetNodeInfo(self, hvparams=None):
254 254
    """Return information about the node.
255 255

  
256
    This is just a wrapper over the base GetLinuxNodeInfo method.
257

  
258
    @type hvparams: dict of strings
259
    @param hvparams: hypervisor parameters, not used in this class
260

  
261
    @return: a dict with the following keys (values in MiB):
262
          - memory_total: the total memory size on the node
263
          - memory_free: the available memory on the node for instances
264
          - memory_dom0: the memory used by the node itself, if available
256
    See L{BaseHypervisor.GetLinuxNodeInfo}.
265 257

  
266 258
    """
267 259
    return self.GetLinuxNodeInfo()

Also available in: Unified diff