commit | 5e4d49d1281e8444f17e63663160b9276e39a420 | [log] [tgz] |
---|---|---|
author | Bob Lantz <rlantz@cs.stanford.edu> | Thu Feb 25 02:26:45 2016 -0800 |
committer | Gerrit Code Review <gerrit@onlab.us> | Mon Feb 29 18:15:28 2016 +0000 |
tree | 3b2c056f05c984d24d266c1169fa3696a8911441 | |
parent | a4281249250ce1f6980d69976ab8a89af0580997 [diff] |
Set -u and -e, and respect ONOS_HOME If errors or undefined variables are introduced into this script, we should exit with an error. In particular, we should exit with an error if KARAF_VERSION is not defined rather than failing semi-silently. If ONOS_HOME is set, we should respect (and use) its value. If ONOS_HOME is not set (as it will not be in the init or service environment), intuit its value based on the path to this script. Change-Id: I91c733fddcb2241a95466667e4b57ce0f74a8194
ONOS is a new SDN network operating system designed for high availability, performance, scale-out.