diff options
author | jose.lausuch <jose.lausuch@ericsson.com> | 2016-11-17 11:35:39 +0100 |
---|---|---|
committer | jose.lausuch <jose.lausuch@ericsson.com> | 2016-11-17 14:06:09 +0100 |
commit | fdf8cd017eb17a1cf9eaeff7018cbb69e838b891 (patch) | |
tree | 9aa9d9784a090df52e06913a8e7e5600190788b2 /opnfv/utils/SSHUtils.py | |
parent | 9de1ded9cf18dfce75d1a85c54242c74e3133fcd (diff) |
Transform fetch_os_creds.sh into python Class
JIRA: RELENG-168
Change-Id: Id5b1fca430c37917b554a54dd0678d9d7497dc11
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
Diffstat (limited to 'opnfv/utils/SSHUtils.py')
-rw-r--r-- | opnfv/utils/SSHUtils.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/opnfv/utils/SSHUtils.py b/opnfv/utils/SSHUtils.py index 2f48add..6c794c2 100644 --- a/opnfv/utils/SSHUtils.py +++ b/opnfv/utils/SSHUtils.py @@ -10,7 +10,7 @@ import paramiko -import opnfv.modules.utils.OPNFVLogger as OPNFVLogger +import opnfv.utils.OPNFVLogger as OPNFVLogger import os logger = OPNFVLogger.Logger('SSHUtils').getLogger() @@ -68,7 +68,7 @@ class JumpHostHopClient(paramiko.SSHClient): ''' def __init__(self, *args, **kwargs): - self.logger = rl.Logger("JumpHostHopClient").getLogger() + self.logger = OPNFVLogger.Logger("JumpHostHopClient").getLogger() self.jumphost_ssh = None self.jumphost_transport = None self.jumphost_channel = None |