SDNC contains a set of features for different ONAP environments.
SDN-C Images
The artifacts are bundled into a docker container in repository [sdnc/oam]. The relevant projects for creating the images are
location in [sdnc/oam] | image | nexus | meaning |
---|---|---|---|
installation/sdnc | onap/sdnc-image | https://nexus3.onap.org:10001/v2/onap/sdnc-image/tags/list | SDNC Controller with features
|
installation/sdnc-web | onap/sdnc-web-image | https://nexus3.onap.org:10001/v2/onap/sdnc-web-image/tags/list | Stand alone SDN-R nginx/ODLUX Web server |
Configuration sdnc-image
Depending on the usage of this container during startup some configuration options are possible.
Parameters are specified during startup of container via ENV variables by docker or kubernets.
There are two scripts preparing the run time configuration of SDNC image:
- startODL.sh
- location
- Container location: /opt/onap/sdnc/bin/startODL.sh
- Repo location: (sdnc-oam)/installation/sdnc/src/main/scripts/startODL.sh
- requirement
- should come up with running default configuration
- if specific configuration is requested should prepare this by
- adjusting "featureBoot" in $ODL_HOME/etc/org.apache.karaf.feature.cfg
- provides security configuration, certs and further.
- location
- startODL.oom.sh
- Similar to "startODL-sh"
- Used by OOM for SDNC startup
SDN-C Image dependencies
Meaning: xyz-installer includes all bundle(s) for an osgi-feature (feature-xml, provider-jar, model-jar)
name (Top most specific) | def ENV | startup/ odl boot | Added | comment |
---|---|---|---|---|
onap/sdnc-image | /opt/onap/sdnc
/opt/onap/ccsdk
| Groups
| Add sdnc related bundles/features Scripts for run time install/setup for
Bundle features added (featuresBoot): sdnc-northbound-all, sdnr-northbound-all,sdnr-wt-feature-aggregator | |
onap/ccsdk-odlsli-alpine-image | CCSDK_FEATURE_VERSION Specified in sdnc-image | /opt/onap/ccsdk
| Groups
| Add sli bundles/features Dockerfile
/opt/onap/ccsdk used for test purpose correct |
onap/ccsdk-odl-sodium-alpine-image | ODL_HOME Specified multiple times | karaf/opendaylight | add ODL Sodium | |
onap/ccsdk-alpine-image | JAVA_HOME Specified multiple times | install Java, python3, bash and tools | Java8 later Java11 | |
alpine | offical image |