Status change reason support for Reboot
Add support to the Reboot command for specifying the reason for the last status change. Some features are implemented as functions, even if used only once, because they will be used by the future patches introducing reason support for all the others commands able to alter the state of instances. Signed-off-by:Michele Tartara <mtartara@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
Showing
- lib/backend.py 5 additions, 2 deletionslib/backend.py
- lib/client/gnt_instance.py 2 additions, 1 deletionlib/client/gnt_instance.py
- lib/cmdlib.py 3 additions, 1 deletionlib/cmdlib.py
- lib/constants.py 3 additions, 0 deletionslib/constants.py
- lib/opcodes.py 9 additions, 0 deletionslib/opcodes.py
- lib/rapi/client.py 5 additions, 2 deletionslib/rapi/client.py
- lib/rapi/rlib2.py 5 additions, 0 deletionslib/rapi/rlib2.py
- lib/rpc_defs.py 1 addition, 0 deletionslib/rpc_defs.py
- lib/server/noded.py 21 additions, 1 deletionlib/server/noded.py
- src/Ganeti/OpCodes.hs 1 addition, 0 deletionssrc/Ganeti/OpCodes.hs
- test/hs/Test/Ganeti/OpCodes.hs 5 additions, 1 deletiontest/hs/Test/Ganeti/OpCodes.hs
- test/py/ganeti.rapi.client_unittest.py 14 additions, 0 deletionstest/py/ganeti.rapi.client_unittest.py
- test/py/ganeti.rapi.rlib2_unittest.py 5 additions, 0 deletionstest/py/ganeti.rapi.rlib2_unittest.py
Loading
Please register or sign in to comment