Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

SDNRWTSDNRDMSDNRINITMeaning
falsefalsefalse(Default setting of flags). SDNR deactivated, but normal SDNC startup for other features, like oofpci.
truexxdevicemanager + internal WEB Server. SDNRDBURL, SDNRDBUSERNAME, SDNRDBPASSWORD
xtruexdevicemanager. SDNRDBURL, SDNRDBUSERNAME, SDNRDBPASSWORD
xxtrueinit container function. SDNRDBURL, SDNRDBUSERNAME, SDNRDBPASSWORD
all other combinationsSDNR error state. Container ends log contains error

Initialization scripts

SDNC/OAM Container entrypoint: /opt/sdnc/bin/startODL.sh

The duplicated script should be removed from OOM. Issue for this is: 

Jira Legacy
serverSystem Jira
serverId4733707d-2057-3a0f-ae5e-4fd8aff50176
keySDNC-1078

Environment Variables and configuration files

The startup env parameters are used by properties of configuration files

env varconfig file $ODL_HOME/etc/ description
$SDNRDBUSERNAMEdataprovider.properties(optional) elasticsearch basicAuth Username
$SDNRDBPASSWORDdataprovider.properties(optional) elasticsearch basicAuth Password
$SDNRDBURLdataprovider.properties(mandatory) elasticsearch URL

Database Initialization


ElasticSearch database needs to be initialized by a script.

bin/es-init.sh

OOM enhancement: define kubernetes Job to execute e-init.sh

Development steps

Enhancement/integration of oom/sdnc follows from left (low complexity) to right (highest complexity)

...

  • introduce config switch (see
    Jira Legacy
    serverSystem Jira
    serverId4733707d-2057-3a0f-ae5e-4fd8aff50176
    keySDNC-742
    )
  • introduce deployment.yaml for

Environment Variables for Configuration files

...

Database Initialization

ElasticSearch database needs to be initialized by a script.

bin/es-init.sh

...