summaryrefslogtreecommitdiffstats
path: root/framework/src/onos/apps/demo/cord-gui/src/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'framework/src/onos/apps/demo/cord-gui/src/scripts')
-rw-r--r--framework/src/onos/apps/demo/cord-gui/src/scripts/pullwar.sh1
-rw-r--r--framework/src/onos/apps/demo/cord-gui/src/scripts/run.me39
-rw-r--r--framework/src/onos/apps/demo/cord-gui/src/scripts/stop.me18
3 files changed, 0 insertions, 58 deletions
diff --git a/framework/src/onos/apps/demo/cord-gui/src/scripts/pullwar.sh b/framework/src/onos/apps/demo/cord-gui/src/scripts/pullwar.sh
deleted file mode 100644
index 3e764314..00000000
--- a/framework/src/onos/apps/demo/cord-gui/src/scripts/pullwar.sh
+++ /dev/null
@@ -1 +0,0 @@
-cp $ONOS_ROOT/apps/demo/cord-gui/target/cord-gui-1.4.0-rc1.war .
diff --git a/framework/src/onos/apps/demo/cord-gui/src/scripts/run.me b/framework/src/onos/apps/demo/cord-gui/src/scripts/run.me
deleted file mode 100644
index ef18d13c..00000000
--- a/framework/src/onos/apps/demo/cord-gui/src/scripts/run.me
+++ /dev/null
@@ -1,39 +0,0 @@
-#######------------------------------------------------------------
-# CORD Demo
-# =========
-
-export LISTENPORT=8080
-export JETTY="-jar jetty-runner.jar"
-export CORD=./cord-gui-1.4.0-rc1.war
-export LOGDBG=-Dorg.onosproject.cord.gui.LEVEL=DEBUG
-export DEBUG="-Xdebug -Xrunjdwp:transport=dt_socket,address=5005,server=y,suspend=n"
-export LOG=cord.log
-
-DBG=""
-if [ "$1" = "debug" ]
-then
- shift
- DBG=$DEBUG
-fi
-
-IP="$1"
-PORT="$2"
-
-if [ ! -z "$IP" ]
-then
- PARAM1="-Dheadnodeip=$IP"
-else
- PARAM1=""
-fi
-
-if [ ! -z "$PORT" ]
-then
- PARAM2="-Dheadnodeport=$PORT"
-else
- PARAM2=""
-fi
-
-java $PARAM1 $PARAM2 $LOGDBG $DBG $JETTY --port $LISTENPORT $CORD >$LOG 2>&1 &
-
-echo jetty-runner started {$PARAM1:$PARAM2}
-echo .. logging to $LOG
diff --git a/framework/src/onos/apps/demo/cord-gui/src/scripts/stop.me b/framework/src/onos/apps/demo/cord-gui/src/scripts/stop.me
deleted file mode 100644
index 3e34aa7d..00000000
--- a/framework/src/onos/apps/demo/cord-gui/src/scripts/stop.me
+++ /dev/null
@@ -1,18 +0,0 @@
-# script to stop the cord gui server
-#
-PID=$(ps -ef | grep jetty-runner | grep -v grep | awk '{print $2}')
-if [ -z "$PID" ]
-then
- echo jetty-runner not running
- exit 0
-fi
-kill $PID
-sleep 1
-
-PID=$(ps -ef | grep jetty-runner | grep -v grep | awk '{print $2}')
-if [ ! -z "$PID" ]
-then
- echo jetty-runner still running ?
-else
- echo jetty-runner stopped
-fi