startODL.sh - Important Environment variables and their description

Status: Guilin, New configurations for Honolulu see here: ONAP SDN-R Honolulu Kubernetes Pods and Options

Name

Default Value

Description

Name

Default Value

Description

ODL_REMOVEIDMDB

false

Used to overwrite the default password persisted in H2 database.

ODL_ADMIN_USERNAME

admin

Can be overwritten. If overwritten then ODL_REMOVEIDMDB should be mandatorily set to "true"

ODL_ADMIN_PASSWORD

pre-encrypted password

Can be overwritten. If overwritten then ODL_REMOVEIDMDB should be mandatorily set to "true"

JDEBUG

false

When set to "true", sets EXTRA_JAVA_OPTS with debugging parameters which allow for remote debugging

MYSQL_PASSWD

openECOMP1.0



ENABLE_ODL_CLUSTER

false

When set to "true", deploys ODL in Cluster mode.

GEO_ENABLED

false



SDNC_AAF_ENABLED

false

When set to "true", performs authentication and authorization using artifacts generated from AAF

IS_PRIMARY_CLUSTER

false

Applicable when ODL is deployed in cluster mode

MY_ODL_CLUSTER

127.0.0.1

Applicable when ODL is deployed in cluster mode

SDNRWT

false

Set to "true" if SDNR WT (Wireless Transport) features need to be installed

SDNRDM

false

Set to "true" if devicemanager boot features need to be installed. Works only if SDNRWT is also "true"

SDNRINIT

false

Set to "true" if the ElasticSearch DB needs to be initialized with aliases and indices required for SDNR

SDNRONLY

false

Set to "true" if only SDNR features need to be installed minus the northbound features. Works only if SDNRWT is also "true"

SDNRDBURL

http://sdnrdb:9200

Contains the URL to be used for accessing the ElasticSearch DB

SDNR_NORTHBOUND

false

Set to "true" if northbound features need to be installed

ODL_CERT_DIR

not set

When set to a specific directory, installCerts.py uses the certificates in that directory

NAMESPACE

not set

Applicable only in OOM Environment. Used when local cluster is enabled. If set and not empty then OOM environment is assumed. Is part of the node name that is passed to the ODL configure_cluster.sh script

Note: if this is set and not empty then setting SERVICE_NAME to a non-empty value is mandatory, if not container will fail to start

SERVICE_NAME

not set

Applicable only in OOM Environment. Used when local cluster is enabled. If set and not empty then OOM environment is assumed. Is part of the node name that is passed to the ODL configure_cluster.sh script

Note: if this is set and not empty then setting NAMESPACE to a non-empty value is mandatory, if not container will fail to start

SDNC_DB_INIT

false

The SDNC DB is installed via the installSdncDb.sh script and is triggered (in startODL.sh) when the container is started via the docker-compose.yml when run in standalone mode (docker environment). A separate job already exists in OOM for installing SDNC DB. If the OOM dbinit job fails, it is difficult to restart a kubernetes job and having it in the startODL.sh helps to initialize the DB by setting the variable to "true"

SDNC_REPLICAS

not set

When deploying in cluster mode, this variable should be set to a number equal to the number of nodes to be deployed in the cluster.