summaryrefslogtreecommitdiffstats
path: root/utils
AgeCommit message (Collapse)AuthorFilesLines
2015-09-16Merge "fix POD id type in API"Fatih Degirmenci1-1/+1
2015-09-16fix POD id type in APIMorgan Richomme1-1/+1
the pod_id are defined as int but the APi sent a string, then the API was not working well when filtering on pod_id we may discuss if a string description would not be more explicit than an id JIRA: RELENG-7 Change-Id: Ib53263f379047bc4214926f966e40e797e42314e Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2015-09-10Add document generation job for dovetail projectAric Gardner1-0/+109
Moved docu-build-new.sh to utils. hoping I can include it from here to avoid duplication Change-Id: I80359036c954e70268b1a3e63c9b0855551be710 Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
2015-09-08Bugfix: corrected fetch credentials for foreman installerjose.lausuch1-2/+3
JIRA: FUNCTEST-43 Change-Id: Id820ef2b2cd248dbc7baa6887312ae90a301a8a2 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-09-07Add external config support to result_collection_apiGuy Rodrigue Koffi4-20/+104
JIRA : RELENG-7 Change-Id: I2b68aac3e903b237f500bad91e3625aaf57bfdaf Signed-off-by: Guy Rodrigue Koffi <koffirodrigue@gmail.com>
2015-09-02Fix minor bugs for result_collection_apigrkoffi4-29/+36
JIRA : RELENG-7 Change-Id: Id3cda0a0a73fcf1d05de751a7f48bbae2145fbf4 Signed-off-by: Guy Rodrigue Koffi <koffirodrigue@gmail.com>
2015-08-27Revert "source creds retrieved dynamically by the script"Morgan Richomme1-1/+0
This reverts commit d72b560c1fa16780f1760c243d05fcb669e515c0.
2015-08-27source creds retrieved dynamically by the scriptMorgan Richomme1-0/+1
so far we just cat them and source them in the functest part. It is better to keep all the creds related action in the fetch creds scripts JIRA: FUNCTEST-42 Change-Id: I4c422237398baf13a1af73232a74bd36f82faca7 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2015-08-25Update result_collection_apigrkoffi7-0/+863
Fix lines length regarding pep8. Add new handlers for cases and results and HTTP methods to projects. JIRA : RELENG-7 Change-Id: Idc7c0868384d29f28bccc78540edfb02ae1dfbaf Signed-off-by: grkoffi <koffirodrigue@gmail.com>
2015-08-18Reboot servers if they are in power-off statePeter Bandzi1-1/+14
Also sleep value increased to 10. We don't need so many cycles. JIRA: OCTO-109 Change-Id: Ia956c77328bc12943e4bd0c4a0d4979ff500c2a2 Signed-off-by: Peter Bandzi <pbandzi@cisco.com>
2015-08-14Add exit code 1 when script failsPeter Bandzi1-0/+2
JIRA: OCTO-109 Change-Id: Id0cc879514ae55f448658968b49a6219f47f03e1 Signed-off-by: Peter Bandzi <pbandzi@cisco.com>
2015-08-14add an option "compass" in fetch_os_creds.shm001331421-0/+27
JIRA: COMPASS-9 Change-Id: I8df14c81eb4ef02b6a02e01f2d0f57acbb6c102b Signed-off-by: m00133142 <meimei@huawei.com>
2015-08-04Adding boot-policy reconfigurationPeter Bandzi3-76/+106
JIRA: OCTO-109 Change-Id: I430ee78b0749775ac437358c1bc2dfd3c6e55f71 Signed-off-by: Peter Bandzi <pbandzi@cisco.com>
2015-07-24Add acknowledgment of reboot if neededPeter Bandzi3-6/+83
add MAC list which is used for NICs JIRA: OCTO-109 Change-Id: I803c3dd4ff7a860efdbae0954502c1e5a833dd9a Signed-off-by: Peter Bandzi <pbandzi@cisco.com>
2015-07-23Fixes python version to be 2.7 for lab-reconfig scriptsTim Rozet1-3/+8
JIRA: OCTO-109 Change-Id: I87535d0f786a90776a0fc0e1f3964f110a7a74a6 Signed-off-by: Tim Rozet <trozet@redhat.com>
2015-07-22Script for reconfiguring UCS networkPeter Bandzi5-0/+239
Script will reconfigure POD-2 network for foreman or fuel Networ is specified in yaml file. Template must be created on UCS. JIRA: OCTO-109 Change-Id: I375a387c7607eb5dea126812569d8e19fda0c5c0 Signed-off-by: Peter Bandzi <pbandzi@cisco.com>
2015-06-30Get vars from env for fetch_os_creds.shFatih Degirmenci1-1/+5
The vars needed by script is set from env if they're available. Default destination is set to $HOME/opnfv-openrc.sh JIRA: FUNCTEST-16 Change-Id: I92e4498d342f784f9ffdea7a87546b4fbacc09f7 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2015-06-30fetch_os_creds.sh : small correction for Fuel to grab the public API correctlyjose.lausuch1-2/+2
JIRA: FUNCTEST-16 Change-Id: I6a8d1ff2a58c599cd84426d580024bd962fae51f Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-06-29Added script to fetch the OpenStack credentials file for Fuel and Foremanjose.lausuch1-0/+139
JIRA: FUNCTEST-16 Example FUEL: ./fetch_os_creds.sh -d $HOME/creds -i fuel -a 10.20.0.2 Example Foreman: ./fetch_os_creds.sh -d $HOME/creds -i foreman -a 172.30.10.73 Change-Id: I4bddfad43f6200572615da66915822b3dc2f3957 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>