This is the first set of patches to implement network queries in Haskell. It contains extensions of our objects to match the python structures, additional helper functions when processing query results and the actual implementation of the querying of a first set of fields.
Things left to do: implement all the fields, extend QA, write tests Helga Velroyen (4): Extend config by networks and networks by UUIDs Convert Maybe results to RSUnavail First part of Network Queries in Haskell List networks: call client explicitely Makefile.am | 1 + lib/client/gnt_network.py | 4 ++- src/Ganeti/Config.hs | 45 ++++++++++++++++++++++++++ src/Ganeti/Objects.hs | 5 +++ src/Ganeti/Query/Common.hs | 11 ++++++- src/Ganeti/Query/Language.hs | 1 + src/Ganeti/Query/Network.hs | 72 ++++++++++++++++++++++++++++++++++++++++++ src/Ganeti/Query/Query.hs | 18 ++++++++++- test/hs/Test/Ganeti/Objects.hs | 7 ++-- 9 files changed, 159 insertions(+), 5 deletions(-) create mode 100644 src/Ganeti/Query/Network.hs -- 1.8.1
