summaryrefslogtreecommitdiffstats
path: root/modules/opnfv/utils/ssh_utils.py
AgeCommit message (Collapse)AuthorFilesLines
2018-09-26modules.opnfv: fuel adapter: Switch to MCPAlexandru Avadanii1-1/+2
The current codebase was intended for Fuel@OPNFV up to and including the Danube release (based on Fuel@Openstack). Starting with the Euphrates release, Fuel@OPNFV is based on Mirantis Cloud Platform (MCP), so the Fuel adapter in modules.opnfv needs a rework to accomodate the new platform: - remove unused obsolete code in opnfv.utils; - switch to key-based SSH auth instead of password-based; - drop proxy-ing SSH to cluster nodes via installer node, instead SSH directly via PXE/admin network; Notes: - MaaS node (when present) is marked with 'installer' role to prevent ovs-vsctl queries on it; - gtw01 node (when present) is not marked with any role yet; JIRA: FUEL-394 Change-Id: If2b7744b950cd502df8eaca0137c9f845a9d077d Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-12-22Prepare integration of daisy and dovetailAlex Yang1-3/+11
JARA: DAISY-76 1. add daisy adapter in releng utils and modules 2. add daisy adapter in dovetail jjb script 3. support id_dsa as ssh key Change-Id: I15a1c0cfcc17ae1fe6b7020f674b8bbbb72f4a7a Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
2017-03-27Monkey patch paramiko _custom_start_clientGeorge Paraskevopoulos1-0/+20
A quick fix for the Unexpected kw arg in _custom_start_client error. Monkey patches this fix: https://github.com/robotframework/SSHLibrary/pull/159/files Change-Id: Iaca2c3cb402f1f24d096c947bec5cb3e6aaf77d6 Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>
2017-03-23Add timeout in releng.ssh_utilsGeorge Paraskevopoulos1-4/+9
Change-Id: If9c7ba05946b995affd061dea2f531a0642650c2 Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>
2017-02-14Fix flake8 violations in relengjose.lausuch1-4/+4
Change-Id: I45769ff9c9db2de9fbba69117a92de414dd7f651 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2017-02-09[deployment handler] Refactor the old installer_handlerjose.lausuch1-0/+132
This is a util library to interact with the deployment regardless of the installer. Objects: - Deployment - Node - DeploymentHandler - ApexAdapter - FuelAdapter - Factory The installer adapters implement some of the abstract functions of DeploymentHandler class that can't be generalized. Printout of example.py: http://pastebin.com/raw/SF3A1fee More info: JIRA: RELENG-149 Change-Id: I5c9e94459d5be0bfad6ffac29908a8cfc7ba919c Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>