...
SDNRWT | SDNRDM | SDNRINIT | Meaning |
---|---|---|---|
false | false | false | (Default setting of flags). SDNR deactivated, but normal SDNC startup for other features, like oofpci. |
true | x | x | devicemanager + internal WEB Server. SDNRDBURL, SDNRDBUSERNAME, SDNRDBPASSWORD |
x | true | x | devicemanager. SDNRDBURL, SDNRDBUSERNAME, SDNRDBPASSWORD |
x | x | true | init container function. SDNRDBURL, SDNRDBUSERNAME, SDNRDBPASSWORD |
all other combinations | SDNR 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 | ||||||
---|---|---|---|---|---|---|
|
Environment Variables and configuration files
The startup env parameters are used by properties of configuration files
env var | config file $ODL_HOME/etc/ | description |
---|---|---|
$SDNRDBUSERNAME | dataprovider.properties | (optional) elasticsearch basicAuth Username |
$SDNRDBPASSWORD | dataprovider.properties | (optional) elasticsearch basicAuth Password |
$SDNRDBURL | dataprovider.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 server System Jira serverId 4733707d-2057-3a0f-ae5e-4fd8aff50176 key SDNC-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
...