This patch set is the first implementation of the support for tracking the
reason of state changes of instances.
It inclused some infrastructural modifications, and the actual use on the first
command, Reboot.

Michele Tartara (4):
  Infrastructure for specifying instance status change reason
  Add function for creating arbitrary non-empty ASCII strings
  Fix wrong type in a docstring of the RAPI subsystem
  Status change reason support for Reboot

 lib/backend.py                         |   53 ++++++++++++++++++++++++++++++--
 lib/cli.py                             |    5 +++
 lib/client/gnt_instance.py             |    7 +++--
 lib/cmdlib.py                          |    6 +++-
 lib/constants.py                       |    9 ++++++
 lib/opcodes.py                         |    4 +++
 lib/pathutils.py                       |   16 ++++++++++
 lib/rapi/baserlib.py                   |    2 +-
 lib/rapi/client.py                     |   17 ++++++++--
 lib/rapi/rlib2.py                      |    2 ++
 lib/rpc_defs.py                        |    2 ++
 lib/server/noded.py                    |   18 ++++++++++-
 lib/tools/ensure_dirs.py               |    2 ++
 src/Ganeti/OpCodes.hs                  |    2 ++
 src/Ganeti/OpParams.hs                 |   10 ++++++
 src/Ganeti/Types.hs                    |   10 ++++++
 test/hs/Test/Ganeti/OpCodes.hs         |    8 ++++-
 test/hs/Test/Ganeti/TestCommon.hs      |    8 +++++
 test/py/ganeti.rapi.client_unittest.py |    4 ++-
 test/py/ganeti.rapi.rlib2_unittest.py  |    3 ++
 20 files changed, 177 insertions(+), 11 deletions(-)

--
1.7.10.4

Reply via email to