2 # Ericsson Research Canada
4 # Author: Daniel Smith <daniel.smith@ericsson.com>
6 # Start up script for calling karaf / ODL inside a docker container.
8 # This script will also call a couple expect scripts to load the feature set that we want
12 export JAVA_HOME=/usr/lib/jvm/java-7-openjdk-amd64
15 echo "Starting up the da Sheilds..."
16 /opt/odl/distribution-karaf-0.2.3-Helium-SR3/bin/karaf server &
17 echo "Sleeping 5 bad hack"
19 echo "should see stuff listening now"
21 echo " should see proess running for karaf"
23 echo " Starting the packages we want"
25 echo "Printout the status - if its right, you should see 8181 appear now"
31 ## This is a loop that keeps our container going currently, prinout the "status of karaf" to the docker logs every minute
32 ## Cheap - but effective
35 echo "Checking status of ODL:"
36 /opt/odl/distribution-karaf-0.2.3-Helium-SR3/bin/status