SDN-C/SDN-R images

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

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

  • Northbound services SLI

  • SDN-R (Netconf devicemanagement)

  • ORAN

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

Startup Configuration SDN-C 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.

  • startODL.oom.sh

    • Similar to "startODL-sh"

    • Used by OOM for SDNC startup

SDN-C Image dependencies



images

def ENV

startup/ odl boot

Added

comment

images

def ENV

startup/ odl boot

Added

comment

onap/sdnc-image



/opt/onap/sdnc

  • startODL.sh  default

  • startODL.oom.sh oom/sdnc

/opt/onap/ccsdk

  • no used here

Groups

  • org.onap.sdnc.northbound

  • org.onap.ccsdk.oran

    • <artifactId>a1-adapter-northbound-installer</artifactId>

  • org.onap.ccsdk.features.sdnr.wt  remove all artifacts

    • Netconf-Devicemanager and ODLUX

  • org.onap.ccsdk.features.sdnr.northbound  remove all artifacts

    • <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-image

CCSDKFEATUREVERSION

 Specified in sdnc-image

/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 

  • 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  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

Installer

<artifactId>xyz-installer</artifactId> is a ZIP file in repo structure including all parts for xyz-feature (feature-xml, provider-jar, model-jar). 

Example:

<dependency> <groupId>org.onap.ccsdk.features.sdnr.wt</groupId> <artifactId>sdnr-wt-feature-aggregator-installer</artifactId> <version>${ccsdk.features.version}</version> <classifier>repo</classifier> <type>zip</type> </dependency>