io.lighty.resources:singlenode-configuration

Parent pom for code artifacts using Lighty.io.


Keywords
gnmi, java, lighty, netconf, openconfig, opendaylight, restconf, sdn, sdn-controller, springboot, yang
Licenses
EPL-2.0/SSPL-1.0

Documentation

lighty.io 21

lighty.io is a Software Development Kit powered by OpenDaylight to support, ease & accelerate the development of Software-Defined Networking (SDN) solutions in Java. Developed by PANTHEON.tech.

It utilizes core OpenDaylight components, which are available as a set of libraries and are adapted to run in a plain Java SE environment.

Build Status Maven Central License

This branch maintains compatibility with OpenDaylight 2024-09 Scandium, release.

Features

  • Removed Karaf: Having Java SE as a runtime, you can use a framework of your choice, not only Karaf
  • Improved Speed: Improved memory management & speed
  • Modularity: Your application code can start, stop & restart modules, as required

Use Cases

Modules, Examples & Apps

Modules Examples Applications
AAA Integration Tests NETCONF/RESTCONF App RESTCONF-NETCONF Application
Integration Tests gNMI/RESTCONF App gNMI RESTCONF Application
AAA SpringBoot Integration
gNMI
Jetty Server
NETCONF SouthBound
RESTCONF NouthBound
OpenApi

Components

architecture

Build & Install

In order to build and install lighty.io artifacts locally, follow the steps below:

  1. Install JDK - make sure JDK 17 is installed
  2. Install maven - make sure you have maven 3.8.5 or later installed
  3. Setup maven - make sure you have the proper settings.xml in your ~/.m2 directory
  4. Build & Install locally - by running command: mvn clean install -DskipTests

controller startup sequence

Migration from OpenDaylight to lighty.io

This guide describes the migration procedure from OpenDaylight/Karaf application to lighty.io. It contains a summary of practical experiences, based on real-life OpenDaylight project migrations.

Run JUnit & IT tests

lighty.io project contains JUnit & integration tests. Because a complete OpenDaylight/lighty.io controller is often started with south-bound and north-bound plugins, these tests are often required. IT tests are comparable with single-feature tests in ODL/Karaf environment - but much faster.

Before starting IT tests, please make sure that ports 8080, 8888, 8185, 2550 are free on localhost.

To run unit and integration tests, use the command:

mvn clean install

Support & More Information

If you are interested in lighty.io, require technical support, need blogs, FAQ, technical articles and more examples, visit lighty.io