Generalise the node/instance listing
authorIustin Pop <iustin@google.com>
Sun, 18 Oct 2009 16:44:13 +0000 (17:44 +0100)
committerIustin Pop <iustin@google.com>
Sun, 18 Oct 2009 17:21:14 +0000 (02:21 +0900)
commitc5f7412edc6fbf4b1de51b21112f94698576ee26
treec4265c16bff610db93c5e2318fb647f7881871cc
parentad6cffe4069c1efc89a7966388414dde9df00b01
Generalise the node/instance listing

This patch introduces a generic formatTable function (based on, and
similar to the Ganeti one, but different and more FP in style) and
changes the node and instance listing to it.

The node list (due to the many variables) is still a little bit hackish
unfortunately…
Ganeti/HTools/Cluster.hs
Ganeti/HTools/Node.hs
Ganeti/HTools/Utils.hs