htools: Refactor some of IAlloc.readRequest to Hail
authorRené Nussbaumer <rn@google.com>
Fri, 2 Mar 2012 10:49:34 +0000 (11:49 +0100)
committerRené Nussbaumer <rn@google.com>
Sat, 3 Mar 2012 19:46:15 +0000 (20:46 +0100)
commitc3f8cb12463b163b7c65e367d5150453aecd550d
tree343e6657f22544a671841fcd3503e7b9257755f6
parent14fbd75bb7a29e04c4cc459a5f43625829fccdda
htools: Refactor some of IAlloc.readRequest to Hail

This makes it possible to reuse that function when we want to use IAlloc
as a data source backend

Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
htools/Ganeti/HTools/IAlloc.hs
htools/Ganeti/HTools/Program/Hail.hs