htools: update the node-evac/change-group result
authorIustin Pop <iustin@google.com>
Thu, 7 Jul 2011 13:45:57 +0000 (15:45 +0200)
committerIustin Pop <iustin@google.com>
Fri, 15 Jul 2011 15:56:30 +0000 (17:56 +0200)
commit5440c877382238c075cf75808e4cc61f1ce17c34
treeb833e6dd86d2b06afc60a7f3caccd1024dae6187
parentd254d6ce98228e7b5d2d5181ae836be27d88fadc
htools: update the node-evac/change-group result

… per the new design changes. This also requires changes to
updateEvacSolution, as passing in the original instance is not
helpful; we just pass the instance index now and look up the actual
instance in the modified instance map.

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