Book Image

Learning OpenDaylight

By : Reza Toghraee
Book Image

Learning OpenDaylight

By: Reza Toghraee

Overview of this book

OpenDaylight is an open source, software-defined network controller based on standard protocols. It aims to accelerate the adoption of Software-Defined Networking (SDN) and create a solid foundation for Network Functions Virtualization (NFV). SDN is a vast subject; many network engineers find it difficult to get started with using and operating different SDN platforms. This book will give you a practical bridge from SDN theory to the practical, real-world use of SDN in datacenters and by cloud providers. The book will help you understand the features and use cases for SDN, NFV, and OpenDaylight. NFV uses virtualization concepts and techniques to create virtual classes for node functions. Used together, SDN and NFV can elevate the standards of your network architecture; generic hardware-saving costs and the advanced and abstracted software will give you the freedom to evolve your network in the future without having to invest more in costly equipment. By the end of this book, you will have learned how to design and deploy OpenDaylight networks and integrate them with physical network switches. You will also have mastered basic network programming over the SDN fabric.
Table of Contents (18 chapters)
Title Page
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Customer Feedback
Dedication
Preface

Integrating a Mininet virtual switch with OpenDaylight


Let's start building a Mininet topology with one switch and two hosts. Before we start, ensure your OpenDaylight instance is up and running and you can access it via the web interface; verify that you can successfully log in as well.

If for any reason you are unable to log in to your OpenDaylight web interface, go back to your installation steps and review the configuration or perform a fresh installation.

Now a quick flashback to Chapter 3, OpenDaylight Installation and Deployment. If you are reinstalling OpenDaylight, ensure you are extracting the OpenDaylight instance from the original TAR file. Run /opt/OpenDayLight/boron/bin/karaf for the first time. After landing on Karaf (OpenDaylight) Command Prompt, run the following command:

>feature:install odl-dlux-all odl-restconf odl-l2switch-switch odl-mdsal-apidocs

This command will install all the required modules to enable OpenDaylight to work as a basic SDN controller. The OpenDaylight...