Versions Compared

Key

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

Table of Contents

Introduction

SDN-R is a specialization of the OpenDaylight controller, developed in the OpenDaylight project.

...

One piece of SDN-R functionality is a microservice. The microservice is running in OSGi (Karaf) context using the Opendaylight platform and provided as a features and OSGi bundles.

Development steps

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: 

Stepgerrit-repoPath in repoDesciption
1ccsdk

...

/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. Provide an intermediate container with an Opendaylight/karaf repository containing a specific collection of services
  2. Provide the related repositories via the $ODL_HOME/etc/org.apache.karaf.features.cfg feature repository list, specified by featuresRepositories=

...

  1. Add to startODL.sh functionality to startup service if configured to be active. (But 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
2sdnc/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
3oom/kubernetes/sdnc

Add functionality to configure and start your service

  1. Add to startODL.sh the functionality to startup service if configured to be active.
  2. Extend script to set related ENV variables with configuration of specific feature bundel.

.

  • Add installer for new Service

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

The steps 1 and 2 The most important steps of the development and delivery to ONAP project are depicted here:

draw.io Diagram
bordertrue
viewerToolbartrue
fitWindowfalse
diagramNameSDN-R Development
simpleViewerfalse
width
diagramWidth1021921
revision16

SDN-R Sandbox

For development purpose and local testing there is a further github repository available that can be used as sandbox with less strict access. 

...