OpenFlow and Software Defjned Networks Outline o The history of - - PowerPoint PPT Presentation

openflow and software defjned networks outline
SMART_READER_LITE
LIVE PREVIEW

OpenFlow and Software Defjned Networks Outline o The history of - - PowerPoint PPT Presentation

OpenFlow and Software Defjned Networks Outline o The history of OpenFlow o What is OpenFlow? o Slicing OpenFlow networks o Software Defjned Networks o Industry interest Original Question How can researchers on college campuses test out new


slide-1
SLIDE 1

OpenFlow and Software Defjned Networks

slide-2
SLIDE 2

Outline

  • The history of OpenFlow
  • What is OpenFlow?
  • Slicing OpenFlow networks
  • Software Defjned Networks
  • Industry interest
slide-3
SLIDE 3

Original Question

How can researchers on college campuses test out new ideas in a real network, at scale?

slide-4
SLIDE 4

Problem

Many good research ideas

  • n college campuses…

No way to test new ideas at scale, on real networks, with real user traffjc Many good research ideas

  • n college campuses…

No way to test new ideas at scale, on real networks, with real user traffjc Consequence: Almost no technology transfer Consequence: Almost no technology transfer

slide-5
SLIDE 5

Research problems

Well known problems Security, mobility, availability Well known problems Security, mobility, availability Incremental ideas

Fixing BGP, multicast, access control, Mobile IP, data center networks.

Incremental ideas

Fixing BGP, multicast, access control, Mobile IP, data center networks.

More radical changes

Energy management, VM mobility, …

More radical changes

Energy management, VM mobility, …

slide-6
SLIDE 6

How to build a test network with suffjcient scale and realism?

slide-7
SLIDE 7

Software Router

PC

+

Multi-Port NIC Total capacity: Only ~5Gb/s

slide-8
SLIDE 8
  • Diffjcult to develop,

always behind industry

  • Diffjcult to program,

constrained environment

  • T
  • o expensive

Custom Hardware

slide-9
SLIDE 9

Million of lines

  • f source

code 6,000 RFCs Billions of gates Bloated Power Hungry

Vertically integrated, complex, closed, proprietary Not suitable for experimental ideas

Specialized Packet Forwarding Hardware Operating System Featur e Featu re

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

Modify Existing Equipment

slide-10
SLIDE 10

The only test network large enough to evaluate future Internet technologies at scale, is the Internet itself.

slide-11
SLIDE 11

OpenFlow Protocol

Data Path (Hardware) Control Path OpenFlow

Controller Controller

(Server Software) (Server Software)

Controller Controller

(Server Software) (Server Software)

Ap p Ap p Ap p Ap p Ap p Ap p

slide-12
SLIDE 12

Slicing traffjc

All network traffic

Research traffic

Experiment #1 Experiment #2 … Experiment N

slide-13
SLIDE 13

OpenFlow Basics

slide-14
SLIDE 14

Research Experiments

Step 1:

Separate Control from Datapath

slide-15
SLIDE 15

Step 2: Cache fmow 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” Flow T able Flow T able

slide-16
SLIDE 16

Data Path (Hardware) Data Path (Hardware) Control Control Path Path OpenFlow OpenFlow OpenFlow OpenFlow Controller Controller

OpenFlow Protocol (SSL/TCP)

16

slide-17
SLIDE 17

Controller

PC

OpenFlow usage

OpenFlow Switch OpenFlow Switch OpenFlow Switch

Alice’s code Alice’s code

Decision?OpenFlow Protocol

Alice’s Rule Alice’s Rule Alice’s Rule Alice’s Rule Alice’s Rule Alice’s Rule OpenFlow offloads control intelligence to a remote software

slide-18
SLIDE 18

OpenFlow Basics

Flow T able Entries

Switc h Port MAC src MAC dst Eth type VLAN ID IP Src IP Dst IP Prot L4 sport L4 dport

Rule Action Stats

  • 1. Forward packet to zero or more ports
  • 2. Encapsulate and forward to controller
  • 3. Send to normal processing pipeline
  • 4. Modify Fields
  • 5. Any extensions you add!

+ mask what fjelds to match

Packet + byte counters

18

VLAN pcp IP T

  • S
slide-19
SLIDE 19

Examples

Switching

* Switc h Port MAC src MAC dst Eth type VLAN ID IP Src IP Dst IP Prot TCP sport TCP dport Action * 00:1f:.. * * * * * * * port6

Flow Switching

port3 Switc h Port MAC src MAC dst Eth type VLAN ID IP Src IP Dst IP Prot TCP sport TCP dport Action 00:20 .. 00:1f.. 0800 vlan1 1.2.3. 4 5.6.7. 8 4 1726 4 80 port6

Firewall

* Switc h Port MAC src MAC dst Eth type VLAN ID IP Src IP Dst IP Prot TCP sport TCP dport Action * * * * * * * * 22 drop

19

slide-20
SLIDE 20

Examples

Routing

* Switc h Port MAC src MAC dst Eth type VLAN ID IP Src IP Dst IP Prot TCP sport TCP dport Action * * * * * 5.6.7. 8 * * * port6

VLAN Switching

* Switc h Port MAC src MAC dst Eth type VLAN ID IP Src IP Dst IP Prot TCP sport TCP dport Action * * vlan1 * * * * * port6, port7, port9 00:1f..

20

slide-21
SLIDE 21

Flow Routing vs. Aggregation

Both models are possible with OpenFlow

Flow-Based

  • Every fmow is

individually set up by controller

  • Exact-match fmow

entries

  • Flow table contains
  • ne entry per fmow
  • Good for fjne grain

control, e.g. campus networks

Aggregated

  • One fmow entry covers

large groups of fmows

  • Wildcard fmow entries
  • Flow table contains one

entry per category of fmows

  • Good for large number
  • f fmows, e.g. backbone

21

slide-22
SLIDE 22

Centralized vs Distributed Control

Both models are possible with OpenFlow

Centralized Control

OpenFlow Switch OpenFlow Switch OpenFlow Switch

Controller

Distributed Control

OpenFlow Switch OpenFlow Switch OpenFlow Switch

Controller Controller Controller

22

slide-23
SLIDE 23

OpenFlow building blocks

Controller

NOX NOX

Slicing Software

FlowVisor FlowVisor FlowVis

  • r

Console

23

Applications

LAVI LAVI ENVI (GUI) ENVI (GUI) Expedient Expedient n-Casting n-Casting

NetFPGA NetFPGA Software Ref. Switch Software Ref. Switch Broadcom Ref. Switch Broadcom Ref. Switch OpenWRT OpenWRT PCEngine WiFi AP PCEngine WiFi AP

Commercial Switches Stanford Provided

OpenFlow Switches

SNAC SNAC Stanford Provided

Monitoring/ debugging tools

  • fmops
  • fmops
  • ftrace
  • ftrace
  • penseer
  • penseer

OpenVSwit ch OpenVSwit ch HP, NEC, Pronto, Juniper.. and many more HP, NEC, Pronto, Juniper.. and many more

Beacon Beacon Helio s Helio s Maestr

  • Maestr
slide-24
SLIDE 24

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

slide-25
SLIDE 25

Research Examples (See http://archive.openfmow.org /videos/ for demo videos)

slide-26
SLIDE 26

Broader interest in an evolvable Internet

slide-27
SLIDE 27

Specialized Packet Forwarding Hardware

Featur e

Featur e

Specialized Packet Forwarding Hardware Specialized Packet Forwarding Hardware Specialized Packet Forwarding Hardware Specialized Packet Forwarding Hardware Operating System Operating System Operating System Operating System Operating System

Network OS

Featur e Featur e

Featur e

Featur e

Featur e

Featur e

Featur e

Featur e

Featur e

Featur e

Restructured Network

slide-28
SLIDE 28

Featur e Feature

Network OS

  • 1. Open interface to packet

forwarding

  • 3. Well-defjned open API
  • 2. At least one Network OS

probably many. Open- and closed-source

Software-Defjned Network

Packet Forwarding Packet Forwarding Packet Forwarding Packet Forwarding Packet Forwarding Packet Forwarding Packet Forwarding Packet Forwarding Packet Forwarding Packet Forwarding

slide-29
SLIDE 29

Network OS

Research

– NOX (C++/Python) http://noxrepo.org – Maestro (Rice University) – Helios (NEC) – Beacon (Java) coming soon. – Others in development

Commercial

– ONIX [OSDI 2010, Google, Nicira, NEC] – Expect others

slide-30
SLIDE 30

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

OpenFlow provides a way for the cellular industry to solve real problem plaguing their networks.

slide-31
SLIDE 31

T elco Operators

  • Global IP traffjc 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

  • And based on the same equipment as

competitors

OpenFlow allows telcos to reduce CAPEX, OPEX and to add new differentiating features to their networks.

slide-32
SLIDE 32

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 fmexible control T ailor network for services Quickly improve and innovate

Data center companies have been the first to deploy OpenFlow in their networks.

slide-33
SLIDE 33

Next Steps

slide-34
SLIDE 34

OpenFlow Standardization

Version 1.0: Most widely used version Version 1.1: Released in February 2011. Currently, running OpenFlow Version 1.4, supports group-table, meter band and pipelining. OpenFlow transferred to ONF in March 2011.

slide-35
SLIDE 35

Thank you!