diff options
author | Timoney, Dan (dt5972) <dt5972@att.com> | 2018-03-19 19:25:44 -0400 |
---|---|---|
committer | Timoney, Dan (dt5972) <dt5972@att.com> | 2018-03-19 19:35:11 -0400 |
commit | 14f31ea385240cc82ed06ae8e6ea3a01166066af (patch) | |
tree | 4648a929cfbe5efe6d1973dd2596bcc97b041f18 /odlsli/src/main | |
parent | 329beee90ede1bea60031dbf9be56dce5faa4f62 (diff) |
Add sleep for stop
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>
Diffstat (limited to 'odlsli/src/main')
-rw-r--r-- | odlsli/src/main/scripts/startODL.sh | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/odlsli/src/main/scripts/startODL.sh b/odlsli/src/main/scripts/startODL.sh index 568e179a..ad5c8bc6 100644 --- a/odlsli/src/main/scripts/startODL.sh +++ b/odlsli/src/main/scripts/startODL.sh @@ -47,9 +47,9 @@ then echo "Installing SDN-C database" ${CCSDK_HOME}/bin/installSdncDb.sh echo "Starting OpenDaylight" - ${ODL_HOME}/bin/start - echo "Waiting ${SLEEP_TIME} seconds for OpenDaylight to initialize" - sleep ${SLEEP_TIME} + ${ODL_HOME}/bin/start + echo "Waiting ${SLEEP_TIME} seconds for OpenDaylight to initialize" + sleep ${SLEEP_TIME} echo "Installing SDN-C platform features" ${CCSDK_HOME}/bin/installFeatures.sh if [ -x ${CCSDK_HOME}/svclogic/bin/install.sh ] @@ -59,7 +59,9 @@ then fi echo "Restarting OpenDaylight" - ${ODL_HOME}/bin/stop + ${ODL_HOME}/bin/stop + echo "Waiting 60 seconds for OpenDaylight stop to complete" + sleep 60 echo "Installed at `date`" > ${CCSDK_HOME}/.installed fi |