openflow interop tutorial

27
A short tutorial Omar Baldonado [email protected] OpenFlow

Upload: nishi-kant

Post on 26-Oct-2014

129 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Openflow Interop Tutorial

A short tutorial

Omar Baldonado [email protected]

OpenFlow

Page 2: Openflow Interop Tutorial

OpenFlow: !

What is it?!Why should I care?!

What can I see in the OpenFlow Lab?!

What are some next steps?!

Page 3: Openflow Interop Tutorial

OpenFlow – !What is it?!

Page 4: Openflow Interop Tutorial

CORE TECHNOLOGY: OPENFLOW PROTOCOL!

Protocol that allows an external server (“controller”) to control the data path of a switch!

OpenFlow Protocol!

…! …! …!

Data Path (Hardware)!

Control Path! OpenFlow!

Page 5: Openflow Interop Tutorial

AN OPENFLOW SWITCH SIMPLIFIED!

Generic primitive that sits on top of switch TCAM, designed to match well with common switch ASICs.!

Example actions:!1.  Switching and routing

(port),!2.  Firewalling (drop),!3.  Using to switchʼs non-

OpenFlow logic (local),!4.  Send to controller for

processing (controller)!

Foundation network functions are split between per-packet rules on the switch and high-level decisions at the server!

Controller  (Server  So,ware)  

…   …   …  

Flow Table

MAC src

MAC dst

IP Src

IP Dst

TCP dport

… Action Count

* * * * 10:20:. * port 1 250

* * 5.6.7.8 * * * port 2 300

* 25 * * * * drop 892

* * 192.* * * * local 120

OpenFlow-enabled Switch

* * * * * * controller 11

Core of the OpenFlow switch: the flow table abstraction

Flow table!

Page 6: Openflow Interop Tutorial

OPENFLOW DEPLOYMENT IN PRACTICE!

•  Switches: Only the edge switches need to be OpenFlow-enabled!

•  VLANs: Only a subset of VLANs on the edge switch need to be enabled for OpenFlow. !

•  Forklift: There may areas in your overall network where this may be possible (e.g., a new datacenter)!

Incremental deployments at edge

Page 7: Openflow Interop Tutorial

and growing…

Page 8: Openflow Interop Tutorial

OpenFlow – !Why should I care?!

Page 9: Openflow Interop Tutorial

“OpenFlow architectures !enable!

Virtualization,!Advanced Forwarding, and !

Programmability”!

Page 10: Openflow Interop Tutorial

OPENFLOW PROTOCOL AND OPENFLOW ARCHITECTURES!An architecture of switches, controllers and software applications

THE PROTOCOL!

THE ARCHITECTURE!

Minimal and powerful, like the x86 instruction set!

Rich variety of uses and applications, like x86 + Linux + applications +

python!

Page 11: Openflow Interop Tutorial

EVERY SEGMENT SEES SOMETHING DIFFERENT!OpenFlow has many potential propositions

Large  scale  datacenter  and  service  provider  

Enterprise  private  cloud  

Enterprise  Campus  LAN  

Commercial  

Virtualiza)on   Mul)-­‐tenancy  

Mul)-­‐team   Delegated  admin  

The  “new  stackable”  

Advanced  Forwarding  

Fat  Trees  for  Big  Data  apps  

Larger  L2  domains,  VM  mobility  

No  more  spanning  tree  failures  

No  more  spanning  tree  failures  

Programmability   Integra)on  with  proprietary  systems  

Vendor  choice  

Page 12: Openflow Interop Tutorial

NEW STRUCTURE FOR THE NETWORKING INDUSTRY!

System  vendor  

Applica)on  vendors  

In-­‐House  soLware  

Open  OS  

Monolithic Horizontal/Open

Silic

on

Dev

ice

OS

App

s

Merchant  silicon  Merchant  silicon  Merchant  silicon  

Merchant  silicon  Merchant  silicon  Hardware  vendors  

Applica)on  vendors  

Open  OS/Controller  PlaPorms  

Sound familiar?!

•  Mainframe to PC!

•  SunOS, HPUX, AIX to Linux to VMware!

•  Closed cellphones to App Stores!

Horizontal industry, open system strategy – unleashing innovation

Page 13: Openflow Interop Tutorial

VIRTUALIZATION IS CHANGING ECONOMICS OF COMPUTE…!

0  

100  

200  

300  

400  

500  

600  

Company  1   Company  2   Company  3  

Before  

ALer  

$k  

$100k  

$200k  

$300k  

$400k  

$500k  

Company  1  Company  2  Company  3  

Before  

ALer  

Hou

rs to

Pre

p a!

New

Ser

ver!

Tota

l Adm

in C

osts!

The New Economics of Compute Infrastructure!

The Current Economics of Networking Infrastructure!

“The network is in my way.”!

James Hamilton, !Chief Architect, Amazon Data Center!

VMware TCO study!http://www.vmware.com/pdf/TCO.pdf!

… Networking can’t keep up

Page 14: Openflow Interop Tutorial

AN OPENFLOW SWITCH SIMPLIFIED!

Generic primitive that sits on top of switch TCAM, designed to match well with common switch ASICs.!

Example actions:!1.  Switching and routing

(port),!2.  Firewalling (drop),!3.  Using to switchʼs non-

OpenFlow logic (local),!4.  Send to controller for

processing (controller)!

Foundation network functions are split between per-packet rules on the switch and high-level decisions at the server!

Controller  (Server  So,ware)  

…   …   …  

Flow Table

MAC src

MAC dst

IP Src

IP Dst

TCP dport

… Action Count

* * * * 10:20:. * port 1 250

* * 5.6.7.8 * * * port 2 300

* 25 * * * * drop 892

* * 192.* * * * local 120

OpenFlow-enabled Switch

* * * * * * controller 11

Core of the OpenFlow switch: the flow table abstraction

Flow table!

Page 15: Openflow Interop Tutorial

1.  Private Cloud Delegated Administration

2.  VM Mobility

3.  Virtual + Physical Policy!

4.  Fat Tree / Non-Spanning-Tree Topologies!

5.  Reduce Spanning Tree Risk for Large L2 Domains!

DATACENTER PROBLEMS AND ARCHITECTURES!A compilation of what we’ve been seeing…

Page 16: Openflow Interop Tutorial

1.  Delegated Administration

2.  NAC / Guest Access

3.  Virtual Desktop / Bring-Your-Own Hardware Deployments!

CAMPUS PROBLEMS AND ARCHITECTURES!

Page 17: Openflow Interop Tutorial

What can I see in the InteropNet OpenFlow Lab?!

Page 18: Openflow Interop Tutorial

LOTS OF EXAMPLE FUNCTIONALITY ENABLED BY OPENFLOW!

Booth #2019 - a dozen switch vendors and controller vendors with standards-based, interoperable products

Page 19: Openflow Interop Tutorial

One example:!“Streamline app deployment !

by creating a !ʻBig Virtual Switchʼ !

for the hosts and the admins”!

Page 20: Openflow Interop Tutorial

EXAMPLE: PAYMENT APP FROM LAB TO PRODUCTION!

Ingredients!•  Admin Consoles/Terminals (offce + DC)!•  2+ Payment Server VMs (DC)!

Application Requirements!•  Require L2 connectivity!•  Require ACLs in front of the VMs!

Other Constraints!•  VMs may move around as we re-work DC capacity planning!•  Need to be ready for PCI DSS compliance: password rotation, bi-annual audit, etc. driven by payment team!•  Admin console/terminals may change location, driven by the employee office location!

Apps are typically designed with a simple network in mind

Page 21: Openflow Interop Tutorial

EXAMPLE: PRODUCTION IS ALWAYS HARDER THAN THE LAB!Target production environment: a mix of physical and virtual machines

•  L2/L3 problem for initial roll-out!•  ACL placement problem for initial roll-out!•  Scale-up problem as we add VMs!•  M/A/C problem on terminal & admin console!

=> None of these can be solved by the payment team admin alone!

Page 22: Openflow Interop Tutorial

EXAMPLE: THE BENEFITS OF A BIG VIRTUAL SWITCH!

For the architect…! For the team admin…!

Page 23: Openflow Interop Tutorial

EXAMPLE: VIRTUAL SWITCHES BASED ON OPENFLOW!

Switch hardware!

Switch hardware!

Switch !hardware!

Switch hardware!

Switch hardware!

Network Virtualization Controller!

Accounting Virtual Switch

Support Apps Virtual Switch

Quarantine Virtual Switch

Payment!Virtual Switch

Switch hardware!

Switch hardware!

Smooth roll-out and smooth scale-out

Page 24: Openflow Interop Tutorial

•  Recall: “OpenFlow architectures enable virtualization, advanced forwarding, and programmability”!

•  Virtualization!•  Administration of a big virtual switch is roughly the same basic training

(and software) as administration of a physical switch!•  VM mobility (and any other mobility) is a solved problem in this approach!

•  Advanced Forwarding & Programmability!•  Use of OpenFlow-oriented forwarding to take advantage of resources in

the network (tunnels, firewalls, IDS/IPS…)!•  Scaling out networks (i.e., with non-tree topologies) becomes possible and

doesnʼt require L2/L3 redesigns!•  Integration with other systems (e.g., VMware vCenter)!

EXAMPLE: NEW ARCHITECTURE, NEW CAPABILITIES!Some of the subtle implications of this approach

Page 25: Openflow Interop Tutorial

OpenFlow – !What are some next steps?!

Page 26: Openflow Interop Tutorial

•  Reference/Specification/Commmunities!www.openflow.org !www.openflowhub.org!www.opennetworkingfoundation.org!

•  Open-Source Controllers, Switches, Tools!Controllers - Beacon, Maestro, Nox, SNAC, Trema!Switches - Indigo, Open vSwitch!Tools – Mininet, Beacon Workbench, test suites!

GO ONLINE AND START EXPERIMENTING!Lots of info, open source, articles – and more on the way!

Page 27: Openflow Interop Tutorial

Thanks – and come see the OpenFlow booth!

(#2019)