Check the full instance specs in htools
authorBernardo Dal Seno <bdalseno@google.com>
Wed, 29 May 2013 18:50:42 +0000 (20:50 +0200)
committerBernardo Dal Seno <bdalseno@google.com>
Mon, 3 Jun 2013 13:15:29 +0000 (15:15 +0200)
commit6ef49eef124048e6bdb42478b86647f9e7a621d2
tree4da0dff827846406b08de75cf81002417b2300d6
parent2724417caf086a3be1a57e7fa09cf7c3a0ca2e3f
Check the full instance specs in htools

Spindles and disk count are checked too. Existing functions have been
refactored, so common parts are not duplicated.

Signed-off-by: Bernardo Dal Seno <bdalseno@google.com>
Reviewed-by: Klaus Aehlig <aehlig@google.com>
src/Ganeti/HTools/Instance.hs
src/Ganeti/HTools/Types.hs