This small series, built on top of the patches I sent from yesterday, does some cleanup in the JSON parsing, and then adds vm_capable handling in IAllocator and Rapi, and reading the group policy in IAllocator.
Iustin Pop (5): JSON functions: change signature of (maybe)fromObj JSON: improve error reporting IAllocator: replace fake policy with real one IAllocator: read and use the vm_capable node flag Rapi: read and use the vm_capable node flag Ganeti/HTools/IAlloc.hs | 75 ++++++++++++++++++++++++++-------------------- Ganeti/HTools/Rapi.hs | 17 +++++----- Ganeti/HTools/Utils.hs | 17 +++++----- Ganeti/Luxi.hs | 8 ++-- Ganeti/OpCodes.hs | 31 ++++++++++--------- 5 files changed, 80 insertions(+), 68 deletions(-) -- 1.7.3.1
