A lightweight project that provides:
- NETCONF Device Libraries for building custom NETCONF devices
- Examples of NETCONF Device Simulators to demonstrate, how these libraries can be used to create custom NETCONF devices
lighty-netconf-device
is a NETCONF device library for creating
custom NETCONF devices. With the provided NETCONF device builder,
you can create your own device. This device can be built with the use of builder switches for
adding custom YANG models, custom request processors & more.
- Build the project with Java 21:
mvn clean install
- The NETCONF Device Library build is located at:
lighty-netconf-device\target\lighty-netconf-device-22.0.0-SNAPSHOT.jar
- The build & run procedures for the example devices are described in each device's README.
This tool contains 5 device examples, to demonstrate the usage of the NETCONF Device Library for creating custom devices:
- lighty Actions Device
- lighty Network Topology Device
- lighty Notifications Device
- lighty Toaster Device
- lighty Toaster Multiple Devices
Read about the background of this project here.
Problem: Creating multiple simulators takes a long time.
Delay can be caused by Random Number Generation /dev/random
.
Solution: Use /dev/urandom instead of /dev/random by passing it as system property
-Djava.security.egd=file:/dev/./urandom
or modify file $JAVA_HOME/jre/lib/security/java.security
by changing property securerandom.source=file:/dev/random
to securerandom.source=file:/dev/urandom
.