This document provides information on installing and configuring OpenDaylight (ODL) Controller to work with OnApp Software-defined networking. The provided procedure was tested and verified with OpenDaylight 0.14.0 Silicon version.
Please note that the stable version for OnApp is OpenDaylight 0.14.0.
|Minimum System Requirements||Recommended System Requirements||OS Requirements|
CPU: 2 Cores
RAM: 2 GB
Storage: 16 GB
CPU: 8 Cores
RAM: 8 GB
Storage: 64 GB
Java Virtual Machine 11
Install OpenDaylight Silicon
In case of the Log4j 2 vulnerability (CVE-2021-44228), please refer to the CVE Fixes page.
To install OpenDaylight Silicon, follow the next procedure:
Switch to the root home directory and download an archive with ODL:
Unpack the archive by running the following command:
Install JVM by running the following command:
Set JAVA_HOME by running the next command:
Start controller and install the required tools with the following command:
After the ODL console is opened, perform the refresh of repositories with the next command:
Install feature needed by OpenDaylight:
After the features are installed, log out from the karaf:
Ensure that ODL listens to OnApp on 8181 and 6640 ports:
Create a Service to Be Run at Startup
To create a service to be run at startup, use the following command:
Don’t forget to set correct credentials and port (8181) at https://onapp--cp--ip/settings/sdn/managers/1/edit
The password for the admin account can be changed according to this example:
Create a file with a password as a parameter:
Run API call by the command:
To prevent intensive logging, you need to decrease log level.
It can be done in config
/etc/sdn/etc/org.ops4j.pax.logging.cfg , by changing the value
json-rpc-decoder-max-frame-length parameters can be changed in
Default values are as follows: