Composing Software Defined Networks Jennifer Rexford Princeton University With Joshua Reich, Chris Monsanto, Nate Foster, and.

Slides:



Advertisements
Similar presentations
Towards Software Defined Cellular Networks
Advertisements

Incremental Update for a Compositional SDN Hypervisor Xin Jin Jennifer Rexford, David Walker.
Compiling Path Queries in Software-Defined Networks Srinivas Narayana Jennifer Rexford and David Walker Princeton University.
SDN Applications Jennifer Rexford Princeton University.
Frenetic: A High-Level Language for OpenFlow Networks Nate Foster, Rob Harrison, Matthew L. Meola, Michael J. Freedman, Jennifer Rexford, David Walker.
Composing Software Defined Networks
Jennifer Rexford Princeton University MW 11:00am-12:20pm Network Virtualization COS 597E: Software Defined Networking.
Composing Software-Defined Networks Princeton*Cornell^ Chris Monsanto*, Joshua Reich* Nate Foster^, Jen Rexford*, David Walker*
Nanxi Kang Princeton University
Jennifer Rexford Princeton University
Modular SDN Programming w/ Pyretic
Slick: A control plane for middleboxes Bilal Anwer, Theophilus Benson, Dave Levin, Nick Feamster, Jennifer Rexford Supported by DARPA through the U.S.
PARIS: ProActive Routing In Scalable Data Centers Dushyant Arora, Theophilus Benson, Jennifer Rexford Princeton University.
Incremental Consistent Updates Naga Praveen Katta Jennifer Rexford, David Walker Princeton University.
OpenFlow-Based Server Load Balancing GoneWild
Programming Abstractions for Software-Defined Networks Jennifer Rexford Princeton University.
Scalable Flow-Based Networking with DIFANE 1 Minlan Yu Princeton University Joint work with Mike Freedman, Jennifer Rexford and Jia Wang.
PegaSys : Princeton Enterprise GENI System Michael Freedman, Scott Karlin, Larry Peterson, Jennifer Rexford, and Chris Tengi.
Software-Defined Networking
Enabling Innovation Inside the Network Jennifer Rexford Princeton University
Languages for Software-Defined Networks Nate Foster, Arjun Guha, Mark Reitblatt, and Alec Story, Cornell University Michael J. Freedman, Naga Praveen Katta,
Enabling Innovation Inside the Network Jennifer Rexford Princeton University
Jennifer Rexford Princeton University MW 11:00am-12:20pm SDN Software Stack COS 597E: Software Defined Networking.
Scalable Server Load Balancing Inside Data Centers Dana Butnariu Princeton University Computer Science Department July – September 2010 Joint work with.
Cellular Core Network Architecture
Enabling Innovation Inside the Network Jennifer Rexford Princeton University
Enabling Innovation Inside the Network Jennifer Rexford Princeton University
OpenFlow-Based Server Load Balancing GoneWild Author : Richard Wang, Dana Butnariu, Jennifer Rexford Publisher : Hot-ICE'11 Proceedings of the 11th USENIX.
Frenetic: A Programming Language for Software Defined Networks Jennifer Rexford Princeton University Joint work with Nate.
Software-Defined Networks Jennifer Rexford Princeton University.
Higher-Level Abstractions for Software-Defined Networks Jennifer Rexford Princeton University.
Languages for Software-Defined Networks Nate Foster, Michael J. Freedman, Arjun Guha, Rob Harrison, Naga Praveen Katta, Christopher Monsanto, Joshua Reich,
Professor Yashar Ganjali Department of Computer Science University of Toronto Some slides courtesy.
Frenetic: Programming Software Defined Networks Jennifer Rexford Princeton University Joint with Nate Foster, David Walker,
Jennifer Rexford Fall 2014 (TTh 3:00-4:20 in CS 105) COS 561: Advanced Computer Networks TCP.
Software Defined Networking Kathryn Abbett. Definition □Origins from Berkley and Stanford, around 2008 □Software-Defined Networking (SDNs) allows applications.
Copyright 2013 Open Networking User Group. All Rights Reserved Confidential Not For Distribution Programming Abstractions for Software-Defined Networks.
Programming Abstractions for Software-Defined Networks Jennifer Rexford Princeton University
SDX: A Software-Defined Internet eXchange Jennifer Rexford Princeton University
Jennifer Rexford Princeton University MW 11:00am-12:20pm Measurement COS 597E: Software Defined Networking.
Programming Languages for Software Defined Networks Jennifer Rexford and David Walker Princeton University Joint work with the.
Aaron Gember, Theophilus Benson, Aditya Akella University of Wisconsin-Madison.
High-Level Abstractions for Programming Software Defined Networks Joint with Nate Foster, David Walker, Arjun Guha, Rob Harrison, Chris Monsanto, Joshua.
Programming Abstractions for Software-Defined Networks Jennifer Rexford Princeton University.
Enabling Innovation Inside the Network Joint with Nate Foster, David Walker, Rob Harrison, Chris Monsanto, Cole Schlesinger, Mike Freedman, Mark Reitblatt,
CellSDN: Software-Defined Cellular Core networks Xin Jin Princeton University Joint work with Li Erran Li, Laurent Vanbever, and Jennifer Rexford.
Yaping Zhu with: Jennifer Rexford (Princeton University) Aman Shaikh and Subhabrata Sen (ATT Research) Route Oracle: Where Have.
Evolving Toward a Self-Managing Network Jennifer Rexford Princeton University
Enabling Innovation Inside the Network Jennifer Rexford Princeton University
Jennifer Rexford Princeton University MW 11:00am-12:20pm SDN Programming Languages COS 597E: Software Defined Networking.
Enabling Innovation Inside the Network Jennifer Rexford Princeton University
Jennifer Rexford Princeton University MW 11:00am-12:20pm Data-Plane Verification COS 597E: Software Defined Networking.
Jennifer Rexford Princeton University MW 11:00am-12:20pm Testing and Debugging COS 597E: Software Defined Networking.
Software Defined Networking BY RAVI NAMBOORI. Overview  Origins of SDN.  What is SDN ?  Original Definition of SDN.  What = Why We need SDN ?  Conclusion.
InterVLAN Routing 1. InterVLAN Routing 2. Multilayer Switching.
The Internet: An Exciting Time
SDN challenges Deployment challenges
Discovering Your Research Taste
Jennifer Rexford Princeton University
Martin Casado, Nate Foster, and Arjun Guha CACM, October 2014
Programming the Networks of the Future
Programmable Networks
Composing Software-Defined Networks
Software Defined Networking
Enabling Innovation Inside the Network
Languages for Software-Defined Networks
Programmable Networks
Administrivia Paper assignments for reviews 2 and 3 are out
Frenetic: Programming Software Defined Networks
Control-Data Plane Separation
Presentation transcript:

Composing Software Defined Networks Jennifer Rexford Princeton University With Joshua Reich, Chris Monsanto, Nate Foster, and David Walker To appear at Network Systems Design and Implementation, April 2013

Software Defined Networking (SDN) 2 Controller Platform Controller Application Network-wide visibility and control Direct control via open interface But, how should we write controller applications?

Combining Many Networking Tasks 3 Controller Platform Route + Monitor + FW + LB Monolithic application Hard to program, test, debug, reuse, port, …

Modular Controller Applications 4 Controller Platform LB Route Monitor FW Easier to program, test, and debug Greater reusability and portability A module for each task

Beyond Multi-Tenancy 5 Controller Platform Slice 1 Slice 2 Slice n... Each module controls a different portion of the traffic Relatively easy to partition rule space, link bandwidth, and network events across modules

Modules Affect the Same Traffic 6 Controller Platform LB Route Monitor FW How to combine modules into a complete application? Each module partially specifies the handling of the traffic

Parallel Composition [ICFP’11, POPL’12] 7 Controller Platform Route on dest prefix Monitor on source IP + dstip = 1.2/16  fwd(1) dstip = 3.4.5/24  fwd(2 ) srcip =  count srcip =  count srcip = , dstip = 1.2/16  fwd(1), count srcip = , dstip = 3.4.5/24  fwd(2 ), count srcip = , dstip = 1.2/16  fwd(1), count srcip = , dstip = 3.4.5/24  fwd(2), count

Spread client traffic over server replicas –Public IP address for the service –Split traffic based on client IP –Rewrite the server IP address Then, route to the replica Example: Server Load Balancer clients load balancer server replicas

Sequential Composition [new!] 9 Controller Platform Routing Load Balancer >> dstip =  fwd(1) dstip =  fwd(2 ) srcip = 0*, dstip=  dstip= srcip = 1*, dstip=  dstip= srcip = 0*, dstip =  dstip = , fwd(1) srcip = 1*, dstip =  dstip = , fwd(2 )

Dividing the Traffic Over Modules Predicates –Specify which traffic traverses which modules –Based on input port and packet-header fields 10 Routing Load Balancer Monitor Routing dstport != 80 dstport = 80 >> +

High-Level Architecture 11 Controller Platform M1 M2 M3 Composition Spec

Partially Specifying Functionality A module should not specify everything –Leave some flexibility to other modules –Avoid tying the module to a specific setting Example: load balancer plus routing –Load balancer spreads traffic over replicas –… without regard to the network paths 12 Load Balancer Routing >> Avoid custom interfaces between modules

Abstract Topology Views Present abstract topology to the module –Concise: implicitly encodes the constraints –General: can represent a variety of constraints –Intuitive: looks just like a normal network –Safe: prevents the module from overstepping 13 Real networkAbstract view

Separation of Concerns Hide irrelevant details –Load balancer doesn’t see the internal topology or any routing changes 14 Routing viewLoad-balancer view

Ex. #1: Pass-Through of Packets Simplified input –Merged set of input ports –E.g., all traffic from Internet No forwarding action –Firewall: pass-through or drop a packet –Load balancer: pass-through and rewrite dest Forwarding performed by another module –Routing module controls all packet forwarding 15 Load balancer, Firewall

Ex. #2: Joint Control of Forwarding Division of labor –One module picks the egress point –Other module picks the path 16 Learning and routing Learning Routing

Ex. #2: Joint Control of Forwarding Virtual packet headers –Learning module selects an egress point –Routing module forwards on virtual output port 17 Learning and routing Learning Routing

Ex. #3: Many-to-One Mapping 18 Left: learning switch on MAC addresses Middle: ARP on gateway, plus simple repeater Right: shortest-path forwarding on IP prefixes

High-Level Architecture 19 Controller Platform View Definitions M1 M2 M3 Composition Spec

Conclusions Modularity is crucial –Ease of writing, testing, and debugging –Separation of concerns, code reuse, portability Language abstractions –Parallel and sequential composition –Abstract topology views and virtual headers Ongoing work –Imperative Python-like programming language –Complete run-time system and example apps 20