htools: add more functions for local disk storage
authorIustin Pop <iustin@google.com>
Sat, 9 Jul 2011 09:01:49 +0000 (11:01 +0200)
committerIustin Pop <iustin@google.com>
Fri, 22 Jul 2011 10:53:13 +0000 (12:53 +0200)
commit8353b5e18c43b5661a0ebd11975911379e94cf07
tree3b519e82ad4bfab8c27295de76fbbd3552f3dceb
parentb3e3813ec2feb75167c4d56ef9580d70c7e3255e
htools: add more functions for local disk storage

These will be used in Node.hs for proper add/remove instance
code. Furthermore, we restrict the movable status to the right disk
templates only, so that we don't attempt to move the 'wrong' instance
types.

Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
htools/Ganeti/HTools/Instance.hs