Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Lighty-TransportPCE Controller

This project starts TransportPCE without karaf framework.

Build & Run

  • Make sure you have JDK8 or later installed
  • Make sure you have maven 3.5.0 or later installed.
  • Make sure you have proper settings.xml in your ~/.m2 directory.

Before compiling Lighty-TransportPCE

Make sure upstream projects are compiled locally and stored in local ~/.m2/repository:

  1. compile transportpce/master
git clone && (cd transportpce && curl -kLo `git rev-parse --git-dir`/hooks/commit-msg; chmod +x `git rev-parse --git-dir`/hooks/commit-msg)
cd transportpce

Before compilation, make sure that deviations are not present in models:


After deviations are removed from models, compile the project.

mvn clean install -DskipTests
  1. compile lighty-core/10.0.x
git clone
cd lighty-core
git checkout 10.0.x
mvn clean install -DskipTests

Compile Lighty-TransportPCE

  • Project is build using maven command:
cd ../lighty
mvn clean install
  • After project build is done, use binary package to run the TransportPCE controller.
cd  target
cd lighty-transportpce-10.0.1-SNAPSHOT
  • The whole build process described here and in the previous section can be performed automatically by launching the script from lighty folder.

TransportPCE - karaf comparison

Application Boot test

This test compares TransportPCE application on and karaf. After TransportPCE is started, performance is measured using visualvm tool.

Property Name ODL/Karaf * **
Build size 225M 64M
Startup Time ~15s ~6s
Shutdown Time ~5s ~100ms
Process memory allocated (RSS)*** 1236 MB 353 MB
HEAP memory (used/allocated) 135 / 1008 MB 58 / 128 MB
Metaspace (used/allocated) 115 / 132 MB 62 / 65 MB
Threads (live/daemon) 111 / 48 70 / 11
Classes loaded 22027 12019
No. of jars 680 244

This test compares TransportPCE application on and karaf while running (4 connected netconf devices).

Property Name ODL/Karaf * **
Build size 225M 64M
Startup Time ~15s ~6s
Shutdown Time ~5s ~100ms
Process memory allocated (RSS)*** 1185 MB 440 MB
HEAP memory (used/allocated) 158 / 960 MB 85 / 128 MB
Metaspace (used/allocated) 128 / 146 MB 83 / 87 MB
Threads (live/daemon) 148 / 60 129 / 26
Classes loaded 24326 16155
No. of jars 680 244

* JVM parameters: -Xms128M -Xmx2048m ... ** JVM parameters: -Xms128m -Xmx128m -XX:MaxMetaspaceSize=128m *** sudo ps -o pid,rss,user,command ax | grep java | grep transportpce

Integration Test results

Test Name Failed All Comment 0 18 1 6 (same results with karaf) 0 33 0 24 0 22 1 40 (same results with karaf) 18 52 (same as karaf, need check)

karaf: executable = "../karaf/target/assembly/bin/karaf" executable = "../lighty/target/lighty-transportpce-10.0.1-SNAPSHOT/":

  • Total Success: 175
  • Total Failed: 20

Postman collection

Check this postman collection for RESTCONF examples.

You can’t perform that action at this time.