summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBorislav Glozman <Borislav.Glozman@amdocs.com>2019-05-21 16:40:17 +0000
committerGerrit Code Review <gerrit@onap.org>2019-05-21 16:40:17 +0000
commitc596ba1e7e11b3acfd092338c39fbf71f92f9740 (patch)
tree6064aef7bba3ebd8b20a7eb85da0a5a95a721b57
parentba3de83903bfc5ddddd3d2d2349a5a2b7aeae1cb (diff)
parent78531bfd072f51bf6840a5d2cf21c6bf3ac5dd01 (diff)
Merge "SDNC-766: Updating OOM startODL.sh"
-rwxr-xr-xkubernetes/sdnc/resources/config/bin/startODL.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/kubernetes/sdnc/resources/config/bin/startODL.sh b/kubernetes/sdnc/resources/config/bin/startODL.sh
index 9b96a325b7..eb49a69086 100755
--- a/kubernetes/sdnc/resources/config/bin/startODL.sh
+++ b/kubernetes/sdnc/resources/config/bin/startODL.sh
@@ -113,6 +113,7 @@ function enable_odl_cluster(){
# Install SDN-C platform components if not already installed and start container
ODL_HOME=${ODL_HOME:-/opt/opendaylight/current}
+ODL_ADMIN_USERNAME=${ODL_ADMIN_USERNAME:-admin}
ODL_ADMIN_PASSWORD=${ODL_ADMIN_PASSWORD:-Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U}
SDNC_HOME=${SDNC_HOME:-/opt/onap/sdnc}
SDNC_BIN=${SDNC_BIN:-/opt/onap/sdnc/bin}
@@ -125,6 +126,7 @@ GEO_ENABLED=${GEO_ENABLED:-false}
DBINIT_DIR=${DBINIT_DIR:-/opt/opendaylight/current/daexim}
SDNRWT=${SDNRWT:-false}
SDNRWT_BOOTFEATURES=${SDNRWT_BOOTFEATURES:-sdnr-wt-feature-aggregator}
+export ODL_ADMIN_PASSWORD ODL_ADMIN_USERNAME
echo "Settings:"
echo " ENABLE_ODL_CLUSTER=$ENABLE_ODL_CLUSTER"