aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/roles/odl_cluster/templates/opendaylight
diff options
context:
space:
mode:
authorHarry Huang <huangxiangyu5@huawei.com>2017-01-25 20:54:29 +0800
committerJustin chi <chigang@huawei.com>2017-02-09 06:45:05 +0000
commit08fc4477bff0219d0277a63a9ab82a03087f7ef5 (patch)
tree5403c41908596cb985fbd8df341d979a2583ded6 /deploy/adapters/ansible/roles/odl_cluster/templates/opendaylight
parent42634c9d279f6c1db38e0926a787fc33c2ef826f (diff)
Upgrade OpenDaylight to Boron ( l3 scenario )
JIRA: COMPASS-512 1. Use package distribution-karaf-0.5.2-Boron.tar.gz 2. Add configuring ACL 3. Remove neutron-l3 agent in odl_cluster role 4. Fix ODL l2 metadata problem Change-Id: Ib14cdf3539deeeb91ebfec0450a9e7f0228f7741 Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
Diffstat (limited to 'deploy/adapters/ansible/roles/odl_cluster/templates/opendaylight')
-rwxr-xr-xdeploy/adapters/ansible/roles/odl_cluster/templates/opendaylight31
1 files changed, 0 insertions, 31 deletions
diff --git a/deploy/adapters/ansible/roles/odl_cluster/templates/opendaylight b/deploy/adapters/ansible/roles/odl_cluster/templates/opendaylight
deleted file mode 100755
index 90a267d6..00000000
--- a/deploy/adapters/ansible/roles/odl_cluster/templates/opendaylight
+++ /dev/null
@@ -1,31 +0,0 @@
-#!/bin/bash
-# chkconfig: 345 98 2
-# description: ODL controller
-# OpenDaylight service controller script
-export JAVA_HOME=/usr/lib/jvm/java-8-oracle
-USER=odl
-
-cd /opt/opendaylight-0.3.0
-case "$1" in
- start)
- /bin/su -m $USER -s /bin/bash -c ./bin/start
- ;;
- stop)
- /bin/su -m $USER -s /bin/bash -c ./bin/stop
- ;;
- status)
- PID=`ps aux | grep java | grep karaf | awk '{print $2}'`
- if test -z $PID
- then
- echo "ODL is down..."
- exit 1
- else
- echo "ODL is running... PID $PID"
- exit 0
- fi
- ;;
- *)
- echo "Usage: $0 {start|stop|status}"
- exit 1
- ;;
-esac