Add functions to check and fix cluster data
authorIustin Pop <iustin@google.com>
Sun, 22 Mar 2009 10:02:59 +0000 (11:02 +0100)
committerIustin Pop <iustin@google.com>
Sun, 22 Mar 2009 10:02:59 +0000 (11:02 +0100)
commit5d1baf6306e49a6fc4c2bf3b8cf2b6e17e6b7902
tree553b638e4d06bb280a245813b93c96a408d7b33a
parent8c5b0a0d39e4df15883d568e0b84c61bc2230c71
Add functions to check and fix cluster data

This patch adds a checkData function which goes over the node list and computes
the unaccounted memory, returning a list of warning messages (if any) and the
update nodes.
Ganeti/HTools/Cluster.hs
Ganeti/HTools/Container.hs