Software Defined Networking COMS 6998-10, Fall 2014 Instructor: Li Erran Li 6998-10SDNFall2014/

Slides:



Advertisements
Similar presentations
Enabling Fast, Dynamic Network Processing with ClickOS
Advertisements

Seyed K. Fayazbakhsh Vyas Sekar Minlan Yu Jeff Mogul
Towards Software Defined Cellular Networks
Practical and Incremental Convergence between SDN and Middleboxes 1 Zafar Qazi, Cheng-Chun Tu, Luis Chiang Vyas Sekar Rui Miao Minlan Yu.
Toward Practical Integration of SDN and Middleboxes
SIMPLE-fying Middlebox Policy Enforcement Using SDN
Deployment of MPLS VPN in Large ISP Networks
Programmable Measurement Architecture for Data Centers Minlan Yu University of Southern California 1.
Toward Practical Convergence of Middleboxes and Software-Defined Networking Vyas Sekar Joint work with: Seyed Kaveh Fayazbakhsh, Zafar Qazi, Luis Chiang,
Making Cellular Networks Scalable and Flexible Li Erran Li Bell Labs, Alcatel-Lucent Joint work with collaborators at university of Michigan, Princeton,
Design and Implementation of a Consolidated Middlebox Architecture 1 Vyas SekarSylvia RatnasamyMichael ReiterNorbert Egi Guangyu Shi.
The Network Virtualisation Equation_ Diego R. Lopez Telefónica I+D March 2014.
Scalable Flow-Based Networking with DIFANE 1 Minlan Yu Princeton University Joint work with Mike Freedman, Jennifer Rexford and Jia Wang.
Router Architecture : Building high-performance routers Ian Pratt
Traffic Management - OpenFlow Switch on the NetFPGA platform Chun-Jen Chung( ) SriramGopinath( )
Keith Wiles DPACC vNF Overview and Proposed methods Keith Wiles – v0.5.
Hands-On Microsoft Windows Server 2003 Networking Chapter 1 Windows Server 2003 Networking Overview.
Class 3: SDN Stack Theophilus Benson. Outline Background – Routing in ISP – Cloud Computing SDN application stack revisited Evolution of SDN – The end.
The Middlebox Manifesto: Enabling Innovation in Middlebox Deployment 1 Vyas SekarSylvia RatnasamyMichael ReiterNorbert Egi Guangyu Shi.
Xen and the Art of Virtualization. Introduction  Challenges to build virtual machines Performance isolation  Scheduling priority  Memory demand  Network.
Microsoft Virtual Academy Module 4 Creating and Configuring Virtual Machine Networks.
SIMPLE-fying Middlebox Policy Enforcement Using SDN Zafar Ayyub Qazi Cheng-Chun Tu Luis Chiang Vyas Sekar Rui Miao Minlan Yu.
Christopher Bednarz Justin Jones Prof. Xiang ECE 4986 Fall Department of Electrical and Computer Engineering University.
Cellular Core Network Architecture
Enabling Innovation Inside the Network Jennifer Rexford Princeton University
FI-WARE – Future Internet Core Platform FI-WARE Interface to Networks and Devices (I2ND) July 2011 High-level description.
Networking Virtualization Using FPGAs Russell Tessier, Deepak Unnikrishnan, Dong Yin, and Lixin Gao Reconfigurable Computing Group Department of Electrical.
Hosting Virtual Networks on Commodity Hardware VINI Summer Camp.
Software-Defined Networks Jennifer Rexford Princeton University.
Eric Keller, Evan Green Princeton University PRESTO /22/08 Virtualizing the Data Plane Through Source Code Merging.
Traffic Management - OpenFlow Switch on the NetFPGA platform Chun-Jen Chung( ) Sriram Gopinath( )
Cloud Scale Performance & Diagnosability Comprehensive SDN Core Infrastructure Enhancements vRSS Remote Live Monitoring NIC Teaming Hyper-V Network.
Management for IP-based Applications Mike Fisher BTexaCT Research
Bohatei: Flexible and Elastic DDoS Defense
Enforcing Network-Wide Policies in the Presence of Dynamic Middlebox Actions using FlowTags Seyed K. Fayazbakhsh *, Luis Chiang ¶, Vyas Sekar *, Minlan.
Extending SDN to Handle Dynamic Middlebox Actions via FlowTags (Full version to appear in NSDI’14) Seyed K. Fayazbakhsh, Luis Chiang, Vyas Sekar, Minlan.
OS Services And Networking Support Juan Wang Qi Pan Department of Computer Science Southeastern University August 1999.
Aaron Gember, Theophilus Benson, Aditya Akella University of Wisconsin-Madison.
Extending OVN Forwarding Pipeline Topology-based Service Injection
1 | © 2015 Infinera Open SDN in Metro P-OTS Networks Sten Nordell CTO Metro Business Group
CellSDN: Software-Defined Cellular Core networks Xin Jin Princeton University Joint work with Li Erran Li, Laurent Vanbever, and Jennifer Rexford.
Full and Para Virtualization
SOFTWARE DEFINED NETWORKING/OPENFLOW: A PATH TO PROGRAMMABLE NETWORKS April 23, 2012 © Brocade Communications Systems, Inc.
SIMPLE-fying Middlebox Policy Enforcement Using SDN
FlowTags: Enforcing Network-Wide Policies in the Presence of Dynamic Middlebox Actions Author: Seyed Kaveh Fayazbakhsh, Vyas Sekar, Minlan Yu and Jeffrey.
1 Scalability of a Mobile Cloud Management System Roberto Bifulco* Marcus Brunner** Roberto Canonico* Peer Hasselmeyer** Faisal Mir** * Università di Napoli.
Rethinking Access Networks with High Performance Virtual Software BRASes Roberto Bifulco, Thomas Dietz, Felipe Huici, Mohamed Ahmed, Joao Martins, Saverio.
PART1: NETWORK COMPONENTS AND TRANSMISSION MEDIUM Wired and Wireless network management 1.
Leveraging SDN for The 5G Networks: Trends, Prospects and Challenges ADVISOR: 林甫俊教授 Presenter: Jimmy DATE: 2016/3/21 1.
Fabric: A Retrospective on Evolving SDN Presented by: Tarek Elgamal.
NEWS: Network Function Virtualization Enablement within SDN Data Plane.
ClickOS and the Art of Network Function Virtualization Joao Martins*, Mohamed Ahmed*, Costin Raiciu§, Roberto Bifulco*, Vladimir Olteanu§, Michio Honda*,
SDN and Beyond Ghufran Baig Mubashir Adnan Qureshi.
Outline PART 1: THEORY PART 2: HANDS ON
Craig Farrell CTO Telecom IBM. Why to operators want SDN and NFV? Definitions SDN: Separate control/management & data plane of switches Centralization.
When RINA Meets NFV Diego R. López Telefónica
NFP: Enabling Network Function Parallelism in NFV
Middlebox, SDN and NFV Middlebox
Ready-to-Deploy Service Function Chaining for Mobile Networks
Xin Li, Chen Qian University of Kentucky
University of Maryland College Park
The DPIaaS Controller Prototype
15-744: Computer Networking
SoftMoW: Recursive and Reconfigurable Cellular WAN Architecture
of Dynamic NFV-Policies
Software Defined Networking (SDN)
NFP: Enabling Network Function Parallelism in NFV
Software Defined Networking (SDN)
NFP: Enabling Network Function Parallelism in NFV
NFV and SD-WAN Multi vendor deployment
Presentation transcript:

Software Defined Networking COMS , Fall 2014 Instructor: Li Erran Li SDNFall2014/ 11/24/2014: SDN Middleboxes and NFV

Outline Review of SDN Wireless Networks SDN Middleboxes and NFV – Middlebox – NFV (Middlebox Virtualization) – NFV Use Cases – NFV Architecture, Proof-of-Concept Implementation, Monitoring and DPDK – Virtualization Optimization: ClickOS – Enforcing Network-Wide Policy: FlowTags 211/24/14 Software Defined Networking (COMS )

Mobile WANs Problems Suboptimal routing in large carriers –Lack of sufficiently close PGW is a major cause of path inflation (Path Inflation, PAM’14) Lack of support for seamless inter-region mobility –No inter-PGW mobility support (DMM, Zuniga et.al., 2013) Scalability and reliability –Centralized policy enforcement Ill-suited to adapt to new trends of mobile traffic –Signaling storm problem 311/24/14 Software Defined Networking (COMS )

What is SoftMoW? Clean-slate architecture of cellular WANs Scalable control plane and data plane –Millions of UEs and hundreds of thousands of BSs Performs new global applications –Runs Region optimization –Supports Seamless mobility –Enables optimal end to end paths 411/24/14 Software Defined Networking (COMS )

SoftMoW Overview Controller: enforce service policies and run new apps Core networks: Inter-connected SDN switches nationwide –Sufficient egress points per region to avoid path inflation Radio networks: organized into base stations groups – Fine-grained classifier access switch attached to each BS Service policies: middle-boxes placed in edge networks –Any sophisticated network functions, e.g., billing and noise cancelation 511/24/14 Software Defined Networking (COMS )

SoftMoW Challenges Distributed control plane Recursively build up a hierarchical and reconfigurable control plane Path setup – Keep per packet overhead minimal on recursive abstractions Topology discovery – Cross-region links are visible to only a non-leaf controller Global applications – Optimization without a global network state at each controller. 611/24/14 Software Defined Networking (COMS )

Recursive and Reconfigurable Control Plane Recursively partition the data plane network into logical regions and assign to control node Recursively expose: – Gigantic Switch (G-switch), Gigantic Middlebox (G-middlebox), Gigantic Base station (G-BS) Reconfiguration: Each non-leaf controller can reconfigure logical entities – Optimize hierarchy and data plane operations without a global state 711/24/14 Software Defined Networking (COMS )

SoftMoW Controller Architecture Network operating system – Agnostic of cell apps Operator apps – E.g., region optimization, HSS, PCRF Recursive abstraction app – Eastbound API for operator apps – Agent communicates with a parent – Expose G-switch, G-Bses, G- Middleboxes Management Plane – Bootstraps the recursive control plane. – E.g., IP assignment, tree configuration 811/24/14 Software Defined Networking (COMS )

Core Service: Topology Discovery –Scalable and fast link and switch detection –Two challenges: Inter-region links visible to only a non-leaf controller Leaf controllers with direct control –Parallel- sequential periodical protocol: G-switch discovery Inter-Gswitch link disocvery Abstract Gswitch computation 9 SW1 SW2 C1 SW3 SW4 C2 C0 GS1 GS2 11/24/14 Software Defined Networking (COMS )

Core Service: Topology Discovery Discovery message: –Meta data field: properties of the traversed physical –Stack field: stores the traversed path F ormat: (Controller ID, G-switch ID, G-switch port) 10 SW1 SW2 C1 SW3 SW4 C2 C0 (C0, GS1, p1) (C1, SW2, p2) (C0, GS1, p1) (C1, SW2, p2) (SW3, p3) (C0, GS1, p1) (GS2, p4) (1) (2) (3) (4) GS1 GS2 StackPayload 11/24/14 Software Defined Networking (COMS )

Core Service: Path Setup Access switches perform fine-grained packet classification Goal 1: each controller should be able to make local decisions Goal 2: decisions made by an ancestor controller should be visible across links it discovers. Simple solution: label stacking has high per-packet overhead 11 L1, L2, L3, L4 Per packet stack 11/24/14 Software Defined Networking (COMS )

Recursive Label Swapping 12 Root has a single-path service policy for rate-limiting Any controller has its own local policy or label Ingress switch: Pop parent label, Push local labels Egress switch: Pop local labels, Push parent label 11/24/14

App: Region Optimization and Reconfiguration Inter region handovers increase “east-west” control plane load Require the intervention of three controllers: – the source and target leaf controllers, and the ancestor controller. Regions should be refined to reduce the load Handover patterns vary across time-of-day. – Difficult to find static borders Design a greedy-iterative approach – Priority top to bottom 1311/24/14 Software Defined Networking (COMS )

App: Region Optimization and Reconfiguration 14 Reconfiguration mechanism for an initiator controller: Find the highest gain gigantic base station Contact the management plane Management plane finds the leaf controllers Seamless control transfer at the leaf using EQUAL ROLE Reconfigure logical data planes from bottom up to the initiator controller Root graph before optimization Root graph after optimization Two leaf regions 11/24/14 Software Defined Networking (COMS )

Outline Review of SDN Wireless Networks SDN Middleboxes and NFV – Middlebox – NFV (Middlebox Virtualization) – NFV Use Cases – NFV Architecture, Proof-of-Concept Implementation, Monitoring and DPDK – Virtualization Optimization: ClickOS – Enforcing Network-Wide Policy: FlowTags 1511/24/14 Software Defined Networking (COMS )

The Idealized Network Physical Datalink Network Transport Application Physical Datalink Network Transport Application Physical Datalink Network Physical Datalink Page 16 11/24/14 Software Defined Networking (COMS ) 16

A Middlebox World Page 17 carrier-grade NAT load balancer DPI QoE monitor ad insertion BRAS session border controller transcoder WAN accelerator DDoS protection firewall IDS 11/24/14 Software Defined Networking (COMS ) 17

Need for Network Evolution 18 New devices New applications Evolving threats Policy constraints Performance, Security 11/24/14 Software Defined Networking (COMS )

19 Type of applianceNumber Firewalls166 NIDS127 Media gateways110 Load balancers67 Proxies66 VPN gateways45 WAN Optimizers44 Voice gateways11 Total Middleboxes636 Total routers~900 Network Evolution today: Middleboxes! Data from a large enterprise: >80K users across tens of sites Just network security $10 billion (Sherry et al, SIGCOMM’ 12) 11/24/14 Software Defined Networking (COMS )

There are many middleboxes! Survey across 57 enterprise networks (Sherry et al, SIGCOMM’ 12) 11/24/14 Software Defined Networking (COMS ) 20

Things to keep in mind about middleboxes A middlebox is any traffic processing device except for routers and switches. Why do we need them? – Security – Performance Deployments of middlebox functionalities: – Embedded in switches and routers (e.g., packet filtering) – Specialized devices with hardware support of SSL acceleration, DPI, etc. – Virtual vs. Physical Appliances – Local (i.e., in-site) vs. Remote (i.e., in-the-cloud) deployments They can break end-to-end semantics (e.g., load balancing) 2111/24/14 Software Defined Networking (COMS )

Controller Platform Switch API Controller Switches App Runtime SDN Stack Control Flow, Data Structures, etc. Applications Where do middleboxes logically fit in?

Hardware Middleboxes - Drawbacks ▐Expensive equipment/power costs ▐Difficult to add new features (vendor lock-in) ▐Difficult to manage ▐Cannot be scaled on demand (peak planning) Page 23 11/24/14 Software Defined Networking (COMS ) 23

Outline Review of SDN Wireless Networks SDN Middleboxes and NFV – Middlebox – NFV (Middlebox Virtualization) – NFV Use Cases – NFV Architecture, Proof-of-Concept Implementation, Monitoring and DPDK – Virtualization Optimization: ClickOS – Enforcing Network-Wide Policy: FlowTags 2411/24/14 Software Defined Networking (COMS )

Middlebox Virtualization Virtual network function (VNF): – software implementation of a network function capable of running over NFV infrastructure Advantage of NFV – use standard COTS hardware (e.g., high volume servers, storage) reduces CAPEX and OPEX – fully implement functionality in software reducing development and deployment cycle times, opening up the R&D market – consolidate equipment types reducing power consumption – optionally concentrate network functions in datacenters obtaining further economies of scale and enabling rapid scale-up and scale- down 2511/24/14 Software Defined Networking (COMS )

Potential VNFs Potential Virtual Network Functions (from NFV ISG whitepaper) Switching elements: – Ethernet switch, Broadband Network Gateway, CG-NAT, router Mobile network nodes: – HLR/HSS, MME, SGSN, GGSN/PDN-GW, RNC, NodeB, eNodeB Residential nodes: home router and set-top box functions Tunnelling gateway elements: IPSec/SSL VPN gateways Traffic analysis: DPI, QoE measurement QoS: service assurance, SLA monitoring, test and diagnostics NGN signaling: SBCs, IMS Converged and network-wide functions: – AAA servers, policy control, charging platforms Application-level optimization: CDN, cache server, load balancer, application accelerator Security functions: firewall, virus scanner, IDS/IPS, spam protection 2611/24/14 Software Defined Networking (COMS )

Potential VNFs (Cont’d) 11/24/14 Software Defined Networking (COMS ) 27

Outline Review of SDN Wireless Networks SDN Middleboxes and NFV – Middlebox – NFV (Middlebox Virtualization) – NFV Use Cases – NFV Architecture, Proof-of-Concept Implementation, Monitoring and DPDK – Virtualization Optimization: ClickOS – Enforcing Network-Wide Policy: FlowTags 2811/24/14 Software Defined Networking (COMS )

NFV Use Cases NFV Infrastructure as a service VNF as a service Virtual network platform as a service Virtualization of mobile core networks and IMS Virtualization of mobile base station Virtualization of home environment Virtualization of CDN Fixed access network function virtualization 2911/24/14 Software Defined Networking (COMS )

NFV Use Case Example 30 Virtualization of Evolved Packet Core (cellular core networks) 11/24/14 Software Defined Networking (COMS )

NFV Use Case Example (Cont’d) 31 VNF relocation 11/24/14 Software Defined Networking (COMS )

NFV High Level Architecture Virtualized Network Functions (VNFs) NFV Infrastructure (NFVI) Physical Infrastructure Virtual Infrastructure Compute Storage Network Virtual Computing Virtual Storage Virtual Networking NFV Management and Orchestration (MANO) NFV Management and Orchestration (MANO) VNF NFV Scope OSS / BSS: (operation/ Business Support) Service End-Points (End-users, Other Services) Other Networks 11/24/14 Software Defined Networking (COMS ) 32

ETSI NFV Reference Architecture 33 Computing Hardware Storage Hardware Network Hardware Hardware resources Virtualisation Layer Virtualised Infrastructure Manager(s) VNF Manager(s) VNF 2 Orchestrator OSS/BSS NFVI VNF 3 VNF 1 Execution reference points Main NFV reference points Other reference points Virtual Computing Virtual Storage Virtual Network NFV Management and Orchestration EMS 2 EMS 3 EMS 1 Service and Infrastructure Requirements Or-Vi Or-Vnfm Vnfm-Vi Os-Ma Se-Or Ve-Vnfm Nf-Vi Vn-Nf Vi-Ha Software Defined Networking (COMS )

Implementation of Reference Architecture Computing Hardware Storage Hardware Network Hardware Hardware resources Virtualisation Layer Virtualised Infrastructure Manager(s) VNF Manager(s) VNF 2 OSS/BSS NFVI VNF 3 VNF 1 Execution reference points Main NFV reference points Other reference points Virtual Computing Virtual Storage Virtual Network EMS 2EMS 3EMS 1 Service, VNF and Infrastructure Description Or-Vi Or-Vnfm Vi-Vnfm Os-Ma Se-Ma Ve-Vnfm Nf-Vi Vn-Nf Vl-Ha Service Orchestrator 11/24/14 Software Defined Networking (COMS )34

Dell ETSI NFV POC#1 experiences 11/24/14 35

KPI Monitoring and Enforcement Virtual Network Function Intel® Architecture CPU Intel® Architecture CPU Host OS Enabled with Virtualization: Linux Software Hardware QEMU/KVMQEMU/KVM CPU Pinning Ctrls Real-Time Patch PREMEPT_RT Intel 10Gbe NIC DPDKDPDK RxRx VNF Specific Processing TxTx MgtAgent (eg SNMP) MgtAgent Reporting/ Querying Interfaces 1 1.Interface exposure of MAC/PHY Level Counters 2.Interface for Time stamp on RX 3.Interface for Time stamp on TX Traffic Monitoring reports: Packet Delay Variation, Drops, Uni-directional Delays Per subscriber SLA measurement/enforcement provided by the specific VNF (e.g. HQOS) Performance Monitoring Detects and report violations PerformanceMonitoringPerformanceMonitoring 2 3 Traffic Monitoring Note: These are common utilities that can be used by all VNFs, they are not VNF specific By: Mike Lynch, John Browne (Intel) 36

DPDK and Acceleration of Standard Interfaces Goal: Define & implement a common API for data path configuration, control/status and I/O functionality Terms of Reference:  Existing Enterprise platform software interfaces (OS/VMM) insufficient for evolving application (VNF) performance needs  Create a performant open source reference implementation by using DPDK to accelerate these existing standard interfaces/APIs (Sockets, RDMA, OpenSSL, zLib, VirtIO, …)  Support multiple accelerated APIs - Let VNFs choose which accelerated interface is needed based on VNF requirements. Over time, this work would evolve to become a new “normalized” OS/VMM Data Plane API  Multi-vendor support  Support different/multi-vendor NIC and SOC hardware  Configuration API for supporting varied/enhanced offload capabilities for data path in a standardized fashion  Multiple standardized control/status API choices depending on level of functionality  HW Offload – various depending on functionality supported on NIC  Forwarding engines (L3) - OpenFlow, OVSDB …  Netlink, netfilter  Need to recommend a subset that can form a baseline By: Venky Venkatesan, Pranav Mehta (Intel) 37

Outline Review of SDN Wireless Networks SDN Middleboxes and NFV – Middlebox – NFV (Middlebox Virtualization) – NFV Use Cases – NFV Architecture, Proof-of-Concept Implementation, Monitoring and DPDK – Virtualization Optimization: ClickOS – Enforcing Network-Wide Policy: FlowTags 3811/24/14 Software Defined Networking (COMS )

Shifting Middlebox Processing to Software ▐Can share the same hardware across multiple users/tenants ▐Reduced equipment/power costs through consolidation ▐Safe to try new features on a operational network/platform ▐But can it be built using commodity hardware while still achieving high performance? ▐ClickOS: tiny Xen-based virtual machine that runs Click 39 Software Defined Networking (COMS )

From Thought to Reality - Requirements 30 msec boot times ClickOS 5MB when runningprovided by Xen 10Gb/s line rate* 45 μsec delay * for most packet sizes provided by Click ▐Fast Instantiation ▐Small footprint ▐Isolation ▐Performance ▐Flexibility 40 Software Defined Networking (COMS )

What's ClickOS ? domU paravirt apps guest OS ClickOS paravirt Click mini OS ▐Work consisted of: Build system to create ClickOS images (5 MB in size) Emulating a Click control plane over MiniOS/Xen Reducing boot times (roughly 30 milliseconds) Optimizations to the data plane (10 Gb/s for almost all pkt sizes) Implementation of a wide range of middleboxes 41 Software Defined Networking (COMS )

netback packet size (bytes) 10 Gbit/s rate Mp/s Mp/s Mp/s Mp/s Mp/s Kp/s Performance analysis Driver Domain (or Dom 0) ClickOS Domain Xen bus/store Event channel netfront Xen ring API (data) NW driver OVS 300* Kp/s 350 Kp/s 225 Kp/s * - maximum-sized packets vif Click ToDevice FromDevice 42 Software Defined Networking (COMS )

Performance analysis ▐Copying packets between guests greatly affects packet I/O (1) ▐Packet metadata allocations (2) ▐Backend switch is slow (3) ▐MiniOS netfront not as good as Linux netback Driver Domain (or Dom 0) ClickOS Domain Xen bus/store Event channel netfront Xen ring API NW driver OVS vif Click ToDevice FromDevice 772 ns (1) ~600 ns (2) ~3.4 us (3) 43 Software Defined Networking (COMS )

Optimizing Network I/O – Backend Switch VALE netback Driver Domain (or Dom 0) ClickOS Domain netfront Xen bus/store Event channel Xen ring API (data) NW driver (netmap mode) port Click FromDevice ToDevice ▐Reuse Xen page permissions (frontend) ▐Introduce VALE[1] as the backend switch ▐Increase I/O requests batch size OVS [1] VALE, a switched ethernet for virtual machines, ACM CoNEXT'2012 Luigi Rizzo, Giuseppe Lettieri Universita di Pisa 44 Software Defined Networking (COMS )

VALE Optimizing Network I/O Driver Domain (or Dom 0) ClickOS Domain netfront NW driver Click FromDevice ToDevice netback Netmap API (data) ▐ Minimal memory requirements – For max. throughput a guest only needs 4 MB of memory ▐ Breaks other (non-MiniOS) guests – But we have implemented Linux netfront driver slots KB (per ring) # grants (per ring) netback port Xen bus/store Event channel Xen ring API (data) 45 Software Defined Networking (COMS )

ClickOS Prototype Overview ▐Click changes are minimal ~600 LoC ▐New toolstack for fast boot times ▐Cross compile toolchain for MiniOS-based apps ▐ netback changes comprise ~500 LoC ▐ netfront (Linux/MiniOS) around ~600 LoC ▐VALE switch extended to: – Connect NIC ports and modular switching 46 Software Defined Networking (COMS )

Experiments ▐ClickOS Instantiation ▐State reading/insertion performance ▐Delay compared with other systems ▐Memory footprint ▐Switch performance for 1+ NICs ▐ClickOS/MiniOS performance ▐Chaining experiments ▐Scalability over multiple guests ▐Scalability over multiple NICs ▐Implementation and evaluation of middleboxes ▐Linux Performance 47 Software Defined Networking (COMS )

ClickOS Base Performance Intel Xeon E core 3.2GHz (Sandy bridge) 16GB RAM, 1x Intel x520 10Gb/s NIC. One CPU core assigned to VMs, the rest to the Domain-0 Linux ClickOS Measurement Box 10Gb/s direct cable 48 Software Defined Networking (COMS )

ClickOS Base TX Performance 49 Software Defined Networking (COMS )

ClickOS (virtualized) Middlebox Performance ClickOSHost 2 Host 1 10Gb/s direct cable Intel Xeon E core 3.2GHz (Sandy bridge) 16GB RAM, 2x Intel x520 10Gb/s NIC. One CPU core assigned to Vms, 3 CPU cores Domain-0 Linux Software Defined Networking (COMS )

ClickOS (virtualized) Middlebox Performance 51 Software Defined Networking (COMS )

Linux Guest Performance ▐ Note that our Linux optimizations apply only to netmap-based applications 52 Software Defined Networking (COMS )

It's Open Source! Checkout ClickOS, Backend Switch, Xen optimizations and more! Github ( ) Tutorials Better performance! 53 Software Defined Networking (COMS )

Conclusions ▐Virtual machines can do flexible high speed networking ▐ClickOS: Tailor-made operating system for network processing Small is better: Low footprint is the key to heavy consolidation Memory footprint: 5MB Boot time: 30ms ▐Future work: Massive consolidation of VMs (thousands) Improved Inter-VM communication for service chaining Reactive VMs (e.g., per-flow) 54 Software Defined Networking (COMS )

Outline Review of SDN Wireless Networks SDN Middleboxes and NFV – Middlebox – NFV (Middlebox Virtualization) – NFV Use Cases – NFV Architecture, Proof-of-Concept Implementation, Monitoring and DPDK – Virtualization Optimization: ClickOS – Enforcing Network-Wide Policy: FlowTags Motivation and High Level Ideas Design and Evaluation 5511/24/14 Software Defined Networking (COMS )

Network OS Data Plane Control Apps Policy: E.g., service chaining, access control Middleboxes complicate policy enforcement in SDN 56 Dynamic and traffic-dependent modifications! e.g., NATs, proxies 11/24/14 Software Defined Networking (COMS )

Modifications  Attribution is hard 57 S1S1 S2S2 Firewall NAT Internet H1H1 Block the access of H 2 to certain websites. H2H2 11/24/14 Software Defined Networking (COMS )

Dynamic actions  Policy violations S1S1 S2S2 Proxy Internet H2H2 H1H1 Web ACL Block H 2  xyz.com 1. Get xyz.com 3. Get xyz.com 4. Cached response 2. Response 58 Cached response 11/24/14 Software Defined Networking (COMS )

FlowTags 59 FlowTags provides an architectural solution:  Enables policy enforcement and diagnosis despite dynamic middlebox actions. Some candidate (non-)solutions: Placement, tunneling, consolidation, correlation Address some symptoms but not root cause  OriginBinding and PathsFollowPolicy violations 11/24/14 Software Defined Networking (COMS )

High-level idea Middleboxes need to restore SDN tenets – Possibly only option for correctness – Minimal changes to middleboxes Add missing contextual information as Tags – NAT gives IP mappings, – Proxy provides cache hit/miss info FlowTags controller configures tagging logic 6011/24/14 Software Defined Networking (COMS )

Control Apps e.g., steering, verification Control Apps Network OS Control plane Data plane SDN Switches FlowTable Middleboxes FlowTags Tables New control apps e.g., policy steering, verification Admin Mbox Config FlowTags APIs Existing APIs e.g., OpenFlow FlowTags architecture 61 FlowTags Enhanced Policy 11/24/14 Software Defined Networking (COMS )

Web ACL Block:  xyz.com Config w.r.t original principals FlowTags in action 62 S1S1 S2S2 Proxy Internet H H xyz.com 2 2 Tag , Hit2 TagFwd 2S2S2 TagFwd 2ACL TagOrigSrcIP DROP 11/24/14 Software Defined Networking (COMS )

Outline Review of SDN Wireless Networks SDN Middleboxes and NFV – Middlebox – NFV (Middlebox Virtualization) – NFV Use Cases – NFV Architecture, Proof-of-Concept Implementation, Monitoring and DPDK – Virtualization Optimization: ClickOS – Enforcing Network-Wide Policy: FlowTags Motivation and High Level Ideas Design and Evaluation 6311/24/14 Software Defined Networking (COMS )

Challenge 1: Tag Semantics 64 S1S1 S2S2 Proxy Internet H H Add Tag Decode Tag TagForward TagForward Control plane Data plane FlowTags-enhanced SDN Controller Web ACL 11/24/14

Challenge 2: New APIs, control apps 65 Add Tag Decode Tag TagForward Tag Forward FlowTags-enhanced SDN Controller S1S1 S2S2 Proxy Internet H H Web ACL Control plane Data plane 11/24/14 Software Defined Networking (COMS )

Challenge 3: Middlebox Extensions 66 Add Tag Decode Tag TagForward Tag Forward FlowTags-enhanced SDN Controller S1S1 S2S2 Proxy Internet H H Web ACL Control plane Data plane 11/24/14 Software Defined Networking (COMS )

FlowTags Design Tag semantics Controller and APIs Middlebox modification 6711/24/14 Software Defined Networking (COMS )

Semantics: Dynamic Policy Graph (DPG) 68 S1S1 S2S2 Proxy Internet H2H2 H1H1 Web ACL: Block H 2  xyz.com Proxy ACL Internet {H 2 }; Blocked H1H1 H1H1 H2H2 H2H2 {H 1 }; - {H 2 }; - {H 2 }; Hit {H 2 }; Miss {H 2 }; {H 1 }; Miss {H 2 }; Drop {H 1 }; Hit 11/24/14 Software Defined Networking (COMS )

Semantics: Dynamic Policy Graph (DPG) 69 Intuitively, need a Tag in DPG S1S1 S2S2 Proxy Internet H2H2 H1H1 Web ACL: Block H 2  xyz.com Proxy ACL Internet {H 2 }; Blocked H1H1 H1H1 H2H2 H2H2 {H 1 }; - {H 2 }; - {H 2 }; Hit {H 2 }; Miss {H 2 }; {H 1 }; Miss {H 2 }; Drop {H 1 }; Hit 11/24/14 Software Defined Networking (COMS )

FlowTags APIs 70 S1S1 S2S2 Internet H H Tag OrigSrcIP TagFwd TagFwd Tag , Hit2 TagFwd 2S2 TagFwd 2ACL TagOrigSrcIP FlowTags-enhanced SDN Controller OpenFlow FlowTags Generate Tag Consume Tag Web ACL Proxy 11/24/14 Software Defined Networking (COMS )

71 FlowTags-enhanced controller Policy DPG Physical realization Physical realization S1S1 S2S2 S3S3 S4S4 Reactive Middlebox Event Handlers Tag generate and consume Switch Event Handlers Flow expiry Flow rules 11/24/14 Software Defined Networking (COMS )

Middlebox extension strategies to add FlowTags support 72 Pro: One shot Con: Hard to get internal context input traffic output traffic output traffic Light-weight packet rewriting shims Middlebox Strategy 1: Packet Rewriting module 11/24/14 Software Defined Networking (COMS )

Middlebox extension strategies to add FlowTags support 73 Pro: More change is needed Con: Suited for getting internal context input traffic output traffic output traffic Middlebox Strategy 2: Module Modification module 11/24/14 Software Defined Networking (COMS )

Middlebox extension strategies to add FlowTags support 74 Our Strategy: Packet rewriting for Tag consumption Module modification for Tag generation input traffic output traffic output traffic Middlebox ShimShim ShimShim Tag generation Tag consumption module 11/24/14 Software Defined Networking (COMS )

Key evaluation questions Feasibility of middlebox modification FlowTags overhead Number of Tag bits New capabilities 7511/24/14 Software Defined Networking (COMS )

FlowTags needs minimal middlebox modifications 76 Middlebox Total LOCModified LOC Squid216,00075 Snort336,00045 Balance2,00060 iptables42,00055 PRADS15, /24/14 Software Defined Networking (COMS )

FlowTags adds low overhead 77 Breakdown of flow processing time (ms) Abilene Geant Telstra Sprint Verizon AT&T Controller Processing Middlebox Tag Processing Switch Setup # PoPs: 11/24/14 Software Defined Networking (COMS )

Summary of other results Adds < 1% overhead to middlebox processing Tags can be encoded in ~ 15 bits – E.g., IP-ID, IPv6 FlowLabel, EncapHeaders (NVP) Can enable new capabilities – Extended header space analysis – Diagnosing network bottlenecks 7811/24/14 Software Defined Networking (COMS )

Conclusions Middleboxes complicate enforcement – E.g., NAT/LB rewrite headers, proxy sends cached response Root cause: Violation of the SDN tenets – Origin Binding and Paths-Follow-Policy FlowTags extends SDN with new middlebox APIs – Restores tenets using new DPG abstraction – No changes to switches and switch APIs FlowTags is practical – Minimal middlebox changes, low overhead – An enabler for verification, testing, and diagnosis 7911/24/14 Software Defined Networking (COMS )