After many preparatory changes to the import/export mechanism and RAPI client,
we finally have all pieces in place to implement inter-cluster instance moves.
This patch series implements the final changes needed in opcodes and RAPI, and
then adds a tool to move instances between clusters.

Michael Hanselmann (5):
  Add opcode to prepare export
  Implement opcode changes for remote-export
  Implement opcode changes for remote-import
  RAPI changes for instance moves
  Add tool to move instances between clusters

 Makefile.am                         |    2 +
 doc/index.rst                       |    1 +
 doc/move-instance.rst               |   97 ++++
 doc/rapi.rst                        |   47 ++
 lib/cmdlib.py                       |  283 +++++++++++-
 lib/constants.py                    |   24 +
 lib/masterd/instance.py             |  236 ++++++++++
 lib/mcpu.py                         |    1 +
 lib/opcodes.py                      |   48 ++-
 lib/rapi/client.py                  |   50 ++
 lib/rapi/connector.py               |    4 +
 lib/rapi/rlib2.py                   |   69 +++
 qa/qa_rapi.py                       |   15 +-
 test/ganeti.rapi.client_unittest.py |   20 +
 test/ganeti.rapi.rlib2_unittest.py  |   44 ++
 tools/move-instance                 |  867 +++++++++++++++++++++++++++++++++++
 16 files changed, 1784 insertions(+), 24 deletions(-)
 create mode 100644 doc/move-instance.rst
 create mode 100755 tools/move-instance

Reply via email to