IAllocator: read and use the vm_capable node flag
authorIustin Pop <iustin@google.com>
Fri, 7 Jan 2011 13:45:53 +0000 (14:45 +0100)
committerIustin Pop <iustin@google.com>
Mon, 10 Jan 2011 14:50:08 +0000 (15:50 +0100)
commit3eeea90f3f773216fe7f0ee8d04748de50322818
tree37d7a157c86f65b24f437fc2ff3304917ac84a28
parent1b2cb110c9d05740acac9572f9cc6d7f8c8df08e
IAllocator: read and use the vm_capable node flag

This allows non-vm_capable nodes, which don't export runtime data, to
not break the IAllocator message parsing.

Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Balazs Lecz <leczb@google.com>
Ganeti/HTools/IAlloc.hs