summaryrefslogtreecommitdiffstats
path: root/odl-pipeline/lib/odl_reinstaller/odl_reinstaller.py
AgeCommit message (Collapse)AuthorFilesLines
2018-10-15Add flake8 and yamllint tox environments and fix tox errorsStamatis Katsaounis1-0/+1
JIRA: SDNVPN-231 This patch adds flake8 and yamllint tox environments. Furthermore, it fixes tox errors and applies general tox improvements. Change-Id: Id180695ef034562efb236932e6f783b0e91157c2 Signed-off-by: Stamatis Katsaounis <mokats@intracom-telecom.com>
2018-07-25Change ODL check url to be diagstatusTim Rozet1-5/+3
With OOO the password is no longer hardcoded to 'admin' and is dynamically generated a run time. This causes this curl check to fail. Instead, use the diagstatus URL which is new in ODL and provides a more accurate way (without authentication) to check if ODL is ready. Change-Id: I7eb034cd3f20c5f5daa52a1e9b2d8e2a52118f6e Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-06-26Adds support for docker based opendaylightTim Rozet1-8/+51
Previously we used ODL as a systemd service. However in newer OOO it is ran as a docker container. For reinstalling ODL in this case we determined that the best way is to not mess with docker and simply shut it down, and use the systemd for the CSIT verification. This patch stops the docker container, then copies a systemd service file (since RPM may never have been installed), and then allows ODL reinstall to proceed as usual. Change-Id: Ib0996ed5494f1ef37bcc232f087f563c99db62fc Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-05-04Stop and start quagga when reinstallingNikolas Hermanns1-2/+20
Change-Id: Iba9a5980de0cbdf9c04bdd4dad704c12abb55048 Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
2017-04-04Removing groups from ovs and deleting odl folderNikolas Hermanns1-2/+5
Change-Id: If9ceadfb363c37084f4cf907d7c7945061952ba1 Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
2017-03-31Fix permission when installingNikolas Hermanns1-1/+2
Change-Id: I8f5546bddbf634fa05337caa7c4d48a3f4f1db6b Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
2017-03-31If not ODL is installed install it on first controllerNikolas Hermanns1-0/+6
Change-Id: I0fa5f3e6141a92b99c446569dae8b8db631176ec Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
2017-03-28Add possibility to install rpmsNikolas Hermanns1-9/+15
Change-Id: I1e5950e3331e76d71aca748f962ba2c5c3ea7541 Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
2017-02-12Add and update license headersjose.lausuch1-0/+11
Change-Id: I8ccb23c9ffa0d511427ad089b033973ffe96360f Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2017-01-30Updates ODL Pipeline scripts for CSITTim Rozet1-48/+160
Changes Include: - Change to TripleOInspector which only introspect a current Apex deployment and dump yaml config to be bundled with snapshots. - Add TripleOHelper which consists of all tripleO helper functions. Many this are done to virsh so the idea is to have at. Some point in time a libvirtHelper, or use another libvirt python lib. Thatsway it is a class so that we can inherit later on. - New argument for passing the SSH private key to use to connect to nodes is added to the service utils. - Some general clean up and consolidation of logic JIRA: APEX-363 Change-Id: I792db0fac3f4e81969fe85c05fc298fe5af02537 Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-12-13small bugfixes for odl_reinstallerNikolas Hermanns1-1/+2
Change-Id: Ie4d7c4811869a765da22444d80ca5f2133fe2c0f Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
2016-12-13adding common/configNikolas Hermanns1-9/+9
Change-Id: I2d96e6efa628f066e165a8e37d2604eb8f0634bd Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
2016-12-13adding odl-pipelineNiko Hermanns1-0/+86
Change-Id: I1c08883f0d68a61ce9e10c5596aec1a259eed71f Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>