OpenDaylight Cookbook
  1. 336 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub
Book details
Book preview
Table of contents
Citations

About This Book

Over 90 recipes to gain the critical skills needed to deploy and manage OpenDaylight-based solutionsAbout This Book• This book will help you to build intelligent SDN networks that save your company time, money, and resources• From eminent authors, learn to address real-world challenges and troubleshoot day-to-day scalability and performance problems faced in OpenDayLight deployments• This is the only book that offers you quick fixes to create your own branded OpenDaylightWho This Book Is ForThis book is for experienced network administrators and IT professionals who are using or deploying SDN/OpenDaylight and are looking to gain expertise in building SDN solutions for organizations.What You Will Learn• Grasp the fundamentals of OpenDaylight• Customize, authenticate, & authorize in OpenDaylight• Analyse network access control and policy• Manage datacenter optimization• Integrate OpenDaylight with third-party frameworks• Deploy, configure, and tune OpenDaylight-based solutionsIn DetailOpenDaylight 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.Style and approachWith a diverse range of topics, this will be a guide which will help the readers gain the necessary skills needed to deploy and operate OpenDaylight in your organisation through practical recipes.

Frequently asked questions

Simply head over to the account section in settings and click on “Cancel Subscription” - it’s as simple as that. After you cancel, your membership will stay active for the remainder of the time you’ve paid for. Learn more here.
At the moment all of our mobile-responsive ePub books are available to download via the app. Most of our PDFs are also available to download and we're working on making the final remaining ones downloadable now. Learn more here.
Both plans give you full access to the library and all of Perlego’s features. The only differences are the price and subscription period: With the annual plan you’ll save around 30% compared to 12 months on the monthly plan.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, we’ve got you covered! Learn more here.
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Yes, you can access OpenDaylight Cookbook by Mathieu Lemay, Alexis de Talhouet, Jamie Goodyear, Rashmi Pujar, Mohamed El-Serngawy, Yrineu Rodrigues in PDF and/or ePUB format, as well as other popular books in Computer Science & Computer Networking. We have over one million books available in our catalogue for you to explore.

Information

Year
2017
ISBN
9781786469052
Edition
1

Network Virtualization

In this chapter, we will cover the following recipes:
  • Network virtualization with OpenFlow
  • Integrating with OpenStack neutron
  • OpenStack integration with OpenDaylight
  • Edge-based virtual networks
  • Service function chaining

Introduction

Network virtualization provides the ability to decouple network hardware resources from a virtual network to scale better and be supported in a virtual environment. Virtualization is the capacity to simulate a hardware platform in software using one hardware platform to support multiple virtual machines (VMs), which are manageable on demand. Network function virtualization (NFV) enables the shift toward network function as virtualized software.
Coupled with software defined networking, NFV's interaction can be highly increased and customized in order to provide fine-grained optimization for the cloud/data center. Dynamic provisioning and monitoring, scale-out infrastructure using on-demand network functions, better management and understanding of production topology, and many other functions are some of the benefits NFV and SDN are bringing to the telecommunications ecosystem. This offers cost-effective, scalable, and manageable solutions.
Within this chapter, we will see some usage of network virtualization provided by OpenDaylight.
REST API access is using user: admin, and password: admin.
While carrying out the recipes, REST requests could be required, for which you will be provided the operation, the headers, the payload, and the URL. To send those requests, use a curl command as follows:
 curl -v --user "admin":"admin" -H "Accept: application/json" -H "Content-type: application/json" -k -X ${OPERATION} -d ' 
${PAYLOAD}'

Network virtualization with OpenFlow

A company is conventionally divided into several departments, each having a well-defined purpose. The same goes for the network system and hardware residing within each of these departments. The purpose of the virtual network tenant project of OpenDaylight is to alleviate the physical network consideration, letting the software deal with it. Virtual Tenant Network (VTN) allows you to create network functions as virtual entities without having to consider the physical network, as it will automatically map the desired network capabilities on it once the configuration is done. Thus, you will better utilize resources and reduce the reconfiguration time of network services.
The project provides two main components:
  • VTN Manager:
    • This is an internal OpenDaylight application that interacts with other modules, implementing components of the VTN model. Using REST APIs, you can create, delete, update, and remove (CRUD) VTN components as desired. Also, the VTN Manager implements the OpenStack L2 network function API.
  • VTN Coordinator:
    • Provided as an external application, but delivered in the OpenDaylight release package, it allows REST APIs to interact with the VTN Manager component in order to define user configuration. It is part of the services and orchestration layer, supporting multi-controller orchestration and enabling virtual network tenant functionalities.
The purpose of this recipe is to provide a virtual layer 2 network in order to interconnect hosts using a virtual bridge using the VTN manager component.

Getting ready

This recipe will require one virtual switch. If you don't have one, you can use a Mininet-VM with OvS installed. You can download Mininet-VM from https://github.com/mininet/mininet/wiki/Mininet-VM-Images. Any version should work.
The following recipe will be presented using a Mininet-VM with OvS 2.3.1.
If you have Postman, get the Postman collection for this recipe:
https://www.getpostman.com/collections/d49899eae85985d8e4ba

How to do it...

Perform the following steps:
  1. Now that you have downloaded all the required ingredients, and you have an environment to perform this recipe, let's create a virtual layer 2 network.
  2. Start the OpenDaylight distribution using the karaf script. Using this script will give you access to the karaf CLI:
 $ ./bin/karaf 
  1. Install the user-facing feature responsible for pulling in all dependencies needed to connect an OpenFlow switch:
 opendaylight-user@root>feature:install odl-vtn-manager-neutron opendaylight-user@root>feature:install odl-vtn-manager-rest 
It might take a minute or so to complete the installation.
VTN manager features are incompatible with other OpenStack-related features pulling in neutron northbound (NN), and aren't compatible with other flow programming features.
  1. Connect the OvS instance to OpenDaylight in either passive or active mode:
  • Login to Mininet-VM using the credentials:
    • Username: mininet
    • Password: mininet
  • Connect to OvS using active mode:
 $ sudo ovs-vsctl set-manager tcp:${CONTROLLER_IP}:6640 
Here, ${CONTROLLER_IP} is the IP address of the host running OpenDaylight.
Our virtual switch is n...

Table of contents

  1. Title Page
  2. Copyright
  3. Credits
  4. About the Authors
  5. About the Reviewer
  6. www.PacktPub.com
  7. Customer Feedback
  8. Preface
  9. OpenDaylight Fundamentals
  10. Virtual Customer Edge
  11. Dynamic Interconnects
  12. Network Virtualization
  13. Virtual Core and Aggregation
  14. Intent and Policy Networking
  15. OpenDaylight Container Customizations
  16. Authentication and Authorization