Hi,

these are the changes for changing the group of a node. As discussed
in
http://groups.google.com/group/ganeti-devel/browse_thread/thread/575eba7822ffb6da/,
this is done via `gnt-group assign-nodes`, and multiple nodes can be
assigned at the same time; verification of split instances is done at
assign time, overridable with --force.

QA tests are missing, and exposing over RAPI too. Since I would like
to get this submitted early this week, I'm sending already so that the
bulk of the review and my last work on those two patches can happen in
paralell.

Thanks!

Adeodato Simo (4):
  Add OpAssignNodes and LUAssignNodes
  Add unit tests for CheckAssignmentForSplitInstances
  Add `gnt-group assign-nodes` in the CLI
  Cluster verify warns if there are split instances

 lib/client/gnt_group.py        |   21 ++++++
 lib/cmdlib.py                  |  143 ++++++++++++++++++++++++++++++++++++++++
 lib/mcpu.py                    |    1 +
 lib/opcodes.py                 |   11 +++
 man/gnt-group.rst              |    2 +-
 test/ganeti.cmdlib_unittest.py |   50 ++++++++++++++
 6 files changed, 227 insertions(+), 1 deletions(-)

-- 
1.7.3.1

Reply via email to