From 77680bfe17a07e0db208ef25d663ca25d13adabf Mon Sep 17 00:00:00 2001 From: micafer Date: Thu, 17 Jan 2019 11:48:13 +0100 Subject: [PATCH 1/2] Add rebootvm op in help --- im_client.py | 1 + 1 file changed, 1 insertion(+) diff --git a/im_client.py b/im_client.py index 9329a18..480b890 100755 --- a/im_client.py +++ b/im_client.py @@ -960,6 +960,7 @@ def get_parser(): parser.add_operation_help('reconfigure', ' [] [vm_list]') parser.add_operation_help('startvm', ' ') parser.add_operation_help('stopvm', ' ') + parser.add_operation_help('rebootvm', ' ') parser.add_operation_help('sshvm', ' [show_only]') parser.add_operation_help('export', ' [delete]') parser.add_operation_help('import', '') From fda7948e93e10cb36505d47588fd4c01303fac12 Mon Sep 17 00:00:00 2001 From: micafer Date: Thu, 17 Jan 2019 12:51:28 +0100 Subject: [PATCH 2/2] Update README --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 8fbcced..32ab5d5 100644 --- a/README.md +++ b/README.md @@ -293,6 +293,10 @@ The :program:`im_client` is called like this: Stop (but not remove) the specified virtual machine ``vmId`` associated to the infrastructure with ID infrastructure with ID ``infId``. + ``rebootvm `` + Reboot the specified virtual machine ``vmId`` associated to the infrastructure with ID + infrastructure with ID ``infId``. + ``sshvm [show_only]`` Connect with SSH with the specified virtual machine ``vmId`` associated to the infrastructure with ID infrastructure with ID ``infId``.