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
Software-Defined Networking (SDN) with OpenStack

You're reading from   Software-Defined Networking (SDN) with OpenStack Leverage the best SDN technologies for your OpenStack-based cloud infrastructure

Arrow left icon
Product type Paperback
Published in Oct 2016
Publisher
ISBN-13 9781786465993
Length 216 pages
Edition 1st Edition
Arrow right icon
Authors (2):
Arrow left icon
Sriram Subramanian Sriram Subramanian
Author Profile Icon Sriram Subramanian
Sriram Subramanian
Sreenivas Voruganti Sreenivas Voruganti
Author Profile Icon Sreenivas Voruganti
Sreenivas Voruganti
Arrow right icon
View More author details
Toc

Table of Contents (11) Chapters Close

Preface 1. OpenStack Networking in a Nutshell FREE CHAPTER 2. Introduction to Software-Defined Networking 3. SDN Protocols 4. SDN Networking with Open vSwitch 5. Getting Started with OpenDaylight 6. Using OpenDaylight with OpenStack 7. Getting Started with OpenContrail 8. OpenContrail Networking with OpenStack 9. Open Network Operating System (ONOS) 10. OVN and Open vSwitch Enhancements

OVS networking with SDN controller

Now let us bring the OpenFlow controller to the configuration to manage the OVS. We will use a controller implemented on Ryu (pronounced ree-yooh), a component-based software-defined networking framework. Ryu provides software components with well-defined northbound Python APIs and it supports OpenFlow protocol towards southbound. Refer to http://osrg.github.io/ryu/.

OVS networking with SDN controller

Figure 2: Ryu SDN framework

We will continue the example from the previous section, where we had two namespaces and two hosts. Let us first install the ryu SDN controller framework:

  • Install directly using the pip command.
    $ sudo pip install ryu
    
  • You can also install ryu from the source code.
    $ git clone git://github.com/osrg/ryu.git 
    $ cd ryu; python ./setup.py install
    

In this example, we will add Open Flow controller and verify OVS Open Flow table updates. Ryu is running locally, hence we set the OVS controller to the local IP address.

  1. The first step is to set the controller to the OVS...
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