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 23 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-C/SDN-R Image dependencies


name (Top most specific)def ENVstartup/ odl bootAddedcomment
external could add



onap/sdnc-image

/opt/onap/sdnc

  • startODL.sh (star) default
  • startODL.oom.sh oom/sdnc

/opt/onap/ccsdk

  • no used here

Groups

  • org.onap.sdnc.northbound
  • org.onap.ccsdk.features.sdnr.wt (question) remove
  • org.onap.ccsdk.features.sdnr.northbound (question) remove
    • <artifactId>oofpcipoc-installer</artifactId>
    • <artifactId>sdnr-northbound-features-installer</artifactId>

Add sdnc related bundles/features

Scripts for run time install/setup for

  • ccsdk AND sdnc features

Bundle features added (featuresBoot): sdnc-northbound-all, sdnr-northbound-all,sdnr-wt-feature-aggregator

onap/ccsdk-odlsli-alpine-imageCCSDK_FEATURE_VERSION

/opt/onap/ccsdk

  • odlbasefeatures
  • ccsdkfeatures by startscript

Groups

  • org.onap.ccsdk.sli.core
  • org.onap.ccsdk.sli.adaptors
  • org.onap.ccsdk.sli.northbound
  • org.onap.ccsdk.sli.plugins
  • org.onap.ccsdk.features.sdnr.wt (sdnr-wt-feature-aggregator)
  • org.onap.ccsdk.features.sdnr.northbound (sdnr-northbound-all)
    • <artifactId>sdnr-northbound-features-installer</artifactId>
    • <artifactId>oofpcipoc-installer</artifactId>
    • <artifactId>a1Adapter-installer</artifactId>
    • <artifactId>CMNotify-installer</artifactId>

Add sli bundles/features

Dockerfile

  • Add repositories
  • Modify boot features (question) Move to sdnc startODL
  • Basic features are: odl-restconf-all,odl-netconf-topology,odl-mdsal-all,odl-mdsal-apidocs, odl-daexim-all, odl-restconf-nb-rfc8040
  • Bundle features: ccsdk-sli-core-all,ccsdk-sli-adaptors-all,ccsdk-sli-northbound-all,ccsdk-sli-plugins-all,ccsdk-features-all

/opt/onap/ccsdk used for test purpose (question) correct

onap/ccsdk-odl-sodium-alpine-imageODL_HOME
karaf/opendaylightadd ODL Sodium

onap/ccsdk-alpine-image

JAVA_HOME
install Java, python3, bash and toolsJava8 later Java11
alpine


offical image

Points

  1. Clean up sdnr/wt
    1. dependency is in sli and sdnc: Remove bundle dependency from sdnc/oam
    2. Install by sdnc install script.
  2. Cleanup environment variables and specify at one location
    1. Use Docker ARG by default
    2. ENV only for variables, used by script
  3. There are several startup scripts. Can we harmonize this?
    1. Script directories in sdnc
      1. opt/onap/sdnc
      2. opt/onap/ccsdk
    2. Same script names different versions. 
      1. startODL.sh in ccsdk 
      2. startODL.sh in sdnc
      3. startODL.oom.sh in OOM project
  4. ODL Startup
  5. featuresboot  modified
    1. by Dockerfile
    2. and by startup script (
    3. Only startupscript should define featureboot with custom features.
    4. odlbasefeatures are specified by ccsdk-odlsli-alpine-imange dockerfile
  6. At the moment featurerepositories are added by Dockerfile and startup scripts
    1. Only dockerfile should add featurerepositories
  • No labels