Offline instance metric: change from % to count
authorIustin Pop <iustin@google.com>
Fri, 11 Dec 2009 16:41:01 +0000 (17:41 +0100)
committerIustin Pop <iustin@google.com>
Fri, 11 Dec 2009 16:43:26 +0000 (17:43 +0100)
commite4d3126861684501313e66962cb5410664494e62
treea86ca9ac595106ab19c436af4c876312256390fa
parent31728b11d4f7af90711c352962446051d5363c30
Offline instance metric: change from % to count

Currently we use the offline instance percentage (with range [0, 1]),
but this is not good, since we want the evacuation of such instances to
have a high priority; therefore we change this to a count of offline
instances, which has higher weight than a metric with range [0, 1].
Ganeti/HTools/Cluster.hs