Introduction
The SDN-R related feature sources are provided to repository [ccsdk/features]/sdnr. The jenkins production will compile bundles and provide artifacts to nexus.
SDN-R 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 |
---|---|---|
installation/sdnc | onap/sdnc-image | https://nexus3.onap.org:10001/v2/onap/sdnc-image/tags/list |
installation/sdnc-web | onap/sdnc-web-image | https://nexus3.onap.org:10001/v2/onap/sdnc-web-image/tags/list |
Building SDNC image with SDN-R feature
The sdnc-image container and the relevant parts to activate a feature.
project file | in Container | meaning |
---|---|---|
src/main/scripts/startODL.sh | /opt/onap/sdnc/bin/startODL.sh | Startup script and entry point
|
pom.xml: ccsdk.features.version | specifies the ccsdk/feature to be included. | |
src/main/docker/Dockerfile: repository | $ODL_HOME/etc/org.apache.karaf.feature.cfg | Repository of features to be loaded. |
SDN-C/SDN-R Image dependencies
name (Top most specific) | def ENV | startup/ odl boot | Added | comment |
---|---|---|---|---|
external could add | ||||
onap/sdnc-image | /opt/onap/sdnc
/opt/onap/ccsdk
| Groups
| Add sdnc related bundles/features /opt/onap/sdnc
| |
onap/ccsdk-odlsli-alpine-image | CCSDK_FEATURE_VERSION | /opt/onap/ccsdk
| Groups
| Add sli bundles/features Dockerfile
|
onap/ccsdk-odl-sodium-alpine-image | ODL_HOME | karaf/opendaylight | add ODL Sodium | |
onap/ccsdk-alpine-image | JAVA_HOME | install Java, python3, bash and tools | Java8 later Java11 | |
alpine | offical image |
Points
- Clean up sdnr/wt
- dependency is in sli and sdnc: Remove bundle dependency from sdnc/oam
- Install by sdnc install script.
- Cleanup environment variables and specify at one location
- There are several startup scripts. Can we harmonize this?
- Script directories in sdnc
- opt/onap/sdnc
- opt/onap/ccsdk
- Same script names different versions.
- startODL.sh in ccsdk
- startODL.sh in sdnc
- startODL.oom.sh in OOM project
- Script directories in sdnc
- ODL Startup
- featuresboot modified
- by Dockerfile
- and by startup script (
- Only startupscript should define featureboot with custom features.
- odlbasefeatures are specified by ccsdk-odlsli-alpine-imange dockerfile
- At the moment featurerepositories are added by Dockerfile and startup scripts
- Only dockerfile should add featurerepositories