OVN: Open Virtual Network for Open vswitch. Russell Bryant (@russellbryant) Kyle Mestery (@mestery) Justin Pettit (@Justin_D_Pettit)

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

Outline. Why Neutron? What is Neutron? API Abstractions Plugin Architecture

OpenStack: OVS Deep Dive

Underneath OpenStack Quantum: Software Defined Networking with Open vswitch

CERN Cloud Infrastructure. Cloud Networking

Open vswitch and the Intelligent Edge

Virtualization, SDN and NFV

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

Utility Computing and Cloud Networking. Delivering Networking as a Service

Research trends in abstraction of networks and orchestration of network services

Bring your virtualized networking stack to the next level

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

Datacenter Network Virtualization in Multi-Tenant Environments

Using OpenStack With OpenDaylight. Dave Meyer, Brocade Kyle Mestery, Cisco Brent Salisbury, Red Hat Madhu Venugopal, Red Hat

OVSDB/Neutron Support in Lithium and Beyond. ODL Technical Work Stream Call February 23, 2015

Linux KVM Virtual Traffic Monitoring

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

OpenDaylight and OpFlex. Scott Mann

OpenStack/Quantum SDNbased network virtulization with Ryu

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

OpenStack Networking: Where to Next?

IO Visor: Programmable and Flexible Data Plane for Datacenter s I/O

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

Software Defined Networking using VXLAN

Building an Open, Adaptive & Responsive Data Center using OpenDaylight

Ryu SDN Framework What weʼ ve learned Where weʼ ll go

Software Defined Network (SDN)

VIRTUALIZED SERVICES PLATFORM Software Defined Networking for enterprises and service providers

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

CONNECTING PHYSICAL AND VIRTUAL WORLDS WITH VMWARE NSX AND JUNIPER PLATFORMS

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

SDN in CloudStack. Tuesday, October 15, 13

CS244 Lecture 5 Architecture and Principles

Programmable Networking with Open vswitch

Software Networking & The New IP. A Technical Perspective

SOFTWARE-DEFINED NETWORKING AND OPENFLOW

May 13-14, Copyright 2015 Open Networking User Group. All Rights Reserved Not For

SDN/OpenFlow. Dean Pemberton Andy Linton

2013 ONS Tutorial 2: SDN Market Opportunities

IO Visor Project Overview

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

Connecting Physical and Virtual Networks with VMware NSX and Juniper Platforms. Technical Whitepaper. Whitepaper/ 1

Brocade SDN 2015 NFV

Leveraging ONOS SDN Controller for SD-WAN Experiment

Designing Virtual Network Security Architectures Dave Shackleford

Network Virtualization

Thank you for joining us today! The presentation will begin shortly. Thank you for your patience.

CPLANE NETWORKS. Production-ready OpenStack Networking. White Paper

OpenDaylight Network Virtualization and its Future Direction

Enhancing Hypervisor and Cloud Solutions Using Embedded Linux Iisko Lappalainen MontaVista

Installation Runbook for F5 Networks BIG-IP LBaaS Plugin for OpenStack Kilo

SDN in the Public Cloud: Windows Azure. Albert Greenberg Partner Development Manager Windows Azure Networking

Windows Server 2012 Hyper-V Virtual Switch Extension Software UNIVERGE PF1000 Overview. IT Network Global Solutions Division UNIVERGE Support Center

The Road to SDN: Software-Based Networking and Security from Brocade

How To Orchestrate The Clouddusing Network With Andn

OpenDaylight and the Past, Present and Future of Open Source Networking

Building Scalable Multi-Tenant Cloud Networks with OpenFlow and OpenStack

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

Bringing OpenFlow s Power to Real Networks

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

智 慧 應 用 服 務 的 資 料 中 心 與 底 層 網 路 架 構

Ethernet-based Software Defined Network (SDN)

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

VMware. NSX Network Virtualization Design Guide

OpenStack Manila Shared File Services for the Cloud

Simplify Your Data Center Network to Improve Performance and Decrease Costs

Multitenancy Options in Brocade VCS Fabrics

Cisco Virtual Topology System: Data Center Automation for Next-Generation Cloud Architectures

Openstack. Cloud computing with Openstack. Saverio Proto

Software Defined Networking

SDN v praxi overlay sítí pro OpenStack Daniel Prchal daniel.prchal@hpe.com

CloudEngine 1800V Virtual Switch

Software Defined Cloud Networking

Scalable Approaches for Multitenant Cloud Data Centers

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

Use Case Brief CLOUD MANAGEMENT SOFTWARE AUTOMATION

Accelerating Micro-segmentation

SOFTWARE-DEFINED NETWORKING AND OPENFLOW

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

VNF & Performance: A practical approach

Network Virtualization: Delivering on the Promises of SDN. Bruce Davie, Principal Engineer

Open Fabric SDN The Comprehensive SDN approach. Jake Howering, Director SDN Product Line Management Bithika Khargharia, PhD, Senior Engineer

VXLAN: Scaling Data Center Capacity. White Paper

Demystifying Cisco ACI for HP Servers with OneView, Virtual Connect and B22 Modules

Software Defined Networking (SDN) and OpenStack. Christian Koenning

SDN CONTROLLER. Emil Gągała. PLNOG, , Kraków

OVERLAYING VIRTUALIZED LAYER 2 NETWORKS OVER LAYER 3 NETWORKS

Corso di Reti di Calcolatori M

What s New In OpenStack Havana. Webcast October 2013

PLUMgrid Open Networking Suite Service Insertion Architecture

VXLAN, Enhancements, and Network Integration

Extending Networking to Fit the Cloud

Quantum. Virtual Networks for Openstack. Salvatore Orlando Citrix Systems

OpenStack, OpenDaylight, and OPNFV. Chris Wright Chief Technologist Red Hat Feb 3, CHRIS WRIGHT OpenStack, SDN and NFV

Group-Based Policy for OpenStack

SDN-NFV Open Source. Landscape, Scaling, Use-Cases Sharon Barkai Cofounder, ConteXtream. Santa Clara, CA USA April 2015

Using Network Virtualization to Scale Data Centers

White Paper. Contrail Architecture

Simplifying Virtual Infrastructures: Ethernet Fabrics & IP Storage

Performance of Network Virtualization in Cloud Computing Infrastructures: The OpenStack Case.

Transcription:

OVN: Open Virtual Network for Open vswitch Russell Bryant (@russellbryant) Kyle Mestery (@mestery) Justin Pettit (@Justin_D_Pettit)

Virtual Networking Overview Provides a logical network abstraction on top of a physical network VMA VMB VM1 VM2 VMA VM3 VM4 L-Switch VM1 L-Switch VM2 HV1 HV2 VMC L-Router L-Switch L-Switch VMB VMC VM5 VM3 VM4 VM5 Physical Logical 2

What is OVN? Open source virtual networking for Open vswitch (OVS) Provides L2/L3 virtual networking Logical switches and routers Security groups L2/L3/L4 ACLs Multiple tunnel overlays (Geneve, STT, and VXLAN) TOR-based and software-based logical-physical gateways Work on same platforms as OVS Linux (KVM and Xen) Containers DPDK Hyper-V Integration with OpenStack and other CMSs

The Particulars Developed by the same community as Open vswitch Vendor-neutral Architecture and implementation have all occurred on public mailing lists Developed under the Apache license 4

Goals Production-quality Straight-forward design Scale to thousands of hypervisors (each with many VMs and containers) Improved performance and stability over existing plugin 5

Why OVN is different Will not require any additional agents for functionality for simplified deployment and debugging Security groups using new in-kernel conntrack integration More secure and faster than other methods Taking Security Groups to Ludicrous Speed with Open vswitch at 9:50 on Thursday DPDK-based and hardware-accelerated gateways Leverages new OVS DPDK port Works with switches from Arista, Brocade, Cumulus, Dell, HP, Juniper, and Lenovo 6

Why OVN is Important to OpenStack

Why OVN is Important to OpenStack Neutron s default backend is a custom virtual networking control plane Long term, we feel Neutron is best served letting a separate project implement the virtual network control plane

Why OVN is Important to OpenStack Migration from OVS backend to OVN is very natural for Neutron Just taking advantage of increasing functionality in OVS, which is already in use

OpenStack Neutron Platform Neutron evolving to be a platform First step: Plugin decomposition Second step: Bringing the plugin and driver backends under the Neutron tent Third step: Open Source backends mature OVN fits into this Neutron Platform model

Neutron Integration with OVN ML2 driver for OVN replaces OVS ML2 driver and Neutron s OVS agent Uses Neutron L3 and DHCP agents, but just until OVN support is ready

Designed to Scale Configuration coordinated through databases Local controller converts logical flow state into physical flow state Desired state clearly separated from run-time state Grouping techniques reduce Cartesian Product issues 12

OVN Architecture ovn-controller OpenStack/ CMS Plugin Northbound DB ovn-northd Southbound DB HV-1 ovn-controller ovsvswitchd ovsdbserver ovsvswitchd ovsdbserver HV-n 13

The OVN Databases ovn-northbound OpenStack/CMS integration point High-level, desired state Logical ports -> logical switches -> logical routers ovn-southbound Run-time state Location of logical ports Location of physical endpoints Logical pipeline generated based on configured and run-time state 14

The Daemons ovn-northd Converts from the high-level northbound DB to the run-time southbound DB Generates logical flows based on high-level configuration ovn-controller Registers chassis and VIFs to southbound DB Converts logical flows into physical flows (ie, VIF UUIDs to OpenFlow ports) Pushes physical configuration to local OVS instance through OVSDB and OpenFlow 15

Logical_Switch Name Ports LS1 LP1,LP2 Logical_Port Name MAC LP1 AA LP2 BB An Example Chassis (ovn-controller) Name Encap IP HV1 Geneve 10.0.0.10 HV2 Geneve 10.0.0.11 Bindings (ovn-controller) Name Chassis LP1 HV1 Pipeline (ovn-northd) Datapath Match Action LS1 eth.dst = AA LP1 LS1 eth.dst = BB LP2 LS1 eth.dst = <broadcast> LP1,LP2 16

Logical_Switch Name Ports LS1 LP1,LP2 Logical_Port Name MAC LP1 AA LP2 BB LP2 Arrives on HV2 Chassis (ovn-controller) Name Encap IP HV1 Geneve 10.0.0.10 HV2 Geneve 10.0.0.11 Bindings (ovn-controller) Name Chassis LP1 HV1 LP2 HV2 Pipeline (ovn-northd) Datapath Match Action LS1 eth.dst = AA LP1 LS1 eth.dst = BB LP2 LS1 eth.dst = <broadcast> LP1,LP2 17

Resources Architecture described in detail in ovn-architecture (5) Configuration is through a number of databases OVN Northbound Interface between CMS and OVN (ovn-nb (5)) OVN Southbound Holds the configuration and state of the logical and physical components (ovn-sb (5)) Available in the ovn branch of the main OVS repo: https://github.com/openvswitch/ovs/tree/ovn 18

Status The EZ Bake Milestone From start of coding to first ping: 6 weeks Needs more testing, obviously Haven t tried any scale testing Features listed on first page should be ready by end of the year Expect rapid progress! 19

Neutron with built-in solution neutron-server L3 agent L3 agent OVS agent DB rabbitmq L3 agent L3 agent L3 agent L3 agent L3 agent DHCP agent Adv. Services

Neutron with OVN (so far) ovn-northd ovn-controller ovn-controller ovn-controller neutron-server ovsdb-server DB rabbitmq L3 agent L3 agent L3 agent L3 agent L3 agent DHCP agent Adv. Services

Neutron with OVN (later this year) ovn-northd ovn-controller ovn-controller ovn-controller neutron-server ovsdb-server DB rabbitmq Adv. Services

Trying out OVN

Test #1 - ovs-sandbox $ git clone http://github.com/openvswitch/ovs.git $ cd ovs $ git checkout -b ovn origin/ovn $./boot.sh &&./configure && make $ make sandbox SANDBOXFLAGS= --ovn

Test #1 - ovs-sandbox $ ovn-nbctl lswitch-add sw0 $ ovn-nbctl lport-add sw0 sw0-port1 $ ovn-nbctl lport-add sw0 sw0-port2 $ ovn-nbctl lport-set-macs sw0-port1 00:00:00:00:00:01 $ ovn-nbctl lport-set-macs sw0-port2 00:00:00:00:00:02 $ ovs-vsctl add-port br-int lport1 -- \ set Interface lport1 external_ids:iface-id=sw0-port1 $ ovs-vsctl add-port br-int lport2 -- \ set Interface lport2 external_ids:iface-id=sw0-port2

Test #1 - ovs-sandbox # Trace OpenFlow flows for a packet from port 1 to 2 $ ovs-appctl ofproto/trace br-int \ in_port=1,dl_src=00:00:00:00:00:01,\ dl_dst=00:00:00:00:00:02 -generate

Test #2 - Multi-node DevStack $ git clone http://git.openstack.org/openstackdev/devstack.git $ git clone http://git.openstack. org/stackforge/networking-ovn.git $ cd devstack Get local.conf from networking-ovn/devstack/ local.conf.sample or computenode-local.conf.sample $./stack.sh

More cool stuff that works Can be used to create overlay networks for containers across many hosts If OVN backs Neutron, containers in VMs can be hooked up to virtual networks managed by Neutron

What s Next for Core OVN Security groups using in-kernel conntrack ovn-controller that translates to vtep schema to enable physical gateways OVS-DPDK gateway that uses vtep schema L3 routing and native IP management New test framework that allows local build-time testing with tunnels and arbitrary topologies Merge ovn into OVS master branch 29

OVN Neutron Integration Future L3 service plugin security groups get tempest CI job passing create multi-node CI job

Longer Term DPDK datapath Move beyond the capabilities of the vtep schema to support failover, scale-out, and more stateful services Will become a reference for building OVS DPDK applications Architecture will allow innovation in the logical network space New approaches to networking and security 31

How you can help Try it! Test it! Write Code! Report bugs and try it at scale Core OVN is being developed on ovs-dev mailing list: http://openvswitch.org/pipermail/dev/ #openvswitch on Freenode Neutron plugin for OVN is being developed here: http://git.openstack.org/stackforge/networking-ovn.git openstack-dev mailing list #openstack-neutron-ovn on Freenode 32

Thank you! Russell Bryant (@russellbryant) Kyle Mestery (@mestery) Justin Pettit (@Justin_D_Pettit)