Table of Contents |
---|
Overview
Main components are
- sdnc-dm = sdnc image in sdnrwt=true configuration
- sdnc-web = sdnc-web image
- sdnc-db = elasticsearch and nginx images
Details: Disaggregated Architecture
Pod and service structure
Drawio | ||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Deployment Options
Deployment options are configured within values.yaml via booleans.
- SDNRWT: devicemanager + internal WEB Server
- SDNRDM: devicemanager relateded bundles, but not web related
- SDNRINIT: Only database initialization than terminating. See: SDN-R Data Migration Tool
- SDNRONLY: Do only start SDN-R related bundles, remove all other bundles from featureboot list.
Database configuration by SDNRDBURL, SDNRDBUSERNAME, SDNRDBPASSWORD.
SDNRWT | SDNRDM | SDNRINIT | Meaning | ||||
---|---|---|---|---|---|---|---|
false | x | x | (Default setting of flags). SDNR deactivated, but normal SDNC startup for other features, like oofpci. | ||||
true | xfalse | xfalse | devicemanager + internal WEB Server. SDNRDBURL, SDNRDBUSERNAME, SDNRDBPASSWORD | ||||
true | true | xfalse | devicemanager. SDNRDBURL, SDNRDBUSERNAME, SDNRDBPASSWORD | ||||
truefalse | x | true | init container function. SDNRDBURL, SDNRDBUSERNAME, SDNRDBPASSWORD | all other combinations | SDNR error state. Container ends log contains error. Exit after configuration is done. | ||
true | true|false | true | execute init function and start ODL according to description |
x: do not care
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 | ||
---|---|---|---|---|
SDNRDBURL | dataprovider.properties | ( | optionalmandatory) elasticsearch | basicAuth UsernameURL |
$SDNRDBPASSWORDSDNRDBUSERNAME | dataprovider.properties | (optional) elasticsearch basicAuth PasswordUsername | ||
$SDNRDBURLSDNRDBPASSWORD | dataprovider.properties | (mandatoryoptional) elasticsearch URLbasicAuth Password |
Database Initialization
ElasticSearch database needs to be initialized by a script.
...
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)
...