Skip to content

PANTHEONtech/lighty

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

Use the latest 17.x lighty.io simulator release.

Signed-off-by: Ivan Hrasko <ivan.hrasko@pantheon.tech>
2ab1292

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

lighty.io 18

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 Argon, 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
Swagger

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