Skip to content

PANTHEONtech/lighty

Repository files navigation

lighty.io 22

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 2025-03 Titanium, 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 21 is installed (For example: https://adoptium.net/temurin/releases/)
  2. Install maven - make sure you have maven 3.9.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