• Iustin Pop's avatar
    IAllocator: some more info exported · 6286519f
    Iustin Pop authored
    This patch adds the following information to the exported info:
      - hypervisor type (in the main dict)
      - total memory used by primary instances (in each node dict) (can be
        computed from the node+instance dicts, but it's cheap to compute
        from Ganeti) (this is not live data, just from the config)
      - total memory used by primary instances marked to be up, similar to
        the above
    
    Reviewed-by: imsnah
    6286519f
cmdlib.py 174 KB