Rework the loader model
authorIustin Pop <iustin@google.com>
Fri, 22 May 2009 17:03:53 +0000 (18:03 +0100)
committerIustin Pop <iustin@google.com>
Fri, 22 May 2009 17:03:53 +0000 (18:03 +0100)
commit040afc3532b84536c926a1bafa4252f9364e260e
treeeb712310118cc1ebf665fc9ba74a323a2a2c7b56
parent585d442011204bb0b5b57dc30e4d17adc6bf1e8f
Rework the loader model

This big patch changes the loader model from “string data as common
format” to actual object structures as common format.

The text loading function move from Cluster.hs to a new Text.hs module,
some common functions are moved to a new Loader.hs module, and the
return values from both Rapi.hs and Text.hs are uniformized.
Ganeti/HTools/Cluster.hs
Ganeti/HTools/Instance.hs
Ganeti/HTools/Loader.hs [new file with mode: 0644]
Ganeti/HTools/Node.hs
Ganeti/HTools/Rapi.hs
Ganeti/HTools/Text.hs [new file with mode: 0644]
hbal.hs
hn1.hs
hscan.hs