Underneath OpenStack Quantum: Software Defined Networking with Open vswitch



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

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

SOFTWARE-DEFINED NETWORKING AND OPENFLOW

Programmable Networking with Open vswitch

Datacenter Network Virtualization in Multi-Tenant Environments

SOFTWARE-DEFINED NETWORKING AND OPENFLOW

OpenStack: OVS Deep Dive

Network Virtualization Tools in Linux PRESENTED BY: QUAMAR NIYAZ & AHMAD JAVAID

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

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

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

Open vswitch Configuration Guide

Overlay networking with OpenStack Neutron in Public Cloud environment. Trex Workshop 2015

Software Defined Networking & OpenFlow

Linux KVM Virtual Traffic Monitoring

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

An Introduction to Open vswitch

How To Orchestrate The Clouddusing Network With Andn

How Linux kernel enables MidoNet s overlay networks for virtualized environments. LinuxTag Berlin, May 2014

Visibility into the Cloud and Virtualized Data Center // White Paper

Bringing OpenFlow s Power to Real Networks

SOFTWARE DEFINED NETWORKING: A PATH TO PROGRAMMABLE NETWORKS. Jason Kleeh September 27, 2012

Network Virtualization

Designing Virtual Network Security Architectures Dave Shackleford

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

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

How to monitor network traffic inside an ESXi host

Using SouthBound APIs to build an SDN Solution. Dan Mihai Dumitriu Midokura Feb 5 th, 2014

Research trends in abstraction of networks and orchestration of network services

OpenFlow & Software Defined Networking

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

Software Defined Network (SDN)

OVN: Open Virtual Network for Open vswitch. Ben Pfaff Justin Pettit

BROADCOM SDN SOLUTIONS OF-DPA (OPENFLOW DATA PLANE ABSTRACTION) SOFTWARE

Why Software Defined Networking (SDN)? Boyan Sotirov

Palo Alto Networks. Security Models in the Software Defined Data Center


Surviving the SDN Wars. Curt Beckmann Chair of Forwarding Abstractions WG, ONF and EMEA CTO

Software Defined Networking A quantum leap for Devops?

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

Software Defined Networks Virtualized networks & SDN

SDN/OpenFlow. Dean Pemberton Andy Linton

OpenStack/Quantum SDNbased network virtulization with Ryu

What s New in VMware vsphere 5.5 Networking

OVN: Open Virtual Network for Open vswitch. Russell Bryant Kyle Mestery Justin Pettit

Open vswitch and the Intelligent Edge

NETWORK VIRTUALIZATION BASED ON SOFTWARE DEFINED NETWORK

VXLAN, Enhancements, and Network Integration

Network Virtualization Solutions

Cisco Nexus 1000V Switch for Microsoft Hyper-V

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

Enhancing Cisco Networks with Gigamon // White Paper

Analysis of Network Segmentation Techniques in Cloud Data Centers

Software Defined Networking

Utility Computing and Cloud Networking. Delivering Networking as a Service

Virtualization, SDN and NFV

Software Defined Networking

VXLAN: Scaling Data Center Capacity. White Paper

Exploring Software-Defined Networking with Brocade

Cloud Networking Disruption with Software Defined Network Virtualization. Ali Khayam

DMZ Virtualization Using VMware vsphere 4 and the Cisco Nexus 1000V Virtual Switch

CloudEngine 1800V Virtual Switch

Network Security Demonstration - Snort based IDS Integration -

Bring your virtualized networking stack to the next level

SDN, OpenFlow and the ONF

Debugging OVS. Jus.n Pe0t April 14, 2011

OpenDaylight and OpFlex. Scott Mann

Implementing and Troubleshooting the Cisco Cloud Infrastructure **Part of CCNP Cloud Certification Track**

NEC contribution to OpenDaylight: Virtual Tenant Network (VTN)

CERN Cloud Infrastructure. Cloud Networking

SDN and NFV Open Source Initiatives. Systematic SDN and NFV Workshop Challenges, Opportunities and Potential Impact

Cloud Networking From Theory to Practice" Ivan Pepelnjak NIL Data Communications"

SDN Applications for IXPs and Service Providers. Jason Kleeh Senior Product Manager January, 2013

Virtual Networking Features of the VMware vnetwork Distributed Switch and Cisco Nexus 1000V Series Switches

Simplifying Virtual Infrastructures: Ethernet Fabrics & IP Storage

Software Defined Networking & Openflow

Creating Overlay Networks Using Intel Ethernet Converged Network Adapters

Visibility into the Cloud and Virtualized Data Center // White Paper

Building Scalable Multi-Tenant Cloud Networks with OpenFlow and OpenStack

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

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

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

OVERLAYING VIRTUALIZED LAYER 2 NETWORKS OVER LAYER 3 NETWORKS

White Paper. Juniper Networks. Enabling Businesses to Deploy Virtualized Data Center Environments. Copyright 2013, Juniper Networks, Inc.

Cisco and Canonical: Cisco Network Virtualization Solution for Ubuntu OpenStack

vsphere Networking ESXi 5.0 vcenter Server 5.0 EN

OpenFlow: Concept and Practice. Dukhyun Chang

CS244 Lecture 5 Architecture and Principles

OpenFlow Technology Investigation Vendors Review on OpenFlow implementation

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

VLANs. Application Note

Extending Networking to Fit the Cloud

OPENFLOW, SDN, OPEN SOURCE AND BARE METAL SWITCHES. Guido Appenzeller (Not representing Anyone)

Expert Reference Series of White Papers. vcloud Director 5.1 Networking Concepts

Software Defined Networking technology details and openlab research overview

Protecting VMs in a Multi-Tenancy Environment

Ten Things to Look for in an SDN Controller

Quantum Hyper- V plugin

Transcription:

Underneath OpenStack Quantum: Software Defined Networking with Open vswitch Principal Software Engineer Red Hat, Inc. April 24, 2013 1

Part One Why Open vswitch? Open vswitch enables Linux to become part of a Software Defined Networking architecture. Application Application Application Network Operating System VM1 VM2 Switch Switch Open vswitch Switch 2

Switched Networks Switches learn from the network traffic they observe and decide independently. Compute Node A Network Node B 1 2 3 4 5 6 Bridge Bridge L3 Agent Switch 1 Switch 2 Switch 3 Peter Alice 3

Dynamically update flow tables in a universal language. In the Software Defined Networking architecture, the control and data planes are decoupled, network intelligence and state are logically centralized, and the underlying network infrastructure is abstracted from the applications. Software-Defined Networking: The New Norm for Networks ONF White Paper April 13, 2012 4

Software Defined Networking A logically centralized controller decides what is best for the network based on a global view of the network. Compute Node A Network Node B 1 2 3 4 5 6 vswitch 1 vswitch 2 L3 Agent Controller Switch 1 OpenFlow Peter Switch 2 Switch 3 Alice 5

Software Defined Networking An attempt to create a well-known API for applications of the Network that did not succeed yet. OpenDaylight on its way to make this happen. Application Application Application Network Operating System Open Interface (OpenFlow) Switch Vendor X Virtual Switch B Virtual Switch A Switch Vendor Y 6

OpenFlow The Open Standard behind it. 1. 2. Match on arbitrary Execute actions bits in packet Forward to port (header) Drop Send to controller Mangle packet OpenFlow enables networks to evolve, by giving a remote controller the power to modify the behavior of network devices, through a well-defined "forwarding instruction set". The growing OpenFlow ecosystem now includes routers, switches, virtual switches, and access points from a range of vendors. 7 ONF Website

OpenFlow Capable Devices Software Switches Open vswitch, Cisco Nexus 1000V VMware vsphere, NEC Hyper-V,... Hardware Switches Brocade, Cisco, HP, IBM, Juniper Networks, NEC,... Switching ASICs Indigo Open source firmware leveraging Ethernet switch ASICs to support up to 48x 10G ports Mellanox SwitchX-2 chip 8

Is it production ready? 9

Part Two Open vswitch Open vswitch is a virtual switch for hypervisors providing network connectivity to virtual machines. Compute Node A Controller Network Node B 1 2 Compute Node A 3 Open Flow Open Flow Open Flow 1 2 3 Open vswitch Open vswitch L3 Agent Hardware Switch Alice Peter 10

Open vswitch Project Primarily used as a virtual switch for VMs Multi Platform (Linux, Microsoft, and Silicon) Developed by Nicira & Community Apache License (User Space), GPL (Kernel) OpenFlow 1.1 + extensions Any netdevice (physical/virtual) can be added as uplink port 11

How does it work? Open vswitch maintains a flow table that defines what to do with each flow. Compute/Network Node 1 2 3 n Open vswitch Quantum OVS Agent Quantum L3 Agent Quantum DHCP Agent br-eth1 br-int Patch ports br-tun br-ext Flow table OpenFlow Controller eth1 eth0 To Network Node External Network 12

Feature Fine Grained Flow Table Control Extensive flow matching capabilities Layer 1 Tunnel ID, In Port, QoS priority, skb mark Layer 2 MAC address, VLAN ID, Ethernet type Layer 3 IPv4/IPv6 fields, ARP Layer 4 TCP/UDP, ICMP, ND Possible chain of actions Output to port (port range, flood, mirror) Discard, Resubmit to table x Packet Mangling (Push/Pop VLAN header, TOS,...) Send to controller, Learn 13

Feature Security / L2 Segregation VLAN isolation enforces VLAN membership of a VM without the knowledge of the guest itself. Compute Node # ovs-vsctl add-port ovsbr port2 tag=10 VLAN 1 VLAN 2 VM1 VM2 VM3 Open vswitch Caveat: MAX(VLAN_ID) limited 14

Feature Tunneling Tunneling provides isolation and reduces dependencies on the physical network. Compute Node 1 Controller Compute Node 2 VNET 1 VNET 1 VNET 2 VNET 2 VM1 VM2 VM3 Open Flow Open Flow VM4 VM5 VM6 Open vswitch Open vswitch { GRE STT VXLAN } Tunnel Hardware Switch 15

Feature Visibility Supports industry standard technology to monitor the use of a network. NetFlow Port Mirroring SPAN RSPAN ERSPAN 16

Feature Quality of Service Uses existing Traffic Control Layer Policer (Ingress rate limiter) HTB, HFSC (Egress traffic classes) Controller (Open Flow) can select Traffic Class # ovs-vsctl set Interface port2 \ ingress_policing_rate=1000 Virtual Host VM1 VLAN 10 VM2 1mbit port1 ovsbr port2 17

Architecture Management ovs-ofctl ovs-dpctl OpenFlow sflow ovsdb-tool ovs-vsctl (3) User space 2 5 upcall reinject vswitchd ovsdb Netlink 4 Kernel Datapath 6 Packet Processing From NetDevice 1 To NetDevice 7 Flow Table Management Workflow Promiscuous Mode 18

Modifying the Flow Table Strip VLAN header of all packets from MAC address 11:22:33:44:55:66 and forward packet to port 1. # ovs-ofctl add-flow ovsbr \ dl_src=11:22:33:44:55:66,actions=strip_vlan,output:1 # ovs-ofctl dump-flows ovsbr [...] cookie=0x0, duration=36.24s, table=0, n_packets=0, n_bytes=0, idle_age=36, dl_src=11:22:33:44:55:66 actions=strip_vlan,output:1 19

Questions? Open vswitch http://www.openvswitch.org/ OpenFlow http://www.openflow.org/ Open Networking Foundation sflow http://www.opennetworking.org/ http://www.sflow.org/ Going with the Flow: Google s Secret Switch to the Next Wave of Networking http://www.wired.com/wiredenterprise/2012/04/going-with-the-flow-google/ 20