Having understood the basic architecture of ODL, let's now turn our attention towards installation of ODL. In this section, we will also show you how to install a few components inside ODL and then how to log in to the ODL GUI.
The most recent version of ODL at the time of writing is Beryllium 0.4.2 SR2. The pre-built packages can be downloaded from https://www.OpenDaylight.org/downloads. We recommend that you download the pre-built TAR file.
ODL is built using Java and so a Java Runtime (JRE) is required to use ODL. For Beryllium, it is recommended to use JRE 7 or JRE 8. We recommend using a 64-bit Ubuntu-based server for trying out ODL. You can use VirtualBox to create this server as a virtual machine.
We will now show you how to install ODL using prebuilt packages:
gunzip
command to uncompress the pre-built package. This will create the TAR ball package in the same directory:
tar
command, as shown in the following screenshot:
tar
command completes:
karaf
command, as shown in the following screenshot:
feature:list -i
command, as shown in the following screenshot:
To install DLUX GUI, perform the following steps:
feature:install <features>
command to install DLUX GUI, as shown in the following screenshot:
http://<controller-ip-address>:8181/index.html
. This will open the login form of ODL, as shown in the following screenshot:
admin
/admin
as the Username and Password to log in to ODL.
As seen in the preceding screenshot, we can now use ODL and its capabilities using the DLUX web UI package. However, in order to manage networking devices, we need additional components to be installed in ODL.
The L2 Switch feature of ODL provides layer 2 switch functionality. The main purpose of L2 Switch is to handle ARP, detect and remove loops, and track MAC addresses and IP addresses. This package is needed to model a physical or virtual layer 2 switch inside ODL so that the switch can be managed using ODL.
Use the feature:install <features>
command to install L2 switch packages, as shown in the following screenshot. Once the installation is complete you can use feature:list -i
command to confirm that L2 switch packages are installed.
This completes, installation and configuration of a minimal ODL setup. As seen in the architecture diagram ODL, supports many other capabilities, and as an end user, you can install and use the features that you require.
3.147.195.136