diff options
author | 2016-09-13 11:40:12 +0800 | |
---|---|---|
committer | 2016-09-13 11:41:53 +0800 | |
commit | b731e2f1dd0972409b136aebc7b463dd72c9cfad (patch) | |
tree | 5107d7d80c19ad8076c2c97c2b5ef8d1cf3ab903 /framework/src/onos/tools/build/envDefaults | |
parent | ee93993458266114c29271a481ef9ce7ce621b2a (diff) |
ONOSFW-171
O/S-SFC-ONOS scenario documentation
Change-Id: I51ae1cf736ea24ab6680f8edca1b2bf5dd598365
Signed-off-by: CNlucius <lukai1@huawei.com>
Diffstat (limited to 'framework/src/onos/tools/build/envDefaults')
-rw-r--r-- | framework/src/onos/tools/build/envDefaults | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/framework/src/onos/tools/build/envDefaults b/framework/src/onos/tools/build/envDefaults deleted file mode 100644 index db54a73e..00000000 --- a/framework/src/onos/tools/build/envDefaults +++ /dev/null @@ -1,51 +0,0 @@ -# Environmental defaults for ONOS build, package and test - -# Root of the ONOS source tree -export ONOS_ROOT=${ONOS_ROOT:-~/onos} - -# M2 repository and Karaf gold bits -export M2_REPO=${M2_REPO:-~/.m2/repository} -export KARAF_VERSION=${KARAF_VERSION:-3.0.3} -export KARAF_ZIP=${KARAF_ZIP:-~/Downloads/apache-karaf-$KARAF_VERSION.zip} -export KARAF_TAR=${KARAF_TAR:-~/Downloads/apache-karaf-$KARAF_VERSION.tar.gz} -export KARAF_DIST=$(basename $KARAF_ZIP .zip) - -# Add ONOS-specific directories to the exectable PATH -export PATH="$PATH:$ONOS_ROOT/tools/dev/bin:$ONOS_ROOT/tools/test/bin" -export PATH="$PATH:$ONOS_ROOT/tools/build" - -# Fallback build number us derived from from the user name & time -export BUILD_NUMBER=${BUILD_NUMBER:-$(id -un)~$(date +'%Y/%m/%d@%H:%M')} - -# ONOS Version and onos.tar.gz staging environment -export ONOS_POM_VERSION="1.4.0-rc1" -export ONOS_VERSION=${ONOS_VERSION:-1.4.0-rc1.$BUILD_NUMBER} - -# ONOS production bits (onos.tar.gz, onos.zip, onos.deb, onos.rpm) staging environment -export ONOS_BITS=onos-${ONOS_VERSION%~*} -export ONOS_STAGE_ROOT=${ONOS_STAGE_ROOT:-/tmp} -export ONOS_STAGE=$ONOS_STAGE_ROOT/$ONOS_BITS -export ONOS_DEB_ROOT=$ONOS_STAGE_ROOT/deb -export ONOS_DEB=$ONOS_STAGE.deb -export ONOS_RPM_ROOT=$ONOS_STAGE_ROOT/rpm -export ONOS_RPM=$ONOS_STAGE.rpm -export ONOS_RPM_VERSION=${ONOS_POM_VERSION//-/.} -export ONOS_TAR=$ONOS_STAGE.tar.gz -export ONOS_ZIP=$ONOS_STAGE.zip - -# ONOS test bits (onos-test.tar.gz) staging environment -export ONOS_TEST_BITS=onos-test-${ONOS_VERSION%~*} -export ONOS_TEST_STAGE_ROOT=${ONOS_TEST_STAGE_ROOT:-/tmp} -export ONOS_TEST_STAGE=$ONOS_STAGE_ROOT/$ONOS_TEST_BITS -export ONOS_TEST_TAR=$ONOS_TEST_STAGE.tar.gz - -# Defaults for ONOS testing using remote machines. -# if [ -n "${ONOS_CELL}" -a -f $ONOS_ROOT/tools/test/cells/${ONOS_CELL} ]; then -# . $ONOS_ROOT/tools/test/cells/${ONOS_CELL} -# fi -export ONOS_INSTALL_DIR="/opt/onos" # Installation directory on remote -export OCI="${OCI:-192.168.56.101}" # ONOS Controller Instance -export ONOS_USER="${ONOS_USER:-sdn}" # ONOS user on remote system -export ONOS_GROUP="${ONOS_GROUP:-sdn}" # ONOS group on remote system -export ONOS_PWD="rocks" # ONOS user password on remote system -export ONOS_SCENARIOS=$ONOS_ROOT/tools/test/scenarios |