diff options
author | George Paraskevopoulos <geopar@intracom-telecom.com> | 2016-10-21 10:22:13 +0300 |
---|---|---|
committer | George Paraskevopoulos <geopar@intracom-telecom.com> | 2016-10-21 09:04:10 +0000 |
commit | 059bda7a9df1bc9e605963866576c8ceca058128 (patch) | |
tree | d3fe0341b088feacd276f3c7262399e2c4e7c379 /utils/installer-adapter/ApexAdapter.py | |
parent | a26858a97ee50374b406cdbaadad1284ae4b6185 (diff) |
Refactor SSHUtils
- Add utility functions to get and put remote files
- Add JumpHostHopClient class that creates an ssh connection to a remote
server through a jumphost. This class inherits from paramiko SSHClient
and provides all the methods SSHClient provides
- Add get_ssh_connection utility function that creates an ssh client
object.
Change-Id: Ic5e56f53781a861e991ae02864eb2e06dacaee1f
Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>
Diffstat (limited to 'utils/installer-adapter/ApexAdapter.py')
-rw-r--r-- | utils/installer-adapter/ApexAdapter.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/utils/installer-adapter/ApexAdapter.py b/utils/installer-adapter/ApexAdapter.py index bf451f3d2..17a27b10a 100644 --- a/utils/installer-adapter/ApexAdapter.py +++ b/utils/installer-adapter/ApexAdapter.py @@ -8,9 +8,6 @@ ############################################################################## -from SSHUtils import SSH_Connection - - class ApexAdapter: def __init__(self, installer_ip): @@ -32,4 +29,4 @@ class ApexAdapter: pass def get_file_from_controller(self, origin, target, ip=None, options=None): - pass
\ No newline at end of file + pass |