Top Banner
Software Defined Networks and OpenFlow SDN CIO Summit 2010 Nick McKeown & Guru Parulkar Stanford University In collaboration with Martin Casado and Scott Shenker And contributions by many others
41

Software Defined Networks and OpenFlow SDN CIO Summit 2010 Nick McKeown & Guru Parulkar Stanford University In collaboration with Martin Casado and Scott.

Dec 28, 2015

Download

Documents

Kellie Watson
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Software Defined Networks and OpenFlow SDN CIO Summit 2010 Nick McKeown & Guru Parulkar Stanford University In collaboration with Martin Casado and Scott.

Software Defined Networksand OpenFlow

SDN CIO Summit 2010

Nick McKeown & Guru Parulkar

Stanford University

In collaboration with Martin Casado and Scott ShenkerAnd contributions by many others

Page 2: Software Defined Networks and OpenFlow SDN CIO Summit 2010 Nick McKeown & Guru Parulkar Stanford University In collaboration with Martin Casado and Scott.

Executive Summary

• The network industry is starting to restructure• The trend: “Software Defined Networks”

– Separation of control from datapath– Faster evolution of the network

• It has started in large data centers• It may spread to WAN, campus, enterprise,

home and cellular networks• GENI is putting SDN into hands of researchers

2

Page 3: Software Defined Networks and OpenFlow SDN CIO Summit 2010 Nick McKeown & Guru Parulkar Stanford University In collaboration with Martin Casado and Scott.

What’s the problem?

3

Page 4: Software Defined Networks and OpenFlow SDN CIO Summit 2010 Nick McKeown & Guru Parulkar Stanford University In collaboration with Martin Casado and Scott.

Cellular industry

• Recently made transition to IP• Billions of mobile users• Need to securely extract payments and hold

users accountable

• IP sucks at both, yet hard to change

How can they fix IP to meet their needs?4

Page 5: Software Defined Networks and OpenFlow SDN CIO Summit 2010 Nick McKeown & Guru Parulkar Stanford University In collaboration with Martin Casado and Scott.

Telco Operators

• Global IP traffic growing 40-50% per year• End-customer monthly bill remains unchanged• Therefore, CAPEX and OPEX need to reduce 40-

50% per Gb/s per year• But in practice, reduces by ~20% per year

How can they stay in business?How can they differentiate their service?

5

Page 6: Software Defined Networks and OpenFlow SDN CIO Summit 2010 Nick McKeown & Guru Parulkar Stanford University In collaboration with Martin Casado and Scott.

Trend #1(Logical) centralization of control

6

Page 7: Software Defined Networks and OpenFlow SDN CIO Summit 2010 Nick McKeown & Guru Parulkar Stanford University In collaboration with Martin Casado and Scott.

Already happening

Enterprise WiFi– Set power and channel centrally– Route flows centrally, cache decisions in APs– CAPWAP etc.

Telco backbone networks– Calculate routes centrally– Cache routes in routers

7

Page 8: Software Defined Networks and OpenFlow SDN CIO Summit 2010 Nick McKeown & Guru Parulkar Stanford University In collaboration with Martin Casado and Scott.

Experiment: Stanford campusHow hard is it to centrally control all

flows?20

06

35,000 users10,000 new flows/sec137 network policies

2,000 switches2,000 switch CPUs

Page 9: Software Defined Networks and OpenFlow SDN CIO Summit 2010 Nick McKeown & Guru Parulkar Stanford University In collaboration with Martin Casado and Scott.

How many $400 PCs to centralize all routing and all 137 policies?

Controllers

Host AHost B

[Ethane, Sigcomm ‘07]

EthernetSwitch

EthernetSwitch

EthernetSwitch

EthernetSwitch

EthernetSwitch

EthernetSwitch

EthernetSwitch

EthernetSwitch

Page 10: Software Defined Networks and OpenFlow SDN CIO Summit 2010 Nick McKeown & Guru Parulkar Stanford University In collaboration with Martin Casado and Scott.

Answer:

10

less than one

Page 11: Software Defined Networks and OpenFlow SDN CIO Summit 2010 Nick McKeown & Guru Parulkar Stanford University In collaboration with Martin Casado and Scott.

If you can centralize control, eventually you will.

With replication for fault-tolerance and performance scaling.

11

Page 12: Software Defined Networks and OpenFlow SDN CIO Summit 2010 Nick McKeown & Guru Parulkar Stanford University In collaboration with Martin Casado and Scott.

How will the network be structured?

12

Page 13: Software Defined Networks and OpenFlow SDN CIO Summit 2010 Nick McKeown & Guru Parulkar Stanford University In collaboration with Martin Casado and Scott.

Million of linesof source code

5900 RFCs Barrier to entry

Billions of gates Bloated Power Hungry

Vertically integratedMany complex functions baked into the infrastructure

OSPF, BGP, multicast, differentiated services,Traffic Engineering, NAT, firewalls, MPLS, redundant layers, …

Looks like the mainframe industry in the 1980s

The Current Network

Specialized Packet Forwarding Hardware

OperatingSystem

Feature Feature

Routing, management, mobility management, access control, VPNs, …

13

Page 14: Software Defined Networks and OpenFlow SDN CIO Summit 2010 Nick McKeown & Guru Parulkar Stanford University In collaboration with Martin Casado and Scott.

Specialized Packet Forwarding Hardware

Feature Feature

Specialized Packet Forwarding Hardware

Specialized Packet Forwarding Hardware

Specialized Packet Forwarding Hardware

Specialized Packet Forwarding Hardware

OperatingSystem

OperatingSystem

OperatingSystem

OperatingSystem

OperatingSystem

Network OS

Feature Feature

Feature Feature

Feature Feature

Feature Feature

Feature Feature

Restructured Network

14

Page 15: Software Defined Networks and OpenFlow SDN CIO Summit 2010 Nick McKeown & Guru Parulkar Stanford University In collaboration with Martin Casado and Scott.

Trend #2Software-Defined Network

15

Page 16: Software Defined Networks and OpenFlow SDN CIO Summit 2010 Nick McKeown & Guru Parulkar Stanford University In collaboration with Martin Casado and Scott.

Feature Feature

Network OS

1. Open interface to packet forwarding

3. Well-defined open API2. At least one Network OS

probably many.Open- and closed-source

The “Software-defined Network”

OpenFlow

16

PacketForwarding

PacketForwarding

PacketForwarding

PacketForwarding

PacketForwarding

PacketForwarding

PacketForwarding

PacketForwarding

PacketForwarding

PacketForwarding

Page 17: Software Defined Networks and OpenFlow SDN CIO Summit 2010 Nick McKeown & Guru Parulkar Stanford University In collaboration with Martin Casado and Scott.

OpenFlow Basics

Narrow, vendor-agnostic interface to control switches, routers, APs, basestations.

17

Page 18: Software Defined Networks and OpenFlow SDN CIO Summit 2010 Nick McKeown & Guru Parulkar Stanford University In collaboration with Martin Casado and Scott.

Network OS

Step 1: Separate Control from Datapath

18

OpenFlow Switch

OpenFlow Switch

OpenFlow Switch

OpenFlow Switch

Page 19: Software Defined Networks and OpenFlow SDN CIO Summit 2010 Nick McKeown & Guru Parulkar Stanford University In collaboration with Martin Casado and Scott.

Step 2: Cache flow decisions in datapath

“If header = x, send to port 4”

“If header = ?, send to me”“If header = y, overwrite header with z, send to ports 5,6”

19

OpenFlow Switch

OpenFlow Switch

OpenFlow Switch

OpenFlow Switch

FlowTableFlowTable

Network OS

Page 20: Software Defined Networks and OpenFlow SDN CIO Summit 2010 Nick McKeown & Guru Parulkar Stanford University In collaboration with Martin Casado and Scott.

Plumbing Primitives1. Match arbitrary bits in headers:

– Match on any header; or user-defined header– Allows any flow granularity

2. Actions:– Forward to port(s), drop, send to controller– Overwrite header with mask, push or pop– Forward at specific bit-rate

20

HeaderHeaderDataData

e.g. Match: 1000x01xx0101001x

Page 21: Software Defined Networks and OpenFlow SDN CIO Summit 2010 Nick McKeown & Guru Parulkar Stanford University In collaboration with Martin Casado and Scott.

Ethernet Switch/RouterEthernet Switch/Router

Page 22: Software Defined Networks and OpenFlow SDN CIO Summit 2010 Nick McKeown & Guru Parulkar Stanford University In collaboration with Martin Casado and Scott.

Data Path (Hardware)Data Path (Hardware)

Control PathControl PathControl Path (Software)Control Path (Software)

Page 23: Software Defined Networks and OpenFlow SDN CIO Summit 2010 Nick McKeown & Guru Parulkar Stanford University In collaboration with Martin Casado and Scott.

Data Path (Hardware)Data Path (Hardware)

Control PathControl Path OpenFlowOpenFlow

OpenFlow ControllerOpenFlow Controller

OpenFlow Protocol (SSL)

Page 24: Software Defined Networks and OpenFlow SDN CIO Summit 2010 Nick McKeown & Guru Parulkar Stanford University In collaboration with Martin Casado and Scott.

Feature Feature

Network OS

1. Open interface to packet forwarding

3. Well-defined open API2. At least one Network OS

probably many.Open- and closed-source

The “Software Defined Network”

24

Packet Forwarding

Packet Forwarding

Packet Forwarding

Packet Forwarding

Packet Forwarding

Packet Forwarding

Packet Forwarding

Packet Forwarding

Packet Forwarding

Packet Forwarding

Page 25: Software Defined Networks and OpenFlow SDN CIO Summit 2010 Nick McKeown & Guru Parulkar Stanford University In collaboration with Martin Casado and Scott.

Network OS

Several commercial Network OS in development– Commercial deployments late 2010

Research– Research community mostly uses NOX– Open-source available at: http://noxrepo.org– Expect new research OS’s late 2010

25

Page 26: Software Defined Networks and OpenFlow SDN CIO Summit 2010 Nick McKeown & Guru Parulkar Stanford University In collaboration with Martin Casado and Scott.

Software Defined Networks in Data Centers

26

Page 27: Software Defined Networks and OpenFlow SDN CIO Summit 2010 Nick McKeown & Guru Parulkar Stanford University In collaboration with Martin Casado and Scott.

Example: New Data Center

Cost200,000 serversFanout of 20 10,000 switches$5k vendor switch = $50M$1k commodity switch = $10M

Savings in 10 data centers = $400M

Control

1.More flexible control2.Quickly improve and innovate3.Enables “cloud networking”

Several large data centers will use SDN.

Page 28: Software Defined Networks and OpenFlow SDN CIO Summit 2010 Nick McKeown & Guru Parulkar Stanford University In collaboration with Martin Casado and Scott.

Data Center Networks

Existing Solutions– Tend to increase hardware complexity– Unable to cope with virtualization and multi-

tenancy

Software Defined Network– OpenFlow-enabled vSwitch– Open vSwitch http://openvswitch.org – Network optimized for data center owner– Several commercial products under development

28

Page 29: Software Defined Networks and OpenFlow SDN CIO Summit 2010 Nick McKeown & Guru Parulkar Stanford University In collaboration with Martin Casado and Scott.

Software Defined Networks on College Campuses

29

Page 30: Software Defined Networks and OpenFlow SDN CIO Summit 2010 Nick McKeown & Guru Parulkar Stanford University In collaboration with Martin Casado and Scott.

What we are doing at Stanford

1. Defining the OpenFlow Spec– Check out http://OpenFlow.org– Open weekly meetings at Stanford

2. Enabling researchers to innovate– Add OpenFlow to commercial switches, APs, …– Deploy on college campuses– “Slice” network to allow many experiments

30

Page 31: Software Defined Networks and OpenFlow SDN CIO Summit 2010 Nick McKeown & Guru Parulkar Stanford University In collaboration with Martin Casado and Scott.

OpenFlow

Virtualization or “Slicing” Layer

Isolated “slices”

Packet Forwarding

Packet Forwarding

Packet Forwarding

Packet Forwarding

Packet Forwarding

Packet Forwarding

Packet Forwarding

Packet Forwarding

Network Operating System 1

Network Operating System 2

Network Operating System 3

Network Operating System 4

Feature

OpenFlow

Feature Feature Feature

Packet Forwarding

Packet Forwarding

Page 32: Software Defined Networks and OpenFlow SDN CIO Summit 2010 Nick McKeown & Guru Parulkar Stanford University In collaboration with Martin Casado and Scott.

Some research examples

32

Page 33: Software Defined Networks and OpenFlow SDN CIO Summit 2010 Nick McKeown & Guru Parulkar Stanford University In collaboration with Martin Casado and Scott.

FlowVisor Creates Virtual Networks

OpenFlowProtocol

FlowVisor

OpenPipesExperiment

OpenFlow WirelessExperiment

OpenFlowProtocol

PlugNServeLoad-balancer

Policy #1Policy #1

Multiple, isolated slices in the same physical network

Multiple, isolated slices in the same physical network

OpenFlow Switch

OpenFlow Switch

OpenFlow Switch

Page 34: Software Defined Networks and OpenFlow SDN CIO Summit 2010 Nick McKeown & Guru Parulkar Stanford University In collaboration with Martin Casado and Scott.

Demo Infrastructure with Slicing

Page 35: Software Defined Networks and OpenFlow SDN CIO Summit 2010 Nick McKeown & Guru Parulkar Stanford University In collaboration with Martin Casado and Scott.

Application-specific Load-balancing

OpenFlow Switch

OpenFlow Switch

OpenFlow Switch

OpenFlow Switch

InternetInternet

OpenFlow Switch

Goal: Minimize http response time over campus networkApproach: Route over path to jointly minimize <path latency, server latency>

Network OS

Load-Balancer

“Pick path & server”

Page 36: Software Defined Networks and OpenFlow SDN CIO Summit 2010 Nick McKeown & Guru Parulkar Stanford University In collaboration with Martin Casado and Scott.

Intercontinental VM MigrationMoved a VM from Stanford to Japan without changing its IP.

VM hosted a video game server with active network connections.

Moved a VM from Stanford to Japan without changing its IP.

VM hosted a video game server with active network connections.

Page 37: Software Defined Networks and OpenFlow SDN CIO Summit 2010 Nick McKeown & Guru Parulkar Stanford University In collaboration with Martin Casado and Scott.

Feature Feature

NOX

Converging Packet and Circuit Networks

IPRouter

IPRouter

TDMSwitchTDM

Switch

WDMSwitchWDMSwitch

WDMSwitchWDMSwitch

IPRouter

IPRouter

Goal: Common control plane for “Layer 3” and “Layer 1” networksApproach: Add OpenFlow to all switches; use common network OS

OpenFlowProtocol

OpenFlowProtocol

[Supercomputing 2009 Demo][OFC 2010]

Page 38: Software Defined Networks and OpenFlow SDN CIO Summit 2010 Nick McKeown & Guru Parulkar Stanford University In collaboration with Martin Casado and Scott.

ElasticTreeGoal: Reduce energy usage in data center networksApproach:

1. Reroute traffic2. Shut off links and switches to reduce power

[NSDI 2010]

Network OS

DCManager

“Pick paths”

Page 39: Software Defined Networks and OpenFlow SDN CIO Summit 2010 Nick McKeown & Guru Parulkar Stanford University In collaboration with Martin Casado and Scott.

ElasticTreeGoal: Reduce energy usage in data center networksApproach:

1. Reroute traffic2. Shut off links and switches to reduce power

[NSDI 2010]

XXXX XX

XX XXNetwork OS

DCManager

“Pick paths”

Page 40: Software Defined Networks and OpenFlow SDN CIO Summit 2010 Nick McKeown & Guru Parulkar Stanford University In collaboration with Martin Casado and Scott.

Executive Summary

• The network industry is starting to restructure• The trend: “Software Defined Networks”

– Separation of control from datapath– Faster evolution of the network

• It has started in large data centers• It may spread to WAN, campus, enterprise,

home and cellular networks• GENI is putting SDN into hands of researchers

40

Page 41: Software Defined Networks and OpenFlow SDN CIO Summit 2010 Nick McKeown & Guru Parulkar Stanford University In collaboration with Martin Casado and Scott.

Thank you

41