« Previous | Next » 

Revision 6402a260

ID6402a260b35e8a44407f469a0d3aaf39edca2d1a

Added by Iustin Pop over 14 years ago

Use the oper_ram field if available

For the RAPI and LUXI backends, we can get the actual memory usage (if
instances are running) via the oper_ram, whereas backend/memory only
tell what the instance will use at the next boot.

Not using oper_ram means that the node model is flawed and we consider
wrong values for the instance's memory (resulting sometimes in hilarious
values such as x_mem = -700 MB).

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences