Book Image

OpenDaylight Cookbook

By : Rashmi Pujar, ICARO CAMELO, Yrineu Rodrigues
Book Image

OpenDaylight Cookbook

By: Rashmi Pujar, ICARO CAMELO, Yrineu Rodrigues

Overview of this book

OpenDaylight is an open source platform to program and build Software-Defined Networks (SDN). Its aim is to accelerate the adoption of SDN and NFV. With above 90 practical recipes, this book will help you to solve day-to-day problems and maintenance tasks surrounding OpenDaylight’s implementation. This book starts with the OpenDaylight fundamentals. In this book, you will gain a sound understanding of the methods and techniques when deploying OpenDaylight in production environment. Later on, you will learn to create a Service Chain using SFC. This book will address common problems and day-to-day maintenance tasks with OpenDaylight. We’ll also will teach you how to interact with OpenDaylight APIs and use the necessary tools to simulate networks. You will also explore how to create your own branded OpenDaylight along with authorising and authenticating users using OpenDaylight Identity Manager. By the end of this book, you will have the necessary skills to operate an OpenDaylight SDN environment.
Table of Contents (9 chapters)

Creating your own custom OpenDaylight command using the Maven archetype

OpenDaylight's Karaf console provides a multitude of useful commands for interacting with the OSGi runtime, and managing deployed applications. You may want to develop custom commands that integrate directly with Karaf so that you may automate tasks, or interact directly with your applications.

Custom Karaf commands will appear in your container as a fully integrated component of the console:

The preceding screenshot illustrates our sample cookbook command accepting an option flag and an argument; let's dive into building your own command.

Getting ready

The ingredients of this recipe include an OpenDaylight distribution kit, access to a JDK...