summaryrefslogtreecommitdiffstats
path: root/odlsli/src/main/scripts/startODL.sh
AgeCommit message (Collapse)AuthorFilesLines
2018-11-14Store .installed marker in persistent volumeTimoney, Dan (dt5972)1-2/+8
Store .installed marker in persistent volume (/opt/opendaylight/current/daexim) Change-Id: If9bad7fcd8a2412d1db7fb3bbb77d5f81f4b7377 Issue-ID: SDNC-518 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com> (cherry picked from commit 9788155805ded9b76617e6c795c76b53f73426ec)
2018-06-22Improve odlsli startup timeTimoney, Dan (dt5972)1-14/+4
Improved odlsli startup time by moving feature installation to build time, using ansible-opendaylight. Change-Id: I3f846da70e9aa0b8ce818ff83811c1b52aef1436 Issue-ID: CCSDK-285 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
2018-04-13Install host keyTimoney, Dan (dt5972)1-0/+1
Create a new script to install karaf host.key on ODL installation. Also, updated base ODL container to move ODL base distribution directory to /opt/opendaylight/current and create a symlink with the original name. This is done to allow OOM to support an external mount to /opt/opendaylight/current/daexim to preserve backups. Change-Id: I048b7d8002636dcd4ffbdff7242eb40d2a2787da Issue-ID: CCSDK-241 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
2018-03-19Add sleep for stopTimoney, Dan (dt5972)1-4/+6
Stop takes a few seconds, so wait 60 seconds after issuing stop for karaf to finish coming down. Change-Id: Icbde6152e417e60a9e4d138671ddf8ef8decb978 Issue-ID: CCSDK-208 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
2018-03-19Fix ODL restart issueTimoney, Dan (dt5972)1-9/+7
Found root cause of ODL restart issue had to do with order of installation of base ODL features. Fixed startup order and removed workaround in startODL.sh Change-Id: Id4b4f96242b981fba336b9e0a4de0439d2a93115 Issue-ID: CCSDK-208 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
2018-03-13Wait on termination of java processTimoney, Dan (dt5972)1-2/+3
Exec of client didn't work - docker container still dies at end of script. Trying instead to wait on death of java process. Change-Id: I5687ca46b55b13a4918b0be1e2204abf58ca43b2 Issue-ID: CCSDK-208 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
2018-03-13Exec last line of startODL.shTimoney, Dan (dt5972)1-1/+1
Need to exec last line of startODL.sh to get that process to be the one docker waits on Change-Id: Id697cd8f0347970ad3038ba2c576ab28f0e4cbad Issue-ID: CCSDK-208 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
2018-03-12Fix odlsli restart issueTimoney, Dan (dt5972)1-20/+19
Instead of restarting container (which seems to fail), just start karaf client in foreground at end of startODL.sh to cause docker container to stay up as long as karaf is up. Also, remove Carbon container which is no longer needed for ONAP Beijing, and produces false positives in security scan. Change-Id: I8ea49769899cea206f46657bf6a3660d6a8a8d97 Issue-ID: CCSDK-208 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
2018-03-09Resolve timing issue with restartTimoney, Dan (dt5972)1-1/+3
With Nitrogen, it can take some time after stop is issued for karaf container to actually come down. Add a sleep to allow time for stop to complete before execing karaf. Change-Id: Ifb39cb78390bd595791cc96ac148d17d3c9db08c Issue-ID: CCSDK-208 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
2018-02-27Create nitrogen dockersDan Timoney1-7/+7
Updated dockers to install Nitrogen artifacts. Change-Id: I9710346f064fa5fff0d92b5d6de32cc84d9e1b3d Issue-ID: CCSDK-179 Signed-off-by: Dan Timoney <dtimoney@att.com>
2017-08-21Add ODL + SLI containerDan Timoney1-0/+66
Add docker container that starts up OpenDaylight with SLI preinstalled Change-Id: Iffbc21e0437108608fc35fc573d8ef47e413eca8 Issue-ID: CCSDK-27 Signed-off-by: Dan Timoney <dtimoney@att.com>