Parse node group networks
authorThomas Thrainer <thomasth@google.com>
Fri, 17 May 2013 11:39:07 +0000 (13:39 +0200)
committerThomas Thrainer <thomasth@google.com>
Wed, 29 May 2013 07:52:49 +0000 (09:52 +0200)
commitc8b199db6839bc8c77729478e02cef9324c2a186
tree62e10c7d3870abf2f1def43c03e3d0e6bce3e9a0
parent2daca99b5be21ea4667637721ee2c65a14444520
Parse node group networks

Extend the Group by the network ids it is connected to. Adapt
the IAlloc backend such that the networks are parsed correctly.
This also required the adaption of test data.

Signed-off-by: Thomas Thrainer <thomasth@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
14 files changed:
src/Ganeti/HTools/Backend/IAlloc.hs
src/Ganeti/HTools/Backend/Luxi.hs
src/Ganeti/HTools/Backend/Rapi.hs
src/Ganeti/HTools/Backend/Simu.hs
src/Ganeti/HTools/Backend/Text.hs
src/Ganeti/HTools/Group.hs
src/Ganeti/HTools/Types.hs
test/data/htools/hail-alloc-drbd.json
test/data/htools/hail-alloc-invalid-twodisks.json
test/data/htools/hail-alloc-twodisks.json
test/data/htools/hail-change-group.json
test/data/htools/hail-node-evac.json
test/data/htools/hail-reloc-drbd.json
test/hs/Test/Ganeti/TestHTools.hs