summaryrefslogtreecommitdiffstats
path: root/modules/opnfv/deployment
AgeCommit message (Collapse)AuthorFilesLines
2017-09-11Add OSA adapter for XCIManuel Buil3-1/+82
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-04-11Bugfix: Convert the string list to listhelenyao1-2/+4
Compass information failed to be printed as the roles were string list Change-Id: I38037dae099862a040b817b690d451951e0bb23b Signed-off-by: helenyao <yaohelan@huawei.com>
2017-03-31Compass Adapter to get deployment informationhelenyao5-1/+213
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-03-01[deployment_handler] Fix apt-cache to get installed versionCiprian Barbu1-1/+1
In case multiple versions of a package exist on the repo, the old method using apt-cache show opendaylight returned everything available rather than what was actually installed. Using apt-cache policy opendaylight is more appropriate. Change-Id: I8068c18ab25ca532988f24277fd48a4c42647891 Signed-off-by: Ciprian Barbu <ciprian.barbu@enea.com>
2017-02-23[deployment_handler] Fix problem when trying to run ovs-vsctl on Fueljose.lausuch2-3/+5
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-21[deployment_handler] Add get_arch functionjose.lausuch1-0/+12
This function will be used by ARM project to detect the architecture of the compute nodes. Example: http://paste.openstack.org/raw/599722/ Change-Id: Ic76f291468998d3a3d9e7df507a146da44f2f7f9 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2017-02-21Merge "[deployment_handler] Fix some nits and improve output"Jose Lausuch2-11/+27
2017-02-21[deployment_handler] Opendaylight node checktomsou1-6/+8
- Enhance functionality of manager.py to check if a node is opendaylight - Update is_compute and is_controller methods, using the Role Class attributes Change-Id: Icf1d83b289bf6e87f83b0e1b5bdd2f9da436cde5 Signed-off-by: tomsou <soth@intracom-telecom.com>
2017-02-17[deployment_handler] Fix some nits and improve outputjose.lausuch2-11/+27
Change-Id: I283564c2f9a651b6c6fd6ec8986a6c1d98a58b2c Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2017-02-17Merge "[deployment_handler] Add memory and cpu info to the nodes"Jose Lausuch1-22/+58
2017-02-16[deployment_handler] Add memory and cpu info to the nodesjose.lausuch1-22/+58
output: http://pastebin.com/raw/KtuvGPs1 Change-Id: Ie4eb33b041e9ac0ac992a615a29dd7aeab7d857f Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2017-02-16[deployment_handler] Fix getting roles from fuel node outputRomanos Skiadas1-1/+1
The roles column that the fuel adapter should look in is "roles" but it accidentally ended up looking in "pending_roles". Change-Id: Ifcc59c16da2c604e60ca4d6e3ab33b5b91a029b6 Signed-off-by: Romanos Skiadas <rski@intracom-telecom.com>
2017-02-15Bug fix: We are comparing an integer with a string“Manuel Buil”1-1/+1
The config file in SFC using this library was providing an integer whereas FUEL was providing a string. e.g. we were comparing 5 with '5' and thus the return was false Change-Id: I04c27403d479c45acd102a3dde848ba5b2427a10 Signed-off-by: “Manuel Buil” <mbuil@suse.com>
2017-02-14[deployment_handler] Re-write node default string printoutjose.lausuch1-2/+15
example output: http://pastebin.com/raw/dm3SEA43 Change-Id: I06b4e08897e8303dd938749636e00ae193e91dca Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2017-02-14[deployment_handler] Add OVS version infojose.lausuch1-2/+9
Change-Id: I485f969dff29a2d1757ce56c62dda294f44341e2 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2017-02-14[deployment handler] Add Roles and Status classesjose.lausuch3-30/+57
By doing this, we can handle roles and status as a list in the node object. Output: http://pastebin.com/raw/PAMrWRJi Change-Id: I0e3c7f375b19548a7e424e3257b84424c8fe4725 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2017-02-14[deployment handler] Add support for Clusters in Fueljose.lausuch4-86/+113
Fix minor apex issues. Output of example.py http://pastebin.com/raw/x70Uj85V Change-Id: I6013f5c4d916126f79afd40a6d6a35278c8ed26f Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2017-02-14Fix flake8 violations in relengjose.lausuch2-2/+2
Change-Id: I45769ff9c9db2de9fbba69117a92de414dd7f651 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2017-02-09[deployment handler] Refactor the old installer_handlerjose.lausuch8-0/+624
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>