This patch series completes the network split query and enables it in
cli and RAPI.

Furthermore, it contains other query cleanups and a tool to check for
differences.

Passes tests/doclint and QA (well, except that QA is still broken w.r.t.
diskless instances).

Iustin Pop (13):
  Fix network query field types/names in the Haskell code
  Introduce better item getter helper in query.py
  Fix gnt-backup list -o node via confd
  Make gnt-node list -o(p|s)inst_list output stable
  Sort instance list in gnt-group list -opinst_list
  Change node disk/hv_state query in confd
  A few style fixes in Ganeti.Network
  Expand TestHelper to allow non-underscore prefixes
  Change to CamelCase format in Test/Ganeti/Objects.hs
  Add simple Ip4Address/Ip4Network types
  Add missing external_reservations query field in confd
  Enable split queries for the network
  Add a simple tool for checking split-query equivalence

 devel/check-split-query           | 70 ++++++++++++++++++++++++++++++++++
 lib/client/gnt_network.py         |  8 ++--
 lib/query.py                      | 21 ++++++++++-
 lib/rapi/rlib2.py                 |  6 +--
 src/Ganeti/Network.hs             |  8 ++--
 src/Ganeti/Objects.hs             | 79 +++++++++++++++++++++++++++++++++++++--
 src/Ganeti/Query/Export.hs        |  2 +-
 src/Ganeti/Query/Group.hs         |  3 +-
 src/Ganeti/Query/Network.hs       | 48 +++++++++++++++++++-----
 src/Ganeti/Query/Node.hs          |  9 +++--
 test/hs/Test/Ganeti/Objects.hs    | 59 ++++++++++++++++++++++-------
 test/hs/Test/Ganeti/TestCommon.hs |  3 +-
 test/hs/Test/Ganeti/TestHelper.hs |  8 +++-
 test/py/ganeti.query_unittest.py  |  4 +-
 14 files changed, 281 insertions(+), 47 deletions(-)
 create mode 100755 devel/check-split-query

-- 
1.8.1.3

Reply via email to