Presentation is loading. Please wait.

Presentation is loading. Please wait.

OpenFlow Costin Raiciu Using slides from Brandon Heller and Nick McKeown.

Similar presentations

Presentation on theme: "OpenFlow Costin Raiciu Using slides from Brandon Heller and Nick McKeown."— Presentation transcript:

1 OpenFlow Costin Raiciu Using slides from Brandon Heller and Nick McKeown

2 How do we test a new idea in computer networking?

3 I have my shiny new protocol. How do I test it? Implement and test it in software – Quick prototyping, bad performance Build your own hardware! – Prohibitive costs – Difficult to change the design after its built Convince a vendor to implement a protocol – Huh!

4 Million of lines of source code 5400 RFCsBarrier to entry Billions of gates ComplexPower Hungry Many complex functions baked into the infrastructure OSPF, BGP, multicast, differentiated services, Traffic Engineering, NAT, firewalls, MPLS, redundant layers, … An industry with a “mainframe-mentality” Little ability for non-telco network operators to get what they want Functionality defined by standards, put in hardware, deployed on nodes The Networking Industry (2007) Specialized Packet Forwarding Hardware Operating System Operating System Feature Routing, management, mobility management, access control, VPNs, … 4

5 Closed Systems (Vendor Hardware) Can’t extend Stuck with interfaces (CLI, SNMP, etc) Hard to meaningfully extend Hard to meaningfully collaborate Vendors starting to open up, but not usefully 5

6 OpenFlow basic idea Give a simple interface to the data plane in hardware – Goes fast – Don’t need to change functionality Implement control plane in software – Can change as often as required

7 Controller OpenFlow Switch Flow Table Flow Table Secure Channel Secure Channel PC OpenFlow Protocol SSL hw sw OpenFlow Switch specification OpenFlow Switching

8 Flow Table Entry “Type 0” OpenFlow Switch Switch Port MAC src MAC dst Eth type VLAN ID IP Src IP Dst IP Prot TCP sport TCP dport RuleActionStats 1.Forward packet to port(s) 2.Encapsulate and forward to controller 3.Drop packet 4.Send to normal processing pipeline + mask Packet + byte counters

9 OpenFlow actions When a packet does not match any rule, encapsulate and send it to the controller The controller can decide to: – Insert a new rule to process the flow – Drop the packet

10 OpenFlow controllers Reference implementation – C NOX – python, C++ Trema – C, Ruby Many others…

11 OpenFlow protocol On controller startup:

12 OpenFlow Messages: at runtime

13 Supporting OpenFlow in Switches Dedicated OpenFlow switches – Forwarding done only based on OF rules – Rules can be inserted beforehand to reduce lookup times OpenFlow-Enabled Switches – Enable experiments to take place alongside existing traffic – Allow the use of the “normal” processing pipeline

14 OpenFlow Today Spec maintained by the OpenFlow consortium – Currently at version 1.1 Supported by most switch vendors Flow tables increasing in size – Hundreds to thousands of rules Big hype on software-defined networking

Download ppt "OpenFlow Costin Raiciu Using slides from Brandon Heller and Nick McKeown."

Similar presentations

Ads by Google