Introduce verbose opcode result for console
With this patch OpConnectConsole will no longer just return a command with arguments, but rather a detailed description about how to connect to an instance's console. Unittests for some parts are included. Another patch will follow to adjust the hypervisor abstractions for the new model. Signed-off-by:Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com> Reviewed-by:
René Nussbaumer <rn@google.com>
Showing
- Makefile.am 1 addition, 0 deletionsMakefile.am
- lib/client/gnt_instance.py 61 additions, 7 deletionslib/client/gnt_instance.py
- lib/cmdlib.py 9 additions, 2 deletionslib/cmdlib.py
- lib/constants.py 12 additions, 0 deletionslib/constants.py
- lib/objects.py 34 additions, 0 deletionslib/objects.py
- test/ganeti.client.gnt_instance_unittest.py 123 additions, 0 deletionstest/ganeti.client.gnt_instance_unittest.py
Loading
Please register or sign in to comment