Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The general steps to provide this feature are descibed by the list below with examples in the following sections.
The development work is done in four onap gerrit repositories, following  the ONAP prozesses and rules: 

gerrit-repo

...

Path in repoDesciption
ccsdk/features/sdnr

Provides the features as

...

  1. Bundles with service functionality as ZIP archive containing a maven repository that is later added/installed into the Opendaylight/karaf repository
  2. Provide feature xml that can be added to Opendaylight/karaf to manage the installation

...

  1. Add dependency to pom.xml to move it into container's ODL repository. $ODL_HOME/system/org/onap/ccsdk/features/sdnr/...
  2. Add myNewService repository to ODL startup configuration that it is available to be activated. 
    File to change: $ODL_HOME/etc/org.apache.karaf.features.cfg feature repository list, specified by featuresRepositories=
    1. "sdnc/oam":"/installation/sdnc/src/main/docker/Dockerfile"
    2. "sdnc/oam":"/installation/sdnc/src/main/docker/standalone.Dockerfile"
  3. Add to startODL.sh functionality to startup service if configured to be active. Use environment variable like "SDNR_MyNewService" true|false. (Be aware .. this script is normally overwritten by oom .. see next step)

...

  • Karaf feature (XML)
  • ZIP containing all bundles in MVN Repo format for Karaf Repo
sdnc/oam/installer/sdnc

Project to create the SDNC image.

  • Add the new service to ODL as feature and provide it into repository
  • Add installer for new service
oom/kubernetes/sdnc

Add functionality to configure and start your service

...

.

  • Add installer for new Service

More details are in SDN-R Dev Steps and Repositories

Beside code the documentation has to be added and included into ONAP ReadTheDocs

...

.

Development steps depicted

...