In this version I've fixed several issues leading to qa tests failure.
Python and haskell query modules now are almost consistent with each
other.
Also some python tests related bugs fixed.

Oleg Ponomarev (17):
  Update design document for memory over-commitment
  Eliminate literal constants mentioned twice for policies
  Add new memory-ratio ipolicy
  Update cfgupgrade with memory-ratio ipolicy
  Allow htools moves that leads to memory over-commitment
  Update pMem to deal correctly with memory over-commitment
  Update cfgupgrade test
  Implement hv and disk state parameters in objects
  Implement hv_state parameter in haskell query
  Account hv_state param in Luxi HTools backend
  Update man pages related to memory over-commitment
  Add GetFilledHvStateParams to python config module
  Allow memory over-commitment in cluster verify
  Account hv_state param in IAllocator htools backend
  Account hv_state param in Rapi htools backend
  Add htools tests for memory over-commitment
  Update NEWS related to memory over-commitment

 Makefile.am                                        |   5 +
 NEWS                                               |  26 +
 doc/design-memory-over-commitment.rst              |  45 +-
 doc/rapi.rst                                       |   5 +-
 lib/cli.py                                         |   3 +
 lib/cli_opts.py                                    |   9 +
 lib/client/gnt_cluster.py                          |   3 +
 lib/client/gnt_group.py                            |   5 +-
 lib/cmdlib/cluster/verify.py                       |  25 +-
 lib/config/__init__.py                             |  32 +-
 lib/masterd/iallocator.py                          |   1 +
 lib/objects.py                                     |  10 +
 lib/query.py                                       |  48 +-
 lib/rapi/rlib2.py                                  |   4 +-
 lib/tools/cfgupgrade.py                            |   4 +
 man/ganeti.rst                                     |   4 +-
 man/gnt-cluster.rst                                |   2 +
 man/gnt-group.rst                                  |   2 +
 man/htools.rst                                     |   1 +
 src/Ganeti/Config.hs                               |  32 +
 src/Ganeti/ConstantUtils.hs                        |  23 +
 src/Ganeti/Constants.hs                            |  22 +-
 src/Ganeti/HTools/Backend/IAlloc.hs                |   5 +-
 src/Ganeti/HTools/Backend/Luxi.hs                  |  12 +-
 src/Ganeti/HTools/Backend/Rapi.hs                  |   6 +-
 src/Ganeti/HTools/Backend/Text.hs                  |  12 +-
 src/Ganeti/HTools/Loader.hs                        |  15 +
 src/Ganeti/HTools/Node.hs                          |  48 +-
 src/Ganeti/HTools/Types.hs                         |   4 +
 src/Ganeti/Objects.hs                              |  85 +--
 src/Ganeti/Objects/HvState.hs                      |  60 ++
 src/Ganeti/Query/Group.hs                          |   5 +
 src/Ganeti/Query/Node.hs                           |  13 +-
 src/Ganeti/Query/Server.hs                         |   4 +
 test/data/cluster_config_2.17.json                 | 657 +++++++++++++++++++++
 .../htools/hail-alloc-memory-over-commitment.json  | 204 +++++++
 .../data/htools/hbal-memory-over-commitment-2.data |  13 +
 test/data/htools/hbal-memory-over-commitment.data  |  13 +
 test/hs/Test/Ganeti/HTools/Node.hs                 |   7 +-
 test/hs/Test/Ganeti/HTools/Types.hs                |   2 +
 test/hs/Test/Ganeti/Objects.hs                     |  31 +-
 test/hs/Test/Ganeti/TestCommon.hs                  |   5 +
 test/hs/Test/Ganeti/TestHTools.hs                  |   3 +
 test/hs/shelltests/htools-hail.test                |   5 +
 test/hs/shelltests/htools-hbal.test                |   8 +
 test/py/cfgupgrade_unittest.py                     |  12 +-
 test/py/cmdlib/cluster_unittest.py                 |   8 +-
 test/py/ganeti.masterd.iallocator_unittest.py      |   5 +
 test/py/testutils/config_mock.py                   |   5 +-
 49 files changed, 1411 insertions(+), 147 deletions(-)
 create mode 100644 src/Ganeti/Objects/HvState.hs
 create mode 100644 test/data/cluster_config_2.17.json
 create mode 100644 test/data/htools/hail-alloc-memory-over-commitment.json
 create mode 100644 test/data/htools/hbal-memory-over-commitment-2.data
 create mode 100644 test/data/htools/hbal-memory-over-commitment.data

-- 
2.6.0.rc2.230.g3dd15c0

Reply via email to