summaryrefslogtreecommitdiffstats
path: root/utils/installer-adapter/CompassAdapter.py
diff options
context:
space:
mode:
authorGeorge Paraskevopoulos <geopar@intracom-telecom.com>2016-10-21 10:22:13 +0300
committerGeorge Paraskevopoulos <geopar@intracom-telecom.com>2016-10-21 09:04:10 +0000
commit059bda7a9df1bc9e605963866576c8ceca058128 (patch)
treed3fe0341b088feacd276f3c7262399e2c4e7c379 /utils/installer-adapter/CompassAdapter.py
parenta26858a97ee50374b406cdbaadad1284ae4b6185 (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/CompassAdapter.py')
-rw-r--r--utils/installer-adapter/CompassAdapter.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/utils/installer-adapter/CompassAdapter.py b/utils/installer-adapter/CompassAdapter.py
index b40a8d788..47cbc646d 100644
--- a/utils/installer-adapter/CompassAdapter.py
+++ b/utils/installer-adapter/CompassAdapter.py
@@ -8,9 +8,6 @@
##############################################################################
-from SSHUtils import SSH_Connection
-
-
class CompassAdapter:
def __init__(self, installer_ip):
@@ -32,4 +29,4 @@ class CompassAdapter:
pass
def get_file_from_controller(self, origin, target, ip=None, options=None):
- pass \ No newline at end of file
+ pass