17
CS 490.31: Software Defined Networks 2nd Lecture 20/3/2013 Xenofontas Dimitropoulos ETH Zurich

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

Embed Size (px)

Citation preview

Page 1: Specialized Packet Forwarding Hardware Feature Specialized Packet Forwarding Hardware Operating System Operating System Operating System Operating System

CS 490.31: Software Defined Networks

2nd Lecture20/3/2013

Xenofontas DimitropoulosETH Zurich

Page 2: Specialized Packet Forwarding Hardware Feature Specialized Packet Forwarding Hardware Operating System Operating System Operating System Operating System

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

Feature

Feature

Feature

Feature

Feature

Feature

Feature

Feature

Classical network architecture

Distributed control plane

Distributed routing protocols: OSPF, IS-IS, BGP, etc.

Page 3: Specialized Packet Forwarding Hardware Feature Specialized Packet Forwarding Hardware Operating System Operating System Operating System Operating System

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

From Vertically Integrated to …

Page 4: Specialized Packet Forwarding Hardware Feature Specialized Packet Forwarding Hardware Operating System Operating System Operating System Operating System

Feature

Feature

Network OS

Well-defined open API Constructs a logical mapof the network

Software Defined Network

OpenFlow

Simple PacketForwarding Hardware

Simple PacketForwarding Hardware

Simple PacketForwarding Hardware

Simple PacketForwarding Hardware

Simple PacketForwarding Hardware

Open vendor agnostic protocol

Page 5: Specialized Packet Forwarding Hardware Feature Specialized Packet Forwarding Hardware Operating System Operating System Operating System Operating System

Network OSNetwork OS: distributed system that creates

a consistent, up-to-date network viewRuns on servers (controllers) in the network

Uses an open protocol to:Get state information from forwarding

elementsGive control directives to forwarding elements

Page 6: Specialized Packet Forwarding Hardware Feature Specialized Packet Forwarding Hardware Operating System Operating System Operating System Operating System

OpenFlow

OpenFlowis a protocol for remotely

controlling the forwarding table of a switch or router

is one element of SDN

Page 7: Specialized Packet Forwarding Hardware Feature Specialized Packet Forwarding Hardware Operating System Operating System Operating System Operating System

The SDN Stack

ControllerNOX

SlicingSoftwareFlowVisor

FlowVisorConsole

7

ApplicationsLAVIENVI (GUI) …n-Casting

NetFPGASoftware Ref. Switch

Broadcom Ref. Switch

OpenWRT PCEngine WiFi AP

Commercial Switches

OpenFlowSwitches

Monitoring/debugging toolsoflopsoftrace openseer

Open vSwitch

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

Beacon Trema Maestro

Page 8: Specialized Packet Forwarding Hardware Feature Specialized Packet Forwarding Hardware Operating System Operating System Operating System Operating System

Switches(all OpenFlow 1.0

for now)

8

Page 9: Specialized Packet Forwarding Hardware Feature Specialized Packet Forwarding Hardware Operating System Operating System Operating System Operating System

Ciena Coredirector

NEC IP8800

Current SDN hardware (as of ~2010)Juniper MX-series

HP Procurve 5400

Pronto 3240/3290

WiMax (NEC)

PC EnginesNetgear 7324

9

Page 10: Specialized Packet Forwarding Hardware Feature Specialized Packet Forwarding Hardware Operating System Operating System Operating System Operating System

10

Commercial SwitchesVendor Model

sVirtualize? Notes Pic

HP ProCurve

5400zl, 6600, +

1 OF instance per VLAN

-LACP, VLAN and STP processing before OpenFlow-Wildcard rules or non-IP pkts processed in s/w-Header rewriting in s/w-CPU protects mgmt during loop

NEC IP8800, +

1 OF instance per VLAN

-OpenFlow takes precedence-Most actions processed in hardware-MAC header rewriting in h/w

Pronto/Pica8

3290, 3780, 3920, +

1 OF instance per switch

-No legacy protocols (like VLAN and STP)-Most actions processed in hardware-MAC header rewriting in h/w

Page 11: Specialized Packet Forwarding Hardware Feature Specialized Packet Forwarding Hardware Operating System Operating System Operating System Operating System

Controllers

11

Page 12: Specialized Packet Forwarding Hardware Feature Specialized Packet Forwarding Hardware Operating System Operating System Operating System Operating System

12

Open ControllersName Lang Platform(

s)License Original

AuthorNotes

OpenFlow Reference

C Linux OpenFlow License

Stanford/Nicira

not designed for extensibility

NOX Python, C++

Linux GPL Nicira actively developed

Beacon Java Win, Mac, Linux, Android

GPL (core), FOSS Licenses for your code

David Erickson (Stanford)

runtime modular, web UI framework, regression test framework

Maestro Java Win, Mac, Linux

LGPL Zheng Cai (Rice)

Trema Ruby, C

Linux GPL NEC includes emulator, regression test framework

RouteFlow

? Linux Apache CPqD (Brazil)

virtual IP routing as a service

Page 13: Specialized Packet Forwarding Hardware Feature Specialized Packet Forwarding Hardware Operating System Operating System Operating System Operating System

13

Open Controllers (2)Name Lang Platform(

s)License Original

AuthorNotes

OpenFaucet

Python

Library

Mirage OCaml

POX Python

Any

Floodlight Java Any BigSwitch, based on Beacon

Too many to easily list of keep track of…

Page 14: Specialized Packet Forwarding Hardware Feature Specialized Packet Forwarding Hardware Operating System Operating System Operating System Operating System

[Hands-on Tutorial]http://www.openflow.org/wk/index.php/OpenFlow_Tutorial

14

Page 15: Specialized Packet Forwarding Hardware Feature Specialized Packet Forwarding Hardware Operating System Operating System Operating System Operating System

TutorialFlow

15

Today’s Hands-On Session

Part 5 of OpenFlow Tutorial: http://www.openflow.org/wk/index.php/OpenFlow_Tutorial

Page 16: Specialized Packet Forwarding Hardware Feature Specialized Packet Forwarding Hardware Operating System Operating System Operating System Operating System

Tutorial Setup

Controllerport6633 c0

OpenFlow Switch

s1 dpctl(user space

process)

h310.0.0

.4

h210.0.0

.3

h110.0.0.

2

virtual hosts

OpenFlow Tutorial3hosts-1switchtopology

loopback(127.0.0.1:6633)

loopback(127.0.0.1:6634)

s1-eth0 s1-eth1 s1-eth2

h1-eth0 h3-eth0 h4-eth0

16

Page 17: Specialized Packet Forwarding Hardware Feature Specialized Packet Forwarding Hardware Operating System Operating System Operating System Operating System

This talk wouldn’t be possible without:

Past slides from:Brandon HellerNick McKeown