sdn: network agility in the cloud

37
Sebastien Goasguen, July 24 th 2013 #OSCON @sebgoa SDN: Adding Network Agility to the Cloud

Upload: sebastien-goasguen

Post on 10-May-2015

2.094 views

Category:

Technology


4 download

DESCRIPTION

A presentation on Software Defined Networking, its concepts and application in cloud computing. I gave this presentation at OSCON 2013 in Portland: http://www.oscon.com/oscon2013/public/schedule/detail/31391. It starts with an introduction about SDN and some key concepts from the whitepaper at the Open Networking Foundation (ONF), I explain how OpenFlow and SDN differ, openflow being a standard protocol to control network devices. I then go on to review the many controllers out there and introduce a few key ones like floodlight, opendaylight, nicira. I give an overview of SDN integration in cloudplatform; opennebula, openstack and cloudstack and then gave a quick demo of the OpenDayLight controller.

TRANSCRIPT

Page 1: SDN: Network Agility in the Cloud

Sebastien Goasguen,

July 24th 2013

#OSCON @sebgoa

SDN: Adding Network Agility to the Cloud

Page 2: SDN: Network Agility in the Cloud

Outline

Introduction to SDN

Controllers and Switches

Quick start demo of OpenDaylight

SDN in Cloud Platforms

Page 3: SDN: Network Agility in the Cloud

My SDN experience

~March 2012

Elastic IP and Security Group in Opennebula

Using NOX Open flow controller

http://blog.opennebula.org/?p=2695http://code.google.com/p/onenox/

Page 4: SDN: Network Agility in the Cloud

My SDN experience

~Summer 2013

Google Summer of Code project

Xen/XCP support for native GRE controller in Apache CloudStack

http://ngtuna.blogspot.com

Page 5: SDN: Network Agility in the Cloud

Drag picture to placeholder or click icon to add

Software Defined Networking

SDN: Adding Network Agility to the Cloud #oscon

Page 6: SDN: Network Agility in the Cloud

What is SDN ?

https://www.opennetworking.org/competition

Page 7: SDN: Network Agility in the Cloud

What is SDN ?

https://www.opennetworking.org/sdn-resources/sdn-library/whitepapers

Page 8: SDN: Network Agility in the Cloud

SDN:

A new network architecture that abstracts the physical network to provide:

• Automation• Dynamic provisioning

In order to enable business innovation

SDN: Adding Network Agility to the Cloud #oscon

Page 9: SDN: Network Agility in the Cloud

Why ?

Fair use of images

Page 10: SDN: Network Agility in the Cloud

Because

Fair use of images

Page 11: SDN: Network Agility in the Cloud

Architecture

https://www.opennetworking.org/sdn-resources/sdn-definition

Page 12: SDN: Network Agility in the Cloud

Software Defined Networking

• Enable innovation, experimentation, optimization and customization of networks

• Move control of the network to software. i.e Programmable network

• Virtualize the network• Beyond traditional network virtualization ala VPN and

VLAN• Enables overlays with control at the edges

• Existing Vendor-agnostic, standard protocol for control: OpenFlow

Page 13: SDN: Network Agility in the Cloud

OpenFlow

Leading SDN protocolDecouples control and data plane by giving a controller the ability to install flow rules on switches.Hardware or software switches can use OpenFlowSpec driven by ONF

• Google achieved 95% utilization of WAN backbone by using SDN

Page 14: SDN: Network Agility in the Cloud

OpenFlow ProtocolOpenFlow rules can drop, rewrite, forward packets

http://www.openflow.org/wp/documents/

SwitchPort

MACsrc

MACdst

Ethtype

VLANID

IPSrc

IPDst

IPProt

TCPsport

TCPdport

Rule Action Stats

1. Forward packet to port(s)2. Encapsulate and forward to controller3. Drop packet4. Send to normal processing pipeline

Packet + byte counters

Page 15: SDN: Network Agility in the Cloud

OF scalability ?

• Central Logical controller not a single point of failure

• ONOS to be Open Sourced in the ~fall

• Scale-out design, availability

• Cassandra + message bus

http://onlab.us/tools.html

Page 16: SDN: Network Agility in the Cloud

“SDN” Timeline

Feb 2011: OF v 1.1

Dec 2011: OF v 1.2

Feb 2012: Floodlight project

April 2012: ONF talk by Google

July 2012: Vmware acquires Nicira

April 2013: OpenDayLight

Page 17: SDN: Network Agility in the Cloud

GENI

http://www.geni.nethttp://www.openflow.org/wp/tag/demo/http://groups.geni.net/geni/wiki/GENIRacksHome

“GENI is a virtual laboratory at the frontiers of network science and engineering for exploring future internets at scale. GENI creates major opportunities to understand, innovate and transform global networks and their interactions with society.”

Dec 2008: VM Mobility June 2010: Aster*x Load Balancing

~ 2011: GENI Racks2009: FlowVisor

Page 18: SDN: Network Agility in the Cloud

Drag picture to placeholder or click icon to add

Controllers and Switches

SDN: Adding Network Agility to the Cloud #oscon

Page 19: SDN: Network Agility in the Cloud

OF Controllers and more …• Several controllers out there (NOX,

POX,Trema, Beacon…)

http://yuba.stanford.edu/~casado/of-sw.htmlhttps://networkheresy.com

Page 20: SDN: Network Agility in the Cloud

OpenVSwitch

“Open vSwitch is a production quality, multilayer virtual switch licensed under the open source Apache 2.0 license. It is designed to enable the massive network automation through programmatic extension…”

Page 21: SDN: Network Agility in the Cloud

e.g OVS rate limiting

Can enforce QoS with rate limiting controlsovs-vsctl set Interface tap0 ingress_policing_rate=1000ovs-vsctl set Interface tap0 ingress_policing_burst=100

Page 22: SDN: Network Agility in the Cloud

e.g OVS VLAN tagging

ovs-vsctl add-br br0ovs-vsctl add-port br0 eth0ovs-vsctl add-port br0 tap0 tag=1ovs-vsctl add-port br0 tap1 tag=2

Complement on host2…

Page 23: SDN: Network Agility in the Cloud

e.g OVS and GRE tunnels

No Cookbook on OVS pageovs-vsctl add-port br1 gre1 -- set interface gre1 type=gre options:remote_ip=192.168.1.152

http://blog.scottlowe.org/2013/05/07/using-gre-tunnels-with-open-vswitch/

Page 24: SDN: Network Agility in the Cloud

OVS and Openflow

Point OVS switches to an OF controller:$ovs_vsctl set-controller br0 tcp 192.168.1.33:6633

Install rules on switch• Proactively (before any packet flows)• Reactively (unknown packets forwarded to

controller, who pushes flow mod on switch, then operates at line rate)

Page 25: SDN: Network Agility in the Cloud

Switch Light, Indigo (IVS)

http://www.projectfloodlight.org/indigo/

Page 26: SDN: Network Agility in the Cloud

OpenDaylight

http://www.opendaylight.org

Page 27: SDN: Network Agility in the Cloud

Drag picture to placeholder or click icon to add

OpenDaylight Demo ?

Page 28: SDN: Network Agility in the Cloud

Drag picture to placeholder or click icon to add

SDN in Cloud Platforms

SDN: Adding Network Agility to the Cloud #oscon

Page 29: SDN: Network Agility in the Cloud

OpenNebulaSupports VLAN tagging and rate limiting through “hooks” that call ovs_vsctlScripts executed on an hypervisor before a VM is launchedPotentially also executed after VM shutdown for cleanupAlso supports OpenFlow

http://opennebula.org/documentation:rel4.0:vgg

Page 30: SDN: Network Agility in the Cloud

Quantum == Neutron

https://wiki.openstack.org/wiki/NeutronThanks to @hui_kenneth for diagram

Page 31: SDN: Network Agility in the Cloud

Quantum == Neutron

https://wiki.openstack.org/wiki/Neutron

Page 32: SDN: Network Agility in the Cloud

CloudStack Network API

Page 33: SDN: Network Agility in the Cloud

CloudStack Nicira NVP Support

By Hugo Trippaers @Spark404, Schuberg PhilisIsolated Networks in advanced Zone 4.0+L3 functionalities in 4.2

http://www.youtube.com/watch?v=F-FgHni7W34

Page 34: SDN: Network Agility in the Cloud

CloudStack + Nicira NVP

Insert Presentation Title Here

Page 35: SDN: Network Agility in the Cloud

CloudStack SDN Plugins

Thanks to @spark404 for table

Page 36: SDN: Network Agility in the Cloud

Conclusions• Network abstractions to decouple from the

physical network is the last leg of Cloud• SDN provides an architecture to abstract the

network• OpenFlow is a standard that can be used to

create SDN implementations• SDN is key to innovation in networking• The Open Cloud Platforms are embracing SDN

solutions as network providers for multi-tenancy

Page 37: SDN: Network Agility in the Cloud

Get Involved with Apache CloudStack

Web: http://cloudstack.apache.org/

Mailing Lists: cloudstack.apache.org/mailing-lists.html

IRC:  irc.freenode.net: 6667 #cloudstack

Twitter:  @cloudstack

LinkedIn: www.linkedin.com/groups/CloudStack-Users-Group-3144859

If it didn’t happen on the mailing list, it didn’t happen.