Our very first application, HelloWorld
In this section, we will learn how to deploy our first HelloWorld application on ODL. In this example, we will perform the following steps to develop an app:
- Create a local repository for the code using a simple build process.
- Start the OpenDaylight controller.
- Test a simple remote procedure call (RPC) that you would have created based on the principle of HelloWorld.
In order to build an application, we need the following tools to be installed on our ODL application or any machine that you would like to use for building applications.
You can use an Ubuntu machine as your development environment with the following setup:
- Maven 3.1.1 or later
You probably don't have Maven installed; use the following command on your Ubuntu machine to install Maven. You can use Yum to install maven on a RedHat or CentOS platform:
sudo apt-get install maven
- Java 7- or Java 8-compliant JDK
Since we were using openjdk-8
as JRE, let's install JDK 8 from OpenJDK, as follows:
sudo apt...