htools: Use the spindle usage in the algorithms
authorRené Nussbaumer <rn@google.com>
Wed, 14 Mar 2012 10:38:21 +0000 (11:38 +0100)
committerRené Nussbaumer <rn@google.com>
Thu, 15 Mar 2012 10:29:54 +0000 (11:29 +0100)
commit4c18f4686bf6059dd4b766d0cb1ed6b9f0cff2bc
tree528016683fc358c628876e1c5bfb33780eb302f3
parentb003b8c0cf3799ab079369506c4a74c4ab3707cc
htools: Use the spindle usage in the algorithms

In the same transition also do a simple refactor of the caculation

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