Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Learning OpenDaylight

You're reading from   Learning OpenDaylight A gateway to SDN (Software-Defined Networking) and NFV (Network Functions Virtualization) ecosystem

Arrow left icon
Product type Paperback
Published in May 2017
Publisher Packt
ISBN-13 9781782174523
Length 336 pages
Edition 1st Edition
Arrow right icon
Author (1):
Arrow left icon
Reza Toghraee Reza Toghraee
Author Profile Icon Reza Toghraee
Reza Toghraee
Arrow right icon
View More author details
Toc

Table of Contents (10) Chapters Close

Preface 1. Introduction to SDN - Transformation from Legacy to SDN FREE CHAPTER 2. Overview of OpenDaylight 3. OpenDaylight Installation and Deployment 4. Building a Virtual SDN Test Lab with Virtual Switches 5. Basic Networking with OpenDaylight 6. Overview of OpenDaylight Applications 7. Building SDN Applications for OpenDaylight 8. Network Function Virtualization 9. Building a Software-Driven Data Center with OpenDaylight

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:

  1. Create a local repository for the code using a simple build process.
  2. Start the OpenDaylight controller.
  3. 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...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image