OpenFlow/SDN: New Approach to Networking. Guru Parulkar parulkar@stanford.edu



Similar documents
Funded in part by: NSF, Cisco, DoCoMo, DT, Ericsson, Google, Huawei, NEC, Xilinx

Software Defined Networks (SDN)

OpenFlow / SDN: A New Approach to Networking

OpenFlow/So+ware- defined Networks. Srini Seetharaman Clean Slate Lab Stanford University July 2010

Open Source Network: Software-Defined Networking (SDN) and OpenFlow

How SDN will shape networking

Software Defined Networking (SDN)

Getting to know OpenFlow. Nick Rutherford Mariano Vallés

NETWORK VIRTUALIZATION BASED ON SOFTWARE DEFINED NETWORK

Software Defined Networking. Matthew Davy, Indiana University September 8th, 2011

Stanford Clean Slate Program

Virtualization and SDN Applications

Software Defined Network Application in Hospital

9/8/14. Outline. SDN Basics. Concepts OpenFlow Controller: Floodlight OF- Config Mininet. SDN Concepts. What is socware defined networking? Why SDN?

Software Defined Networks

Open Source Tools & Platforms

SDN. What's Software Defined Networking? Angelo Capossele

Software Defined Networking What is it, how does it work, and what is it good for?

How To Understand The Power Of A Network In A Microsoft Computer System (For A Micronetworking)

Project 3 and Software-Defined Networking (SDN)

Software Defined Networking & Openflow

Software Defined Networking

From Active & Programmable Networks to.. OpenFlow & Software Defined Networks. Prof. C. Tschudin, M. Sifalakis, T. Meyer, M. Monti, S.

CSCI-1680 So ware-defined Networking

OpenFlow Technology Investigation Vendors Review on OpenFlow implementation

Xperience of Programmable Network with OpenFlow

The SDN Revolution: Empowering the People. Dan Pitt, Executive Director Open Networking Foundation


The Future of Networking, and the Past of Protocols

OpenFlow: Enabling Innovation in Campus Networks

The Internet: A Remarkable Story. Inside the Net: A Different Story. Networks are Hard to Manage. Software Defined Networking Concepts

Network Management and Software-Defined Networking (SDN)" EE122 Fall 2013 Scott Shenker (understudy to Sylvia Ratnasamy)

Network Virtualization and Software-defined Networking. Chris Wright and Thomas Graf Red Hat June 14, 2013

OpenFlow: History and Overview. Demo of routers

Stanford SDN-Based Private Cloud. Johan van Reijendam Stanford University

What is SDN? And Why Should I Care? Jim Metzler Vice President Ashton Metzler & Associates

How To Understand The Power Of The Internet

Tutorial: OpenFlow in GENI

Real-World Insights from an SDN Lab. Ron Milford Manager, InCNTRE SDN Lab Indiana University

Software Defined Networking

Multiple Service Load-Balancing with OpenFlow

OpenFlow Overview. Daniel Turull

Advanced Software Engineering. Lecture 8: Data Center by Prof. Harold Liu

OpenFlow & Software Defined Networking

A Case for Expanding OpenFlow/SDN Deployments On University Campuses

基 於 SDN 與 可 程 式 化 硬 體 架 構 之 雲 端 網 路 系 統 交 換 器

ViSION Status Update. Dan Savu Stefan Stancu. D. Savu - CERN openlab

Software Defined Networking Subtitle: Network Virtualization Terry Slattery Chesapeake NetCraftsmen Principal Consultant CCIE #1026.

Software Defined Networking and Network Virtualization

FI technologies on cloud computing and trusty networking

Network Virtualization

Software Defined Networking What is it, how does it work, and what is it good for?

Network Virtualization and Application Delivery Using Software Defined Networking

Network Virtualization for the Enterprise Data Center. Guido Appenzeller Open Networking Summit October 2011

INTERNATIONAL JOURNAL OF PURE AND APPLIED RESEARCH IN ENGINEERING AND TECHNOLOGY

OpenFlow on top of NetFPGA

Does SDN accelerate network innovations? Example of Flexible Service Creation

Introduction to Software Defined Networking (SDN) and how it will change the inside of your DataCentre

Campus Experiences. Johan van Reijendam Stanford University

SOFTWARE DEFINED NETWORKS REALITY CHECK. DENOG5, Darmstadt, 14/11/2013 Carsten Michel

Maturing of OpenFlow and Software Defined Networking through Deployments

Accelerate SDN Adoption with Open Source SDN Control Plane

Software Defined Networking, openflow protocol and its controllers

Software Defined Networking (SDN) T Computer Networks II Hannu Flinck

OpenFlow/SDN activities of NTT Communications

Information- Centric Networks. Section # 13.2: Alternatives Instructor: George Xylomenos Department: Informatics

Testing Software Defined Network (SDN) For Data Center and Cloud VERYX TECHNOLOGIES

A Presentation at DGI 2014 Government Cloud Computing and Data Center Conference & Expo, Washington, DC. September 18, 2014.

March 2012 Interoperability Event White Paper

Software Defined Networking (SDN)

ON.Lab Launches Revolutionary SDN Open Source Network Operating System ONOS on behalf of its Community of Service Providers and Innovator Partners

How To Write A Network Plan In Openflow V1.3.3 (For A Test)

THE REVOLUTION TOWARDS SOFTWARE- DEFINED NETWORKING

STRUCTURE AND DESIGN OF SOFTWARE-DEFINED NETWORKS TEEMU KOPONEN NICIRA, VMWARE

Software Defined Networking & OpenFlow

Software Defined Networking Basics

SOFTWARE DEFINED NETWORKING

OpenFlow: Concept and Practice. Dukhyun Chang

OpenFlow: Load Balancing in enterprise networks using Floodlight Controller

Conference. Smart Future Networks THE NEXT EVOLUTION OF THE INTERNET FROM INTERNET OF THINGS TO INTERNET OF EVERYTHING

The 2013 Guide to Network Virtualization and SDN

Software Defined Networking technology details and openlab research overview

Introduction to OpenFlow:

IPOP-TinCan: User-defined IP-over-P2P Virtual Private Networks

How the emergence of OpenFlow and SDN will change the networking landscape

ONOS [Open Source SDN Network Operating System for Service Provider networks]

Designing Virtual Network Security Architectures Dave Shackleford

Limitations of Current Networking Architecture OpenFlow Architecture

YI-CHIH HSU & JEI-WEI ESTINET TECHNOLOGIES

CARRIER LANDSCAPE FOR SDN NEXT LEVEL OF TELCO INDUSTRILIZATION?

How the Emergence of OpenFlow and SDN will Change the Networking Landscape

software networking Jithesh TJ, Santhosh Karipur QuEST Global

Outline. Institute of Computer and Communication Network Engineering. Institute of Computer and Communication Network Engineering

BROCADE NETWORKING: EXPLORING SOFTWARE-DEFINED NETWORK. Gustavo Barros Systems Engineer Brocade Brasil

Ethernet-based Software Defined Network (SDN) Cloud Computing Research Center for Mobile Applications (CCMA), ITRI 雲 端 運 算 行 動 應 用 研 究 中 心

RIDE THE SDN AND CLOUD WAVE WITH CONTRAIL

White Paper. SDN 101: An Introduction to Software Defined Networking. citrix.com

OpenFlow/SDN for IaaS Providers

Software-Defined Networks

Testing Challenges for Modern Networks Built Using SDN and OpenFlow

Transcription:

OpenFlow/SDN: New Approach to Networking Guru Parulkar parulkar@stanford.edu 1

Problem with Internet Infrastructure? Routing, management, mobility management, access control, VPNs, Feature Operating System Feature Million of lines of source code 6000+ RFCs Specialized Packet Forwarding Hardware Billions of gates Bloated Power Hungry Vertically integrated, complex, closed, proprietary Not suitable for experimental ideas Not good for network owners & users; Not good for researchers.

Problem: No Abstractions for Control Plane Addition of a new function to the network Highly complex distributed system problem Networks too difficult to program and to reason about no good abstractions and interfaces Distributed Network Functions Router/Switch/Appliance Router/Switch/Appliance State Distribution Mechanism Router/Switch/Appliance Not good for even network vendors 3

Software-Defined Network with Key Abstractions in the Control Plane Well-defined open API Routing TE Network OS Mobility Network Map Abstraction Packet Forwarding Open interface (OpenFlow) to Forwarding Abstraction: L1/L2/L3 Separation of Data and Control Plane Packet Forwarding Packet Forwarding Programmable Basestation

Software Defined Network with Virtualization Abstract Network Model Network Control Virtualization Program Global Network View Network OS

Nation-wide OPEN Infrastructure Part of NSF s GENI

Example Research Enabled Data center: energy conservation, routing, and management Seamless use of diverse wireless networks Network based load balancing Packet/circuit convergence, traffic engineering Simpler control plane for converged packet/circuit MPLS nets Slicing and remote control/management of home networks Distributed snap shot of VMs (by DOCOMO researchers) Inter-domain routing with pathlets (by UIUC) Redundant traffic elimination [for CDNs] (by Univ of Wisconsin) And many more

Example Load-balancing as a network primitive Nikhil Handigol, Mario Flajslik, Srini Seetharaman

LOAD-BALANCER

Load Balancing is just Smart Routing

Feature Feature Nikhil s Experiment: <500 lines of code Network OS (NOX)

Other Examples and Demonstrations www.openflow.org/videos 15

Major Change in Paradigm No longer designing distributed control protocols Now just defining a centralized control function Configuration = Function(view) This spells the end for distributed protocols Easier to write, reason about, maintain,. Beginning of the software era of networking Rate of change, nature of standards, different culture, etc.

Industry Embracing SDN Largest Network Providers/Operators Vendors and start-ups More... More... Note: Level of interest varies 17

Pmargin Fmargin Why Does Verizon Care? Software defined network enables inexpensive feature insertion for new services and revenue uplift. Stu Elb @Open Networking Summit http://opennetsummit.org/ ARPU(PMO) $ Unacceptably high cost escalation results in a non-sustainable business case. The cost of PMO needs to be matched to the characteristics of revenue growth to support consistent margin. Target FMO costs Cost of PMO The cost of transition must not be prohibitive t Using COTS hardware following mass market cost curves lowers equipment expenditures Confidential and proprietary materials for authorized Verizon personnel and outside agencies only. Use, disclosure or distribution of this material is not permitted to any unauthorized persons or third parties except by written agreement. 18 2011 Verizon. All Rights Reserved.

They want to offer VPN Services Traffic Engineering And other value added services Distributed Network Functions Router Operating System Carrier Networks Today Go to vendors and ask them for solutions: State Distribution Mechanisms PE Label Distrib ution Distributed Network Functions each with their own State Distribution Mechanisms Vendors find it hard to develop solutions LDP E-BGP learned Route Advert I-BGP + RR IGP- Route Advert, Link- State VPN- IPv4 Route Advert MP- BGP TE Label Distrib ution Providers find it too slow and too expensive to deploy and operate Providers depend too much on vendors RSVP- TE OSPF v2 19

Carrier Networks with SDN Services / Network Applications (3) TE 2.0 VPN Simpler Control Plane (2) Routing Discovery Label Distribution NETWORK OPERATING SYSTEM Recovery Vendor-agnostic Open Interface Simpler Cheaper Multi-Vendor Data Plane (1) PUSH SWAP POP 20

Cloud Provider Today Assign VMs to any server without considering L2/L3 scalability Support multiple tenants with lots of VMs interconnected Support each tenant with its own customized network for VMs: topology, bandwidth, security, load-balancing And everything is dynamic Providers find current Tenant-B solutions too complex and too expensive Tenant-C? Vendors cannot create solutions fast enough Load balancers Firewalls Tenant-A VM VM VM VM VM VM VM VM VM IDS s VM VM VM VM VM VM VM VM VM VM VM Network is the long pole VM VM VM VM VM VM VM VM VM VM VM VM VM VM VM VM 21

Cloud Provider with SDN Tenant-A Tenant-B Tenant-C Load Balancing Firewall Load Balancing IDS Load Balancing Firewall IDS NETWORK OS NETWORK OS NETWORK OS VM VM VM VM VM VM VM VM VM VM VM VM VM VM VM VM VM VM VM VM VM VM VM VM VM VM VM VM VM VM VM VM VM VM VM VM VM VM VM VM VM VM VM VM VM VM VM VM VM VM VM VM VM VM VM VM VM VM VM VM VM VM 22

Opportunities for Future Work Big Connector Abstractions Virtual Network Network Map Flow Space Scalability Reliability Security OF Switch OF Switch Feature Mininet & Tools Network OS OF Switch Feature Programming System/Tools Network HyperVisor Open Radio Feature Network Network OS OF OS-wireless OpenRadio Switch Big Connector Virtual Network Logical Map of Network FlowVisor Prog Systems Systems Xlities OF Switch

Opportunities for Future Work Domains of Use Abstractions Enterprise Networks Big Connector Virtual Network Network Map OF Switch Datacenter Networks Flow Space Scalability Reliability Security OF Switch Mininet & Tools Open Radio Network OS Network FlowVisor OS-wireless Prog Systems Systems Service Provider Networks Cellular Networks Xlities Home Networks Research Prototype Platforms Demonstrate Deploy

How You can Participate Researcher Deploy OpenFlow network & demonstrate interesting network capabilities Design and build better building blocks: FlowVisor, Network OS, For different domains of use: home, enterprise, backbone, data center, and different network technologies: wired, wireless, optical Vendor Add OpenFlow to a key product and have researchers build on it Build and demonstrate interesting network capabilities for your customers Join Open Networking Foundation (ONF) Design and build better building blocks: FlowVisor, Controller, For different domains of use and network technologies as above Provider Ask your vendors to support OpenFlow Deploy OpenFlow network & demonstrate interesting network capabilities potentially with partner vendors and/or researchers Join Open Networking Foundation (ONF)

Open Networking Summit A Premier Event for OpenFlow/SDN Next Event: April 2012, Bay Area CA Put your name on http://opennetsummit.org/

Final Takeaways Network owners/operators/vendors face real challenges scale and management => capex and opex Networking has to and will change Give more control to network owners/operators Enable and accelerate innovation and customization SDN is the solution of choice Owners/operators want to deploy it Vendors stepping up to provide products/solutions SDN has to mature to deliver on the promise OpenFlow protocol, switches, and SDN software stack And it will with all this community interest & participation

OpenFlow and Software Defined Networking (SDN) are not only here to stay, but they will define the future of networking. Network World, 10/18/2011

Team at Stanford Nick McKeown, Guido Appenzeller, Nick Bastin, David Erickson, Glen Gibb, Nikhil Handigol, Brandon Heller, TY Huang, Peyman Kazemian, Masayoshi Kobayashi, Jad Naous, Johan van Reijendam, Srini Seetharaman, Rob Sherwood, Dan Talayco, Paul Weissman, Tatsuya Yabe, KK Yap, Yiannis Yiakoumis and many more. With Scott Shenker and team at Berkeley and Martin Casado at Nicira

Time to engage and help shape this important revolution in networking

Important Questions Is the networking problem real? How does OpenFlow/SDN help? Are there any proof points? Is SDN just a cool idea or is it more fundamental? How can I experiment with OpenFlow/SDN What is next?

Enterprise Networking Enterprise network operators want.. Firewall and access control Delegate management to departments Share data network with VoIP network Lots of VLANs that stretch across buildings By-passing bottlenecks/check points for specific applications Host web services with load balancing Easy guest wireless access with security And more How do they do it today? 32

Enterprise Network: Today s solution Load balancer Firewall Firewall Load balancer ACL IDS ACL IDS ACL ACL ACL Proliferation of appliances Increased management complexity - Device oriented management - Each device type has its own management High Capex, high Opex Too much reliance on vendors 33

Router Operating System Carrier Network Providers They want to offer VPN Services Traffic Engineering And other value added services Go to vendors and ask them for solutions: Distributed Network Functions State Distribution Mechanisms PE Label Distrib ution Distributed Network Functions each with their own State Distribution Mechanisms Vendors find it hard to develop solutions LDP E-BGP learned Route Advert I-BGP + RR IGP- Route Advert, Link- State VPN- IPv4 Route Advert MP- BGP TE Label Distrib ution Providers find it too slow and too expensive to deploy and operate Providers depend too much on vendors RSVP- TE OSPF v2 34

Cloud Provider Assign VMs to any server without considering L2/L3 scalability Support multiple tenants with lots of VMs with interconnected Support each tenant with its own customized network for VMs: topology, bandwidth, security, load-balancing And everything is dynamic Providers find current Tenant-B solutions too complex and too expensive Tenant-C? Vendors cannot create solutions fast enough Load balancers Firewalls Tenant-A VM VM VM VM VM VM VM VM VM IDS s VM VM VM VM VM VM VM VM VM VM VM Network is the long pole VM VM VM VM VM VM VM VM VM VM VM VM VM VM VM VM 35

NETWORKING AND SERVER VIRTUALIZATION! The hidden headaches of moving to private cloud Guido Appenzeller @ http://opennetsummit.org/ ~3-6x increase in networking related trouble tickets per month after moving to private cloud computing model! Source: team estimates based on interviews across 8 enterprise and university network professionals in planning, pilots or production with private cloud architectures proprietary and confidential! 36

Imagine You re a Hot-Shot Programmer/Researcher And want to create a new service with real users Using Amazon EC2/S3, for example, you can allocate Computing Resources Storages But you cannot create a customized network: topology, BW, security, routing,. You cannot ask a cloud provider for a (virtual) network of your own and program it? 37

Confused User Poorly managed network due to lack of knowledge More devices, more complexity Home Network More players rely on Home Net Want to reach users with new, better and faster services Want to use home network for reducing costs (e.g., smartmeter, femtocell BS) Disconnection WAN 38

Home Network Wouldn t it be nice if you could.. Outsource Management WiFi Guest Access Control Plane 10% Share Electric Utility Control Plane Customize Video Streaming Control Plane 39

Summary: Network Operators/Vendors Face Real Challenges Networks are built using vertically integrated complex boxes Addition of a new function to the network Highly complex distributed system problem Proliferation of appliances Net Result Increased management complexity Lack of innovation and customization by providers/third parties High CapEx & OpEx Distributed Network Functions Router/Switch/Appliance Router/Switch/Appliance State Distribution Mechanism Router/Switch/Appliance

Important Questions Is the networking problem real? How does OpenFlow/SDN help? Are there any proof points? Is SDN just a cool idea or is it more fundamental? How can I experiment with OpenFlow/SDN What is next?

Restructured Network Feature Feature Network OS Feature Feature Operating System Specialized Packet Forwarding Hardware Feature Operating System Feature Feature Operating System Feature Specialized Packet Forwarding Hardware Feature Operating System Feature Specialized Packet Forwarding Hardware Feature Feature Specialized Packet Forwarding Hardware Operating System Specialized Packet Forwarding Hardware 42

Software-Defined Network with Key Abstractions in the Control Plane Well-defined open API Routing TE Network OS Mobility Network Map Abstraction Packet Forwarding Open interface (OpenFlow) to Forwarding Abstraction: L1/L2/L3 Separation of Data and Control Plane Packet Forwarding Packet Forwarding Programmable Basestation

Isolated slices SDN with Virtualization versioning, healthy competition, protection from security threat/bugs Many operating systems, or Many versions App App App App App App App App Network Operating System 1 Network Operating System 2 Network Operating System 3 Network Operating System 4 Open interface to hardware Virtualization or Slicing Layer (FlowVisor) Open interface to hardware Packet Forwarding Hardware Packet Forwarding Hardware Packet Forwarding Hardware Packet Forwarding Hardware Packet Forwarding Hardware 44

Enterprise Network And you can even delegate control to someone else Centralized Control Plane Research Labs Load Access IDS Balancing Control Policy NETWORK Routing OPERATING SYSTEM NETWORK OS Vender-agnostic Open Interface Financial Department Policy Routing IDS Access Control NETWORK OS Load balancer Firewall Firewall Load balancer Simple, Cheaper Multi-vendor Data Plane ACL IDS ACL ACL ACL IDS ACL 45

Cloud Provider (2) Tenant B Tenant C L F I L F I L F I L F I L F I L F I NETWORK OS NETWORK OS NETWORK OS NETWORK OS NETWORK OS NETWORK OS L F L F NETWORK OS NETWORK OS 46

Home Network Manage 10% Share Guest Wifi Access Control Plane Access Control Bandwidth Control NETWORK OS WiFi Guest Access Control Plane Electric Utility Video Streaming Control Plane Control Plane Access Control NETWORK OS QoS Control Electric Utility Control Plane Network OS QoS Routing Customize Virtualization or Slicing Layer Video Streaming Control Plane 47

Important Questions Is the networking problem real? How does OpenFlow/SDN help? Are there any proof points? Is SDN just a cool idea or is it more fundamental? How can I experiment with OpenFlow/SDN What is next?

Example 2 Using all the wireless capacity around us KK Yap, Masayoshi Kobayashi, Yiannis Yiakoumis, TY Huang

Feature Network OS (NOX) KK s Experiment: <250 lines of code WiMax

Industry Embracing SDN Largest Network Providers/Operators Vendors and start-ups More... More... Note: Level of interest varies 52

Open Networking Foundation http://opennetworking.org/ to continue standardization of OpenFlow and other SDN interfaces/apis Board of Directors Deutsche Telekom, Facebook, Google, Microsoft, Verizon, Yahoo! 50+ Members Broadcom, Brocade Ciena, Cisco, Citrix, Dell, Ericsson, Extreme, Force10, HP, IBM, Juniper Networks, Marvell, NEC, Netgear, NTT, Riverbed, Vmware, [List growing]

More Proof Points May 2011 Interop Las Vegas 14 companies demonstrated OpenFlow Interop 2011 could have been called The OpenFlow Show IT world October 2011 1 st Open Networking Summit Sold out, 400+ registrations, 20+ demos from different industry segments April 2012 2nd Open Networking Summit 450+ people on pre-registration list!!

Important Questions Is the networking problem real? How does OpenFlow/SDN help? Are there any proof points? Is SDN just a cool idea or is it more fundamental? How can I experiment with OpenFlow/SDN What is next?

Important Questions Is the networking problem real? How does OpenFlow/SDN help? Are there any proof points? Is SDN just a cool idea or is it more fundamental? How can I experiment with OpenFlow/SDN What is next?

The Future of Networking, The Past of Protocols Scott Shenker, UC Berkeley Open Networking Summit, October 2011 http://opennetsummmit.org/ 58

Software-Defined Networking SDN clearly has advantages over status quo But is SDN the right solution? Scott s talk: Not what SDN is, but why SDN is

Key to Internet Success: Layers Applications built on Reliable (or unreliable) transport built on Best-effort global packet delivery built on Best-effort local packet delivery built on Physical transfer of bits

Layers are Great Abstractions Layers only deal with the data plane We have no powerful control plane abstractions! How do we find those abstractions? Define our problem, and then decompose it.

The Network Control Problem Compute the configuration of each physical device E.g., Forwarding tables, ACLs, Operate without communication guarantees Operate within given network-level protocol Only people who love complexity would find this a reasonable request

From Requirements to Abstractions 1. Operate without communication guarantees Need an abstraction for distributed state 2. Compute the configuration of each physical device Need an abstraction that simplifies configuration 3. Operate within given network-level protocol Need an abstraction for general forwarding model

1. Distributed State Abstraction Shield mechanisms from vagaries of distributed state While allowing access to this state Natural abstraction: global network view Annotated network graph provided through an API Control mechanism is now program using API No longer a distributed protocol, now just a graph algorithm E.g. Use Dijkstra rather than Bellman-Ford

Network Software Traditional Defined Switches Control Network and/or Mechanisms Routers (SDN) e.g. routing, access control Control Program Global Network View Distributed algorithm running between neighbors Network OS

2. Specification Abstraction Control program should express desired behavior It should not be responsible for implementing that behavior on physical network infrastructure Natural abstraction: simplified model of network Simple model only enough detail to specify goals This is network virtualization

Simple Example: Access Control Abstract Network Model Global Network View

Software Defined Network Abstract Network Model Network Control Virtualization Program Global Network View Network OS

3. Forwarding Abstraction Control plane needs flexible forwarding model Abstraction should not constrain control program Should support whatever forwarding behaviors needed It should hide details of underlying hardware Crucial for evolving beyond vendor-specific solutions

OpenFlow Interface to Forwarding Abstraction Routing Network OS If header = x, send to port 4 If header = y, overwrite header with z, send to ports 5,6 If header =?, send to me Flow Table

Forwarding Primitives <Match, Action> Match arbitrary bits in headers: Header Data Match on any header, or new header Allows any flow granularity Action Match: 1000x01xx0101001x Forward to port(s), drop, send to controller Overwrite header with mask, push or pop Forward at specific bit-rate

Important Questions Is the networking problem real? How does OpenFlow/SDN help? Are there any proof points? Is SDN just a cool idea or is it more fundamental? How can I experiment with OpenFlow/SDN? What is next?

OpenFlow Building Blocks oftrace oflops openseer Monitoring/ debugging tools Stanford Provided ENVI (GUI) LAVI n-casting Expedient Applications NOX Beacon Trema Maestro ONIX Controller FlowVisor Console Commercial Switches HP, NEC, Pronto, IBM, Juniper.. and many more FlowVisor Stanford Provided Software NetFPGA Ref. Switch OpenWRT PCEngine WiFi AP Broadcom Ref. Switch Open vswitch Slicing Software OpenFlow Switches 73

Current SDN hardware Juniper MX-series NEC PF5240 HP Procurve 5400 IBM G8264 Netgear 7324 WiMax (NEC) Pronto 3240/3290 Ciena Coredirector PC Engines Ask your vendors 74

Commercial Switch Vendors Model Virtualize Notes HP Procurve 5400zl or 6600 NEC PF5240 Pronto 3240 or 3290 with Pica8 or Indigo firmware IBM G8264 1 OF instance per VLAN 1 OF instance per VLAN 1 OF instance per switch 1 OF instance per switch -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 -OpenFlow takes precedence -Most actions processed in hardware -MAC header rewriting in h/w -No legacy protocols (like VLAN and STP) -Most actions processed in hardware -MAC header rewriting in h/w - Run in either Legacy or OpenFlow mode - 10G x 48 port & 40G x 4 ports 75

Open Controllers Name Lang Platform(s) License Original Author OpenFlow Reference C Linux OpenFlow License Stanford/Nici ra Notes 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 76

Closed-source Controller Vendors Ask these vendors for more info BigSwitch Nicira NEC 77

OpenFlow Deployment Recipes http://www.openflow.org/wp/deploy-openflow/ Three scenarios: Scale Budget Work/Time 1 Within a single PC ~ $0 (use your laptop) 1 Ph.D student, 1 day 2 3 switches in a Lab ~ $15K 2-3 PhD students, 1 week 3 Within a building (3 switches/floor) ~$15K/floor 1 staff engineer + 1 Ph.D student, 3 month

Mininet Deploying OpenFlow within a single PC (1) Creating scalable software-defined (e.g. OpenFlow) networks on a single PC by using Linux processes in network namespaces Scales better than running VMs http://yuba.stanford.edu/foswiki/bin/view/openflow/mininet Best place to start: OpenFlow Hands-on Tutorial Page http://www.openflow.org/wk/index.php/openflow_tutorial Step-by-step instruction: how to run mininet, controllers and debugging tools You can download all-in-one VM image (contains Mininet, open-source OpenFlow controllers and OpenFlow debugging tools) OpenFlow Tutorial VM Image OpenVswitch (OpenFlow switch) OpenVswitch (OpenFlow switch) Mininet Host Host Host OpenFlow Controller Debugging Tools (Wireshark) Linux (Guest OS) Your PC s host OS (Windows, Linux, MacOS X, etc).

Example: Deploying OpenFlow within a single PC (2) (Step1) Create a OpenFlow network (1 switch, 3 hosts) $ sudo mn --topo single,3 --mac --switch ovsk --controller remote mininet> (Step2) Run reference controller (mimicking L2 switch network) $./controller ptcp: (Step3) Ping between hosts mininet> h2 ping h3 OpenFlow Controller s1: OpenVswitch h2: Host (10.0.0.1) h3: Host (10.0.0.2) h4: Host (10.0.0.3)

OpenFlow Deployment with 3 Switches in the Lab (1) Case1: Switch doesn t support multiple OpenFlow switch instances (e.g., Pronto) Step1: Create the physical topology - Datapath connections - Control path connections Step2: Configure switch pointing to the controller Step3: Run Controller OpenFlow Switch Host Host Controller Port OpenFlow Switch Controller NOX Host OpenFlow Switch Controller Port Host Controller Port

OpenFlow Deployment with 3 switches in the Lab (2) Case2: Switch supports multiple OpenFlow switch instances (e.g., HP, NEC) Step 1: Create VLANs Step 2: Create Physical Topology - Datapath connections - Control path connections Step 4: Assign VLANs to switch instances Step 5: Configure each switch instance pointing to the controller Step 6: Run Controllers VLAN A VLAN B OpenFlow Switch Host Host Host Controller Port OpenFlow Switch Controller NOX A Host Host OpenFlow Switch Controller Port Controller NOX B Host Host Controller Port

OpenFlow Deployment in a Building Goal: Run the following non-openflow and OpenFlow VLANs non-openflow VLANs : For legacy production network OpenFlow VLANs : For experiments & OpenFlow production network (Assumption: You have hybrid OpenFlow switches) Production Controller Ctrl A Ctrl B Ctrl C Flow Visor OpenFlow VLAN (for production) OpenFlow VLAN (for experiments) Legacy VLANs

OpenFlow Deployment in a Building Step1: - Configure all VLANs as non-openflow to check if it works (few days ~ 1 week) Non-OpenFlow VLAN (for production) Non-OpenFlow VLAN (for experiments): Legacy VLANs

OpenFlow Deployment in a Building Step2: - Change 1 non-production VLAN into OpenFlow and run stable production controller - See performance (at least 1 week) Production Controller Non- OpenFlow VLAN (for production) Non-OpenFlow VLAN VLAN (for experiments) Legacy VLANs

OpenFlow Deployment in a Building Step3: - Change production VLAN into OpenFlow and run stable production controller - See performance (at least 1 week) Production Controller Production Controller Non-OpenFlow VLAN VLAN (for production) OpenFlow VLAN (for experiments) Legacy VLANs

OpenFlow Deployment in a Building Step4: - Change non-openflow Controller to an experimental controller - See performance (at least 1 week) Production Controller Production Ctrl A Controller OpenFlow VLAN (for production) OpenFlow VLAN (for experiments) Legacy VLANs

OpenFlow Deployment in a Building Step 5: - Insert FlowVisor to OpenFlow VLAN - See performance (at least 1 week) Production Controller Ctrl A Flow Visor OpenFlow VLAN (for production) OpenFlow VLAN (for experiments) Legacy VLANs

OpenFlow Deployment in a Building Step 6 (final): - Run multiple experimental controllers - Keep watching the performance Production Controller Ctrl A Ctrl B Ctrl C Flow Visor OpenFlow VLAN (for production) OpenFlow VLAN (for experiments) Legacy VLANs

OpenFlow Deployment at Stanford Gates (CS) 12 HP/NEC/Pronto 30 WiFi APs 1 NEC WiMAX BS CIS (EE) 7 HP Procurve 14 WiFi APs Packard (EE) 8 HP Procurve 15 WiFi APs 1 NEC WiMAX BS Research Use High-profile demos SIGCOMM 08 & 09 best demos Numerous GEC Plenary Research activities OpenFlow Wireless, FlowVisor, Aster*x, OpenPipes, Flow Aggregation Production Use Two WiFi subnets (5300 unique MAC in 2 days) Uses commercial OpenFlow controller

OpenFlow Deployment in NSF s GENI Two national backbones 8 pioneer universities +10 universities received OpenFlow switches Regional networks to be OpenFlow enabled in 2012 20 more campuses in 2012-13 200 to 300 over next few years

NDDI Project NDDI (Network Development and Deployment Initiative) Internet2, Indiana University and Stanford University 30+ backbone OpenFlow nodes connected with 10G

What is next?

Platform Development Deployment Demo Stanford/Berkeley SDN Activities With Partners SIGCOMM08 GEC3 SIGCOMM09 GEC6 GEC9 Interop 2011 VM Migration (Best Demo) Other countries US R&E Community Stanford University GENI software suite Trans-Pacific VM Migration SDN Concept (Best Demo) ~45 switch/aps ~25user In McKeown Group Baby GENI Nation Wide GENI The OpenFlow Show IT World Expedient/Opt-in Manager/FOAM Over 68 countries (Europe, Japan, China, Korea, Brazil, etc.) GENI: 8 Universities + Internet2 + NLR Many other campuses CIS/EE Building Production Network Virtualization FlowVisor FlowVisor (Java) Network OS NOX SNAC Beacon Tools Test Suite oftrace Measurement tools Mininet Ethane Reference Switch NetFPGA Software +Broadcom OpenFlow Spec v0.8.9 v1.0 v1.1 2007 2008 2009 2010 2011

How Scott Shenker Put It We have much to learn about the design/use of SDN Just beginning to grapple with the fundamental issues Now this is not the end. It is not even the beginning of the end. But it is, perhaps, the end of the beginning.

Stanford/Berkeley Plan for Next Stage of SDN Open Networking Research Center (ONRC) Open Networking Laboratory (ON.Lab) Develop SDN scientific foundation Develop, distribute, support SDN platforms and tools Facilitate deployments in various domains of use Demonstrate new capabilities enabled by SDN for various domains of use Build partnerships to accomplish goals We cannot do it all Enable research community

Scope of Activities Abstractions Big Connector Virtual Network Network Map Flow Space Scalability Reliability Security OF Switch OF Switch Feature Mininet & Tools Network OS OF Switch Feature Programming System/Tools Network HyperVisor Open Radio Feature Network Network OS OF OS-wireless OpenRadio Switch Big Connector Virtual Network Logical Map of Network FlowVisor Prog Systems Systems Xlities OF Switch

Scope of Activities Cont. Domains of Use Abstractions Enterprise Networks Big Connector Virtual Network Network Map OF Switch Datacenter Networks Flow Space Scalability Reliability Security OF Switch Mininet & Tools Open Radio Network OS Network FlowVisor OS-wireless Prog Systems Systems Service Provider Networks Cellular Networks Xlities Home Networks Research Prototype Platforms Demonstrate Deploy

Example Integrative Projects Datacenter Networking Research Cluster OpenFlow networking substrate for GENI Internet2 NDDI: SDN based nation-wide backbone for R&E Home networking with SDN and slicing CloudNet: a nation-wide programmable cloud for R&E - in planning Wireless Cloud: sliceable programmable basestation with intelligence in the cloud

ONRC Structure Scott Shenker Berkeley PhD/Postdocs Research Nick McKeown, Guru Parulkar, Scott Shenker Open Network Lab (ON.Lab) 12-15 Engineers/Tech Leads Technology development e.g. NOX, FV, Beacon, Mininet Explore new use cases Facilitate R&E deployments Nick McKeown Guru Parulkar Stanford PhD/Postdocs Research

ONF and ONRC Ideas and technologies To Standards ONF Standards Organization ONRC Research and Advanced Development Relevant Problems & Insights SDN Protocol & Interface Standards SDN Scientific Foundation Technologies Deployments & Interesting Applications