summaryrefslogtreecommitdiffstats
path: root/modules/opnfv/deployment/factory.py
AgeCommit message (Collapse)AuthorFilesLines
2018-09-26modules.opnfv: fuel adapter: Switch to MCPAlexandru Avadanii1-1/+1
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>
2018-03-15Add a new adapter for containerized Compass installerYifei Xue1-3/+3
JIRA: - Compass installer has been containerized since OPNFV 5.0. To enable SFC test cases in Functest for Compass installer, a new adapter is needed to be compatible with both containerized Compass installer and SFC test cases. Change-Id: I4e1a9e5fcbec016a0c3fde77ace9c2cc677e3e4c Signed-off-by: Yifei Xue <xueyifei@huawei.com>
2017-12-22Prepare integration of daisy and dovetailAlex Yang1-0/+5
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-10-04Do not use capital letters to refer to osaManuel Buil1-2/+2
As agreed with the releng-xci, we should stop using OSA and start using osa to refer to openstack-ansible Change-Id: I201b360654b9a52a3387c5e473a3e448a900bb9f Signed-off-by: Manuel Buil <mbuil@suse.com>
2017-09-11Add OSA adapter for XCIManuel Buil1-1/+6
Add OSA adapter so that we could benefit from it in functest integration Change-Id: I010a6f2b6c75711d0cc80f8fd130604c41b6d1e6 Signed-off-by: Manuel Buil <mbuil@suse.com>
2017-03-31Compass Adapter to get deployment informationhelenyao1-0/+6
result of example.py for Compass(ODL enabled) can be refered here https://pastebin.com/k3UW9bUJ Change-Id: I56352d71152078a44d706d97c67fb8d69b20ad2d Signed-off-by: helenyao <yaohelan@huawei.com>
2017-02-23[deployment_handler] Fix problem when trying to run ovs-vsctl on Fueljose.lausuch1-1/+2
When creating a Node object, it fetches the ovs version in the init method. This prevents doing this if the node is the installer. Anyways, the information about the installer node is not showed. Error: opnfv.deployment.manager - ERROR - error bash: ovs-vsctl: command not found Example of this output: https://build.opnfv.org/ci/view/functest/job/functest-fuel-baremetal-daily-master/1161/consoleFull Change-Id: I7b5d41af438e18dffa3b1eab2c9279164a4d4fc2 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2017-02-09[deployment handler] Refactor the old installer_handlerjose.lausuch1-0/+44
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>