Tutorial: OpenFlow in GENI

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

Getting to know OpenFlow. Nick Rutherford Mariano Vallés

OpenFlow Overview. Daniel Turull

OpenFlow: Enabling Innovation in Campus Networks

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

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

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

Software Defined Networking

SDN. What's Software Defined Networking? Angelo Capossele

Software Defined Networking (SDN)

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

COMPSCI 314: SDN: Software Defined Networking

Network Virtualization Based on Flows

Securing Local Area Network with OpenFlow

Multiple Service Load-Balancing with OpenFlow

OpenFlow and Onix. OpenFlow: Enabling Innovation in Campus Networks. The Problem. We also want. How to run experiments in campus networks?

OpenFlow: History and Overview. Demo of routers

SDN Overview for UCAR IT meeting 19-March Presenter Steven Wallace Support by the GENI Program Office!

Software-Defined Networking for the Data Center. Dr. Peer Hasselmeyer NEC Laboratories Europe

LuaFlow, an open source Openflow Controller

OpenFlow: Concept and Practice. Dukhyun Chang

Ethernet-based Software Defined Network (SDN)

OpenFlow. Ihsan Ayyub Qazi. Slides use info from Nick Mckeown

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

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

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

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

Cloud Networking Disruption with Software Defined Network Virtualization. Ali Khayam

How To Orchestrate The Clouddusing Network With Andn

OpenFlow and Software Defined Networking presented by Greg Ferro. OpenFlow Functions and Flow Tables

Software-Defined Networking

Software Defined Networking (SDN) OpenFlow and OpenStack. Vivek Dasgupta Principal Software Maintenance Engineer Red Hat

LTE - Can SDN paradigm be applied?

Software Defined Networking

Towards Software Defined Cellular Networks

Network Virtualization and Application Delivery Using Software Defined Networking

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

Enabling Software Defined Networking using OpenFlow

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

OpenFlow network virtualization with FlowVisor

Software Defined Networking A quantum leap for Devops?

SDN and OpenFlow. Naresh Thukkani (ONF T&I Contributor) Technical Leader, Criterion Networks

SDN, OpenFlow and the ONF

Software Defined Networking and the design of OpenFlow switches

Software Defined Networks (SDN)

OpenFlow Technology Investigation Vendors Review on OpenFlow implementation

SDN AND SECURITY: Why Take Over the Hosts When You Can Take Over the Network

Cloud Computing Security: What Changes with Software-Defined Networking?

SOFTWARE-DEFINED NETWORKING AND OPENFLOW

KHATRI VIKRAMAJEET ANALYSIS OF OPENFLOW PROTOCOL IN LOCAL AREA NET- WORKS Master of Science Thesis

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

How To Understand The Power Of The Internet

Software Defined Networks

Technical white paper. Realizing the power of SDN with HP Virtual Application Networks

Software Defined Networking technology details and openlab research overview

How SDN will shape networking

Multicasting on SDN. Prof. Sunyoung Han Konkuk University 23 July 2015

How To Make A Vpc More Secure With A Cloud Network Overlay (Network) On A Vlan) On An Openstack Vlan On A Server On A Network On A 2D (Vlan) (Vpn) On Your Vlan

DEMYSTIFYING ROUTING SERVICES IN SOFTWAREDEFINED NETWORKING

ENABLING INNOVATION THROUGH NETWORK VIRTUALIZATION (AND INTEGRATION OF COMPUTE AND STORAGE)

NETWORK VIRTUALIZATION BASED ON SOFTWARE DEFINED NETWORK

RIDE THE SDN AND CLOUD WAVE WITH CONTRAIL

Data Analysis Load Balancer

Software Defined Networking

YI-CHIH HSU & JEI-WEI ESTINET TECHNOLOGIES

Comparisons of SDN OpenFlow Controllers over EstiNet: Ryu vs. NOX

Facilitating Network Management with Software Defined Networking

Introduction to OpenFlow:

SOFTWARE-DEFINED NETWORKING AND OPENFLOW

Bringing OpenFlow s Power to Real Networks

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

The State of OpenFlow: Advice for Those Considering SDN. Steve Wallace Executive Director, InCNTRE SDN Lab Indiana University

SOFTWARE DEFINED NETWORKING

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

MASTER THESIS. Performance Comparison Of the state of the art Openflow Controllers. Ahmed Sonba, Hassan Abdalkreim

Software Defined Networking, openflow protocol and its controllers

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

SDN/OpenFlow. Outline. Performance U!, Winterschool, Zurich. SDN to OpenFlow. OpenFlow a valid technology!

SDN Building Blocks. Edward Balas Sept 17th, 2014

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

Software Defined Networking Basics

Brocade SDN/OpenFlow. Norival Figueira Office of the CTO. January 9, /2015 BROCADE COMMUNICATIONS SYSTEMS, INC. ALL RIGHTS RESERVED.

Software Defined Networking (SDN)

Software Defined Networking

Spotlight On Backbone Technologies

Software Defined Networking & Openflow

Software Defined Networking

Software Defined Networking and OpenFlow: a Concise Review

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

2013 ONS Tutorial 2: SDN Market Opportunities

An Overview of OpenFlow

Using SDN-OpenFlow for High-level Services

HP OpenFlow Protocol Overview

Does SDN accelerate network innovations? Example of Flexible Service Creation

Virtualization, SDN and NFV

Transcription:

Tutorial: OpenFlow in GENI GENI Project Office

The current Internet is at an impasse because new architecture cannot be deployed or even adequately evaluated [PST04] [PST04]: Overcoming the Internet Impasse through Virtualization, Larry Peterson, Scott Shenker, Jonothan Turner Hotnets 2004 Modified slide from: http://cenic2012.cenic.org/program/slides/cenicopenflow-3-9-12-submit.pdf 2

Enables innovation in networking OpenFlow Changes practice of networking Google s SDN WAN 3

OpenFlow basics How OpenFlow works (1.0) Hand s on tutorial 4

OpenFlow s basic idea 5

OpenFlow s basic idea 6

Control how packets are forwarded Implementable on COTS hardware OpenFlow is an API Make deployed networks programmable not just configurable Makes innovation easier Modified slide from : http://www.deutsche-telekom-laboratories.de/~robert/geni-experimenters-workshop.ppt 7

Network Devices DNS router DHCP proxy access point VPN firewall switch gateway NAT software Any network device can be OpenFlow enabled 8

SDN and NFV Slide from: http://docbox.etsi.org/workshop/2013/201304_fntworkshop/s07_nfv/bt_reid.pdf 9

OpenFlow benefits [1] External control Enables network Apps General-purpose computers (Moore s Law) Deeper integration Network hardware becomes a commodity Centralized control One place for apps to interact (authentication, auth, etc) Simplifies algorithms Global Optimization and planning [1]: OpenFlow: A radical New idea in Networking, Thomas A. Limoncelli CACM 08/12 (Vol 55 No. 8) 10

Network Types Campus Multiple buildings, heterogeneous IT, groups of users, campus backbone Enterprise Data Centers Security, various sizes, storage, WAN optimizations Data Centers Clouds Multi-tenant, virutalization, disaster recovery, VM mobility WAN Diversity, multiple domains/carriers/users 11

Deployment Stories Google global private WAN [1] Connects dozens of datacenters worldwide with a long-term average of 70% utilization over all links Stanford Campus deployment Part of Stanford campus migrated to OpenFlow NTT s BGP Free Edge Internet 2 - AL2S Can build Layer 2 circuits between any Internet 2 end-points https://www.ntt-review.jp/archive/ntttechnical.php?contents=ntr201310fa3.html [1] B4: Experience with a Globally-Deployed Software Defined WAN, SIGCOMM 13, Jain et al. 12

GENI and OpenFlow deployment Key GENI concept: slices & deep programmability Internet: open innovation in application programs GENI: open innovation deep into the network Slice 0 Good old Internet Slice 1 Slice 1 OpenFlow switches one of the ways GENI is providing deep programmability Slice 2 Slice 3 Slice 4 13

GENI OpenFlow Deployment OpenFlow-enabled hardware switch at: Each GENI Rack Backbone and regional networks 14

OpenFlow Switches GENI Rack GENI-enabled regionals e.g. CENIC Internet2 AL2S and ION 15

GENI OpenFlow Experiments VDC: real-time load-balancing functionality deep into the network to improve QoE Prasad Calyam, Missouri Parmesh Ramanathan U. Wisconsin MobilityFirst: A new architecture for the Internet designed for emerging mobile/wireless service requirements at scale Dipankar (Ray) Raychaudhuri, Rutgers, leads MobilityFirst GENI Cinema: Efficient live video broadcasting KC Wang U. Clemson 16

OpenFlow basics How OpenFlow works (1.0) Hands-On tutorial 17

OpenFlow versions (Dec 09) OpenFlow 1.0.0 Simple & widely supported ( 11) Open Networking Foundation (ONF) formed to shepherd standards ( 12/ 13) OpenFlow 1.3.x Complex & support in progress (Dec 11) OpenFlow 1.2???? (Feb 11) OpenFlow 1.1.0 Not implemented by HW vendors (Oct 13) OpenFlow 1.4 Draft in progress 18

OpenFlow versions (Dec 09) OpenFlow 1.0.0 Simple & widely supported ( 11) Open Networking Foundation (ONF) formed to shepherd standards ( 12/ 13) OpenFlow 1.3.x Complex & support in progress (Feb 11) OpenFlow 1.1.0 Not implemented by HW vendors (Dec 11) OpenFlow 1.2 First ONF standard (Oct 13) OpenFlow 1.4 (Nov 13) OpenFlow 1.0.2 19

OpenFlow controllers Open source controller frameworks NoX C++ PoX - Python OpenDaylight - Java FloodLight - Java Trema C / Ruby Maestro - Java Ryu - Python Production controllers Mostly customized solutions based on Open Source frameworks ProgrammableFlow - NEC 20

OpenFlow Any Host OpenFlow Controller OpenFlow Protocol (SSL/TCP) The controller is responsible for populating forwarding table of the switch Switch Control Path OpenFlow Data Path (Hardware) In a table miss the switch asks the controller Modified slide from : http://www.deutsche-telekom-laboratories.de/~robert/geni-experimenters-workshop.ppt 21

OpenFlow in action Any Host OpenFlow Controller OpenFlow Protocol (SSL/TCP) Switch Control Path OpenFlow Data Path (Hardware) Host1 sends a packet If there are no rules about handling this packet Forward packet to the controller Controller installs a flow Subsequent packets do not go through the controller host1 host2 Modified slide from : http://www.deutsche-telekom-laboratories.de/~robert/geni-experimenters-workshop.ppt 22

OpenFlow Basics (1.0) Rule Ac=on Stats Packet + byte counters 1. Forward packet to port(s) 2. Encapsulate and forward to controller 3. Drop packet 4. Send to normal processing pipeline 5. Modify Fields Switch Port VLAN ID VLAN PCP MAC src MAC dst Eth type IP Src IP Dst IP Prot IP ToS TCP sport TCP dport + mask what fields to match slide from : http://www.deutsche-telekom-laboratories.de/~robert/geni-experimenters-workshop.ppt 23

Use Flow Mods Going through the controller on every packet is inefficient Installing Flows either proactively or reactively is the right thing to do A Flow Mod consists of : A match on any of the 12 supported fields A rule about what to do matched packets Timeouts about the rules: Hard timeouts Idle timeouts The packet id in reactive controllers Priority of the rule 24

OpenFlow common PitFalls Controller is responsible for all traffic, not just your application! ARPs, DHCP, LLDP Reactive controllers Cause additional latency on some packets UDP many packets queued to your controller by time flow is set up Performance in hardware switches Not all actions are supported in hardware No STP to prevent broadcast storms 25

OpenFlow datapaths OpenFlow enabled devices are usually referred to as datapaths with a unique dpid It is not necessary that 1 physical device corresponds to 1 dpid Any Host OpenFlow Controller OpenFlow Protocol Switch Control Path OpenFlow Data Path (Hardware) Different OpenFlow modes switches in pure OF mode are acting as one datapath Hybrid VLAN switches are one datapath per VLAN Hybrid port switches are two datapaths (one OF and one non- OF) Each Datapath can point to only one controller at a time! 26

Multiplexing Controllers FlowVisor Only one controller per datapath FlowVisor is a proxy controller that can support multiple controllers FlowSpace describes packet flows : Layer 1: Incoming port on switch Layer 2: Ethernet src/dst addr, type, vlanid, vlanpcp Layer 3: IP src/dst addr, protocol, ToS Layer 4: TCP/UDP src/dst port Any Host Any Host OpenFlow Controller OpenFlow Controller OpenFlow Protocol (SSL/TCP) Any Host FlowVisor OpenFlow Protocol (SSL/TCP) Switch Control Path OpenFlow Data Path (Hardware) 27

FOAM An OpenFlow Aggregate Manager It s a GENI compliant reservation service Helps experimenters reserve flowspace in the FlowVisor Speaks AM API v1 and AM API v2 RSpecs GENI v3, OpenFlow v3 extension 28

Sharing of OpenFlow resources In GENI: Slice by VLAN for exclusive VLANs Slice by IP subnet and/or eth_type for shared VLANs In FIRE: On iminds testbed Slice by inport On OFELIA testbed Slice by VLAN 29

OpenFlow Experiments Debugging OpenFlow experiments is hard: Network configuration debugging requires coordination Many networking elements in play No console access to the switch Before deploying your OpenFlow experiment test your controller. http://mininet.github.com/ http://openvswitch.org/ 30

OpenFlow basics How OpenFlow works (1.0) Hand s Hands on tutorial 31

OpenFlow Tutorial Today Host1 OVS Switch Host2 Traffic forwarding OVS switch-based exercise Replace OVS switch with a hardware switch Use OVS switch but move one of the hosts to another rack (stitched link) Host3 Network Function Virtualization OpenFlow based NAT OpenFlow based Firewall 32

http://tinyurl.com/msu-geni QUESTIONS? 33