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

OpenDaylight VLAN LAB


In this lab, we will build a network with three switches and six hosts. We will create two VLANs (VLAN 100 and VLAN 200) and assign hosts 1, 3, and 5 to VLAN 100 and hosts 2, 4, and 6 to VLAN 200. This is an interesting and important lab. I highly recommend you have this lab as it may lead you from traditional networking to the SDN world.

Let's have a look at our VLAN lab topology:

The topology is very simple: two VLANs, three switches, and six hosts. Host are assigned to different VLANs. Our objective is to use OpenDaylight and VTN to deploy VLAN (or better put, the layer 2 isolation) between the hosts. Switches are the OVS-enabled switches based on Mininet.

Here are the steps you need to follow in this lab:

  1. Setting up the environment in Mininet
  2. Setting up the VTN modules in OpenDaylight
  3. Setting up and building your REST client
  4. Using the Rest API to create a virtual tenant and virtual bridges in OpenDaylight
  5. Testing

Let's start with having some fun with Mininet.

Step 1 - Setting...