HRoller: print only online nodes
authorGuido Trotter <ultrotter@google.com>
Thu, 21 Feb 2013 21:37:41 +0000 (13:37 -0800)
committerGuido Trotter <ultrotter@google.com>
Mon, 25 Feb 2013 18:05:32 +0000 (10:05 -0800)
commit544029d338bcb851a2c2c9a99346223b39bf2ad7
tree0464cb09d352f1ed9801348c2b97eea197f4c5d1
parent777ea2c69146596bf5e0a0db98b68c193453429e
HRoller: print only online nodes

To make the graphs work even when instances live on offline nodes (eg.
because we're offlining them just to exclude them, or because they have
instance still on them) we just filter them out at the end, when we're
going to print out the result.

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