Revision ef14e128 lib/hypervisor/hv_fake.py

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

  
4
# Copyright (C) 2006, 2007, 2008 Google Inc.
4
# Copyright (C) 2006, 2007, 2008, 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
......
217 217
  def GetNodeInfo(self, hvparams=None):
218 218
    """Return information about the node.
219 219

  
220
    This is just a wrapper over the base GetLinuxNodeInfo method.
221

  
222
    @type hvparams: dict of strings
223
    @param hvparams: hypervisor parameters, not used in this class
224

  
225
    @return: a dict with the following keys (values in MiB):
226
          - memory_total: the total memory size on the node
227
          - memory_free: the available memory on the node for instances
228
          - memory_dom0: the memory used by the node itself, if available
220
    See L{BaseHypervisor.GetLinuxNodeInfo}.
229 221

  
230 222
    """
231 223
    result = self.GetLinuxNodeInfo()

Also available in: Unified diff