Hi,

this is the next step in my node groups work. It introduces the
alloc_policy attribute, and allows to specify it at group creation
time, and via the newly-introduced "modify" operation. I've also
added, as agreed with René, ndparams support in these two places.

RAPI is updated, and QA tests included (also some unit tests, and a
fix for a bug in LUQueryGroups I discovered earlier today).

Thanks for the review in advance.

Adeodato Simo (7):
  cmdlib.py: fix sorting of node groups names in LUQueryGroups
  Support specifying default group ndparams at group creation time
  Add modification of node groups (OpCode, LU, and CLI)
  Add the "alloc_policy" attribute to node groups
  Export group modification over RAPI, update ganeti.rapi.client to support it
  Add some unit tests for ConfigWriter.AddNodeGroup()
  More QA tests for group operations

 doc/hooks.rst                  |   10 ++++
 doc/rapi.rst                   |   18 +++++++
 lib/cli.py                     |    5 ++
 lib/client/gnt_group.py        |   45 ++++++++++++++++--
 lib/cmdlib.py                  |   99 +++++++++++++++++++++++++++++++++++++--
 lib/config.py                  |    4 ++
 lib/constants.py               |   10 ++++
 lib/mcpu.py                    |    1 +
 lib/objects.py                 |    4 ++
 lib/opcodes.py                 |   17 ++++++-
 lib/rapi/client.py             |   20 ++++++++-
 lib/rapi/connector.py          |    2 +
 lib/rapi/rlib2.py              |   47 ++++++++++++++++++-
 man/gnt-group.rst              |   43 +++++++++++++++++-
 qa/ganeti-qa.py                |    4 ++
 qa/qa_group.py                 |   30 ++++++++++++
 qa/qa_rapi.py                  |   63 +++++++++++++++++++++++++
 test/ganeti.config_unittest.py |   35 ++++++++++++++
 18 files changed, 442 insertions(+), 15 deletions(-)

-- 
1.7.3.1

Reply via email to