Add a small class for Nodes and Instances
authorIustin Pop <iustin@google.com>
Sat, 23 May 2009 00:24:06 +0000 (01:24 +0100)
committerIustin Pop <iustin@google.com>
Sat, 23 May 2009 00:24:06 +0000 (01:24 +0100)
commit497e30a1b9417b47b20a785551615e40ffac30a6
treed04f8114a838f598bc0c878564747813db08658f
parent2727257a27e09454035b07ca376d89aec7a39e14
Add a small class for Nodes and Instances

Since both nodes and instances support some common functionality (names
and indices), we add a class so that we can access these attributes in a
generic way.
Ganeti/HTools/IAlloc.hs
Ganeti/HTools/Instance.hs
Ganeti/HTools/Loader.hs
Ganeti/HTools/Node.hs
Ganeti/HTools/Rapi.hs
Ganeti/HTools/Text.hs
Ganeti/HTools/Types.hs