Skip to content

Commit 6ebca20

Browse files
authored
Merge pull request #64 from grycap/devel
Prepare release version 1.5.8
2 parents 9805d7b + a1d224f commit 6ebca20

File tree

4 files changed

+14
-2
lines changed

4 files changed

+14
-2
lines changed

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,14 @@ im_client.py [-u|--xmlrpc-url <url>] [-r|--restapi-url <url>] [-v|--verify-ssl]
311311

312312
``sshvm <infId> <vmId> [show_only]``
313313
Connect with SSH with the specified virtual machine ``vmId`` associated to the infrastructure with ID
314-
infrastructure with ID ``infId``.
314+
infrastructure with ID ``infId``. In case that the specified VM does not have public IP the client
315+
will try to connect using the virtual machine with ID ``0`` as SSH proxy.
316+
The ``show_only`` parameter is optional
317+
and is a flag to specify if ssh command will only be shown in stdout instead of executed.
318+
319+
``ssh <infId> [show_only]``
320+
Connect with SSH with the virtual machine with ID ``0`` associated to the infrastructure with ID
321+
infrastructure with ID ``infId``.
315322
The ``show_only`` parameter is optional
316323
and is a flag to specify if ssh command will only be shown in stdout instead of executed.
317324

changelog

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,3 +97,7 @@ IM-client 1.5.7
9797
* Add support for ProxyCommand ssh.
9898
* Add force option to delete operation.
9999

100+
IM-client 1.5.8
101+
* Fix error where context flag ignored in add and remove resource in case of REST APA.
102+
* Add Bearer token command.
103+
* Add support for ProxyCommand ssh to internal VMs using master VM as proxy.

im_client.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1139,6 +1139,7 @@ def get_parser():
11391139
parser.add_operation_help('stopvm', '<inf_id> <vm_id>')
11401140
parser.add_operation_help('rebootvm', '<inf_id> <vm_id>')
11411141
parser.add_operation_help('sshvm', '<inf_id> <vm_id> [show_only]')
1142+
parser.add_operation_help('ssh', '<inf_id> [show_only]')
11421143
parser.add_operation_help('export', '<inf_id> [delete]')
11431144
parser.add_operation_help('import', '<json_file>')
11441145
parser.add_operation_help('getoutputs', '<inf_id>')

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
from setuptools import setup
2020

21-
version = "1.5.7"
21+
version = "1.5.8"
2222

2323
setup(name="IM-client", version=version,
2424
author='GRyCAP - Universitat Politecnica de Valencia',

0 commit comments

Comments
 (0)