Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 12 Next »

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]imagenexus
installation/sdnconap/sdnc-imagehttps://nexus3.onap.org:10001/v2/onap/sdnc-image/tags/list
installation/sdnc-webonap/sdnc-web-imagehttps://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 filein Containermeaning
src/main/scripts/startODL.sh/opt/onap/sdnc/bin/startODL.shStartup script and entry point
  • Shouldn't use the "ccsdk.feature.version"
  • The script should configure SDN-R features according to ENV setting
  • HINT: Normally overloaded by OOM/sdnc Helm startup
pom.xml: ccsdk.features.version
specifies the ccsdk/feature to be included. 
src/main/docker/Dockerfile: repository$ODL_HOME/etc/org.apache.karaf.feature.cfgRepository of features to be loaded.

SDN-R Image dependencies


name and importsequencedef ENVstartupodl bootcomment
o-ran-sc/non-realtime-ric



onap/sdnc-image

/opt/onap/sdnc



add 

sdnr/wt features

sdnc/northbound

onap/ccsdk-odlsli-alpine-imageCCSDK_FEATURE_VERSION/opt/onap/ccsdk

odlbasefeatures

ccsdkfeatures by startscript

add sli related features and repositories and boot features

sdnr/northbound

onap/ccsdk-odl-sodium-alpine-imageODL_HOME

add Opendaylight

onap/ccsdk-alpine-image

JAVA_HOME

install Java, python3, bash and tools
alpine



  1. Move sdnr-wt from SDNC back to CCSDK. Means remove from sdnc/oam
  2. Cleanup environment variables and specify at one location
  3. There are several startup scripts. How to harmonize this
    1. startODL in ccsdk
    2. startODL in sdnc
    3. startODL in OOM project
  4. At the moment featuresboot is modified by Dockerfile and by startup script 
    1. Only startupscript should define featureboot with custom features.
    2. odlbasefeatures are specified by ccsdk-odlsli-alpine-imange dockerfile
  5. At the moment featurerepositories are added by Dockerfile and startup scripts
    1. Only dockerfile should add featurerepositories
  • No labels