• No results found

Software Defined Networks (SDN)

N/A
N/A
Protected

Academic year: 2021

Share "Software Defined Networks (SDN)"

Copied!
51
0
0

Loading.... (view fulltext now)

Full text

(1)

Software Defined Networks (SDN)

Nick McKeown

Stanford University

With: Martín Casado, Teemu Koponen, Scott Shenker

… and many others

With thanks to: NSF, GPO, Stanford Clean Slate Program,  Cisco, DoCoMo, DT, Ericsson, Google, HP, Huawei, NEC, Xilinx 

(2)

Outline

1. What are Software Defined  Networks?

2. Why SDN?

3. The Consequences

– For industry – For research

– For standards and protocols

(3)

Vertically integrated Closed, proprietary

Slow innovation Small industry

Specialized Operating

System Specialized

Hardware

App App App App App App App App App App App

Specialized Applications

Horizontal Open interfaces Rapid innovation

Huge industry

Microprocessor Open Interface

Linux Mac

OS

Windows

(OS) or or

Open Interface

(4)

Vertically integrated Closed, proprietary

Slow innovation

App App App App App App App App App App App

Horizontal Open interfaces Rapid innovation

Control Plane

Control Plane Control

Plane or or

Open Interface

Specialized Control

Plane Specialized

Hardware Specialized

Features

Merchant Switching Chips

Open Interface

(5)

Million of lines

of source code 6,000 RFCs

Billions of gates

Bloated Power Hungry

Vertically integrated, complex, closed, proprietary

Networking industry with “mainframe” mind‐set

Custom Hardware

OS

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

Featur

e Feature

(6)

Custom Hardware

Custom Hardware

Custom Hardware

Custom Hardware

Custom Hardware

OS

OS

OS

OS

OS

Network OS

Feature Feature

The network is changing

Feature Feature

Feature Feature

Feature Feature

Feature Feature

Feature Feature

(7)

Feature Feature Network OS

1. Open interface to packet forwarding

3. Consistent, up‐to‐date global network view 2. At least one Network OS probably many.

Open‐ and closed‐source

Software Defined Network (SDN)

Packet Forwarding 

Packet Forwarding 

Packet Forwarding 

Packet Forwarding 

Packet Forwarding 

Packet Forwarding 

Packet Forwarding 

Packet Forwarding 

Packet Forwarding 

Packet Forwarding 

(8)

Network OS

Network OS: distributed system that creates a  consistent, up‐to‐date network view

Runs on servers (controllers) in the network

NOX, ONIX, Trema, Beacon, Maestro, … + more

Uses forwarding abstraction to:

Get state information from forwarding elements Give control directives to forwarding elements

(9)

Control Program A Control Program B Network OS

Software Defined Network (SDN)

Packet Forwarding 

Packet Forwarding 

Packet Forwarding 

Packet Forwarding 

Packet Forwarding 

Packet Forwarding 

Packet Forwarding 

Packet Forwarding 

Packet Forwarding 

Packet Forwarding 

(10)

Control Program

Control program operates on view of network

Input: global network view (graph/database) Output: configuration of each network device

Control program is not a distributed system

Abstraction hides details of distributed state

(11)

Forwarding Abstraction

Purpose: Abstract away forwarding hardware Flexible

Behavior specified by control plane

Built from basic set of forwarding primitives

Minimal

Streamlined for speed and low‐power Control program not vendor‐specific

OpenFlow is an example of such an abstraction

(12)

OpenFlow Basics

(13)

OpenFlow Protocol

Data Path (Hardware)

Control Path OpenFlow

Ethernet Switch Ethernet Switch

Network OS

Control Program A Control Program B

OpenFlow Basics

(14)

Control Program A Control Program B

Network OS

OpenFlow Basics

Packet Forwarding 

Packet Forwarding 

Packet Forwarding 

Packet Forwarding 

Packet Forwarding 

Packet Forwarding  Flow

Table(s) Flow Table(s)

“If header = p, send to port 4”

“If header = ?, send to me”

“If header = q, overwrite header with r, add header s, and send to ports 5,6”

(15)

Plumbing Primitives

<Match, Action>

Match arbitrary bits in headers:

Match on any header, or new header Allows any flow granularity

Action

Forward to port(s), drop, send to controller Overwrite header with mask, push or pop Forward at specific bit‐rate

15

Header Data

Match: 1000x01xx0101001x

(16)

General Forwarding Abstraction

Small set of primitives

“Forwarding instruction set”

Small set of primitives

“Forwarding instruction set”

Protocol independent Backward compatible Protocol independent Backward compatible

Switches, routers, WiFi APs,  basestations, TDM/WDM Switches, routers, WiFi APs, 

basestations, TDM/WDM

(17)

Three examples

(18)

Example 1. 

OSPF and Dijkstra

(19)

OSPF

RFC 2328: 245 pages

Distributed System

– Builds consistent, up‐to‐date map  of the network: 101 pages

Dijkstra’s Algorithm

Operates on map: 4 pages

(20)

Example

OSPF = Dijkstra IS‐IS

Network OS

Packet Forwarding 

Packet Forwarding 

Packet Forwarding 

Packet Forwarding 

Packet Forwarding 

Packet Forwarding 

Packet Forwarding 

Packet Forwarding  Distributed System

Custom Hardware

OS

OSPF IS‐IS

Distributed System

Distributed System

(21)

Example 2. 

Load‐balancing as  a network primitive

Nikhil Handigol, Mario Flajslik, Srini Seetharaman

(22)

LOAD‐BALANCER

(23)
(24)
(25)

Load Balancing is just 

Smart Routing

(26)
(27)

Experiment

Network OS: NOX

Experimental Setup

Packet Forwarding 

Packet Forwarding 

Packet Forwarding 

Packet Forwarding 

Packet Forwarding 

Packet Forwarding 

Packet Forwarding 

Packet Forwarding 

Packet Forwarding 

Packet Forwarding 

(28)

Experiment

Network OS: NOX

Experimental Setup with Slicing

Packet Forwarding 

Packet Forwarding 

Packet Forwarding 

Packet Forwarding 

Packet Forwarding 

Packet Forwarding 

Packet Forwarding 

Packet Forwarding 

Packet Forwarding 

Packet Forwarding 

Slicing Layer: FlowVisor

Experiment

NOX

Experiment

NOX

Experiment

NOX

(29)
(30)

Nikhil’s Experiment: 

<500 lines of code Feature Feature

Network OS: NOX

(31)

Research Example #2 Using all the wireless 

capacity around us

KK Yap, Masayoshi Kobayashi, Yiannis Yiakoumis, TY Huang

(32)
(33)

KK’s Experiment: 

<250 lines of code

WiMax

Feature

Network OS: NOX

(34)

More videos

openflow.org/videos

(35)

Outline

1. What are Software Defined  Networks?

2. Why SDN?  

3. The Consequences

– For industry – For research

– For standards and protocols

(36)

Great talk by Scott Shenker

http://www.youtube.com/watch?v=WVs7Pc99S7w

(Story summarized here)

(37)

Networking

Networking is “Intellectually Weak”

Networking is behind other fields

Networking is about the mastery of complexity

Good abstractions tame complexity

Interfaces are instances of those abstractions No abstraction => increasing complexity

We are now at the complexity limit

(38)

By comparison: Programming

Machine languages: no abstractions

Had to deal with low‐level details

Higher‐level languages: OS and other  abstractions

File system, virtual memory, abstract data types,  ...

Modern languages: even more abstractions

Object orientation, garbage collection,…

(39)

Programming Analogy

What if programmers had to:

Specify where each bit was stored

Explicitly deal with internal communication errors Within a programming language with limited 

expressability

Programmers would redefine problem by:

Defining higher level abstractions for memory Building on reliable communication primitives Using a more general language

(40)

Specification Abstraction

Network OS eases implementation Next step is to ease specification

Provide abstract view of network map

Control program operates on abstract view Develop means to simplify specification

(41)

Control Program A Control Program B

Software Defined Network (SDN)

Packet Forwarding 

Packet Forwarding 

Packet Forwarding 

Packet Forwarding 

Packet Forwarding 

Packet Forwarding 

Packet Forwarding 

Packet Forwarding 

Packet Forwarding 

Packet Forwarding 

Network OS

Global Network View Abstract Network View

Virtualization

(42)

Outline

1. What are Software Defined  Networks?

2. Why SDN?  

3. The Consequences

– For industry – For research

– For standards and protocols

(43)

SDN in development

Domains

Data centers

Enterprise/campus

Cellular backhaul

Enterprise WiFi

WANs

Products

Switches, routers: 

About 15 vendors

Software: About 6  vendors and startups

New startups (6 so far). Lots of hiring in networking.

(44)

Interop, May 2011

Demos: 16 companies demonstrated OpenFlow Best of show: NEC OpenFlow switch

"Interop 2011 could have been called the  OpenFlow Show.”  ‐ Computerworld 

(45)

Open Networking Foundation (ONF)

New non‐profit standards organization (Mar 2011) Defining standards for SDN, starting with OpenFlow

Board of Directors

Google, Facebook, Microsoft, Yahoo, DT, Verizon

39 Member Companies 

Cisco, VMware, IBM, Juniper, HP, Broadcom, Citrix, NTT, Intel,  Ericsson, Dell, Huawei, …  

http://www.OpenNetworkingFoundation.org

(46)

Cellular industry

Recently made transition to IP

Billions of mobile users

Need to securely extract payments and hold  users accountable

IP is bad at both, yet hard to change SDN enables industry to customize their 

network

(47)

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

SDN enables industry to reduce OPEX and CAPEX

…and to create new differentiating services

(48)

Example: New Data Center

Cost

200,000 servers

Fanout of 20  10,000 switches

$5k vendor switch = $50M

$1k commodity switch = $10M

Savings in 10 data centers = $400M

Control

More flexible control

Tailor network for services Quickly improve and innovate

(49)

Consequences for research

Ease of trying new ideas

Existing tools: NOX, Beacon, switches, Mininet More rapid technology transfer

GENI, Ofelia and many more

A stronger foundation to build upon

Provable properties of forwarding

New languages and specification tools

(50)

Consequences for standards

Standards will define the interfaces

The role of standards will change:

Network owners will define network behavior Features will be adopted without standards

Programming world

Good software is adopted, not standardized

(51)

Summary

Networks becoming

More programmatic

Defined by owners and operators, not vendors Faster changing, to meet operator needs

Lower opex, capex and power

Abstractions

Will shield programmers from complexity Make behavior more provable

Will take us places we can’t yet imagine

References

Related documents

Ì Hours 0 – 2: Sophos support engineers are involved and are actively working on resolution Ì Hour 2: Problem is escalated to Sophos support management.

18] reports that “20% of those firms using cycle counting achieved an (inventory record) accuracy of 98% or higher and more than 60% reached accuracies of 90% to 97%”, where

(Call the boys forward, indicating which adventure pin(s) each boy has earned and describing some of the things done to earn it. Present the awards for parents to put on the boys’

The empirical analyses, with respect to the widening of the MSB spread, lead to an interesting point regarding the source of risk incorporated in the valuation of the MSB,

frames, and for columns not designated as part of the seismic‐ force‐resisting system in structures assigned to seismic zone 4 (similar to ASCE 7‐10 Seismic Design Categories D, E,

An Aerodyne aerosol mass spectrometer (AMS) was deployed at each measurement site to investigate the chemical evolution of submicron organic aerosol (OA) in polluted air.. The

By contrast, most other graduate and professional programs within the university system had not had to change their admissions criteria and practice so drastically after

Å skape et godt forhold til både barn og foreldre er viktig for at barna skal oppleve barnehagen som et trygt og godt sted å være.. Dersom den daglige kommunikasjonen og