SlideShare a Scribd company logo
v
Simplifying OpenStack Networks with
Routing on the Host
Scott Laffer and Gerard Chami
5th of May, 2016
cumulusnetworks.com 2
• Overview
• Who are we?
• Why care about the plumbing?
• What options are there?
• Demo
Agenda
Who are we?
cumulusnetworks.com 3
Scott Laffer
Technical Support Engineer
slaffer@cumulusnetworks.com
@slaffah
Gerard Chami
Technical Support Engineer
gchami@cumulusnetworks.com
@gerardchami
Transformation: First Servers, Now Networking
cumulusnetworks.com 4
First:
Compute
Transformed
LOCKED
Now:
Networking
Transforms
OPEN
Open Networking Enables Platform Choice and Affordable Capacity
cumulusnetworks.com
Applications, OS and Hardware
Open Ecosystem
Agile, open, scalable with unprecedented cost savings
4
“NetDevOps” – using existing
DevOps tools for networking
Operational efficiencies, increased
deployment speed
OpenStack + Cumulus – Own the Rack with Linux
cumulusnetworks.com 5
.
Why OpenStack?
.
Why Cumulus Linux?
Open source and associated
ability to innovate
No vendor lock-in
Affordable
Commoditized hardware
Bridge the gap between your
sysadmins and network engineers
Treat your switch like a server
OpEx and CapEx savings
Disaggregated HW and SW
Linux throughout your entire rack!
Why care about the plumbing?
cumulusnetworks.com 6
ML2 Type Driver Choices – “The What”
Flat Type Driver
All subnets assigned are placed in
the same Layer-2 broadcast domain.
Commonly used for defining a single
provider network (single pool of
external IP addresses).
cumulusnetworks.com 7
VLAN Type Driver
Each OpenStack subnet is assigned
to a different VLAN. Discussed in
detail in the Cumulus OpenStack
Validated Design Guide.
VxLAN Type Driver
Each OpenStack subnet is assigned to a
different VxLAN.
Looks similar to a typical Cumulus VxLAN
design except VTEP can be in the host.
Other
Linux
Bridge
OvS VendorOther GRE VLAN VxLAN
Core Plugin (ML2)
Type Manager
Type Driver
Mechanism Manager
Mechanism Driver
Other
Linux
Bridge
OvS VendorOther GRE VLAN VxLAN
ML2 Mechanism Driver Choices – “The How”
Linux Bridge
Provides Layer-2 and Layer-3
connectivity on a compute node
using traditional bridging constructs.
cumulusnetworks.com 8
OpenVswitch (OVS)
Provides Layer-2 and Layer-3
connectivity on a compute node
using networking stack that sits on
top of the Linux Kernel. It does not
use the Linux Kernel API.
Cumulus Linux
Instantiates/Destroys VLANs on a
Cumulus Switch after a tenant
network is created/deleted on the
OpenStack Compute Nodes
Core Plugin (ML2)
Type Manager
Type Driver
Mechanism Manager
Mechanism Driver
ML2
Framework providing a way to configure L2/L3 connectivity
on any networking platform such as the linux kernel
(linuxbridge) or OpenVSwitch
Design 1: ML2 + VLAN: MLAG Between Host/Leaf and Leaf/Spine
§  Overall: A well known and common design using MLAG at the spine layer, MLAG at leaf layer,
but least scalable and least flexible. An “old school” but proven network design.
cumulusnetworks.com 9
§  Considerations:
§  VLANs statically assigned but doesn’t scale well
§  STP heavy between Leaf/Spine and Leaf/Host
§  MLAG difficult to manage at scale.
§  Using Cumulus ML2 Mechanism driver to
dynamically add/remove VLANs doesn’t make
sense. How do you add/remove VLANs from
spines consistently?
§  Cumulus “Stickiness”:
§  Better automation story
§  Better operational story
•  Common tools for operation switch and server
§  Validated Design Guide certified
L2
ML2 Pair
Design 2: MLAG at Top-of-rack, IP Fabric Between Leaf/Spine
Overall: Uses less MLAG, more Layer-3, VxLAN, and is therefore more scalable.
Caveat: Utilizes third-party SDN overlays, which could add to overall complexity.
cumulusnetworks.com 10
§  Considerations:
§  Scales better than L2 + MLAG
§  SDN Overlays dynamically provision VxLAN on the switch
•  SDN overlay – Midokura, Nuage, PLUMgrid
•  Hierarchical Port Binding with Cumulus Mechanism Driver (alpha)
§  Future “Upsides”:
§  Scales better than L2 + MLAG
§  SDN Overlays dynamically provision VxLAN on
the switch
•  SDN overlay – Midokura, Nuage, PLUMgrid
•  Hierarchical Port Binding with Cumulus Mechanism Driver (alpha)
§  Cumulus “Stickiness”:
§  Simple Layer-3 config for IP fabric
§  BGP/OSPF unnumbered
§  HPB + Cumulus ML2 in production
ML2 Pair
L2
L3
ECMP
Design 3– Layer-3 to the Host: Single Attach
Overall: “Good Enough” for single links from hosts to switches, and recommended by Openstack.org
Caveat: Not unique/novel - other networking vendors can accomplish this
cumulusnetworks.com 11
§  Considerations:
§  Application need to be distributed
§  Not recommended for those who believe in dual
attaching host
§  VTEP on the host
§  VXLAN offload NICs recommended
§  Cumulus “Stickiness”:
§  Eliminated STP (Spanning Tree)
L3
ECMP
L3
Design 4: Layer-3 to the Host: Multiple Attach (Quagga on the Host)
§  Overall: The best overall networking solution with OpenStack and Cumulus Networks in
large configurations. 100% simple and flexible architecture with Layer-3 networking using
Linux quagga package extendable to other software solutions.
cumulusnetworks.com 12
§  Considerations:
§  VXLAN offload network interfaces recommended
§  Succeeds in docker container environments
§  Supports more than two links from hosts to
switches for load balancing
§  Cumulus “Stickiness”:
§  Simplified infrastructure config
§  Server/switch/rack mobility
§  Major reduction in IPv4 addressing
§  Requires Cumulus Quagga package
ECMP
ECMP
OpenStack Network Design Decision Tree
cumulusnetworks.com 13
Tenant
Separation
method?
VLAN Type
Driver on host
VxLAN Type
Driver on host
IP Fabric Between
Leaf/Spine
Number of Host to
Switch Links?
1 host to
switch link
2 or more host
to switch links
All L2/MLAG - Leaf/Spine MLAG,
Host/Leaf MLAG, applies Cumulus
Validated Design Guide
All L3 - Assign L3 address on host
interfaces. Unnumbered for IP fabric
switch interfaces.
All L3 - L3 BGP/OSPF unnumbered
config all the way to the host.
Install Linux Quagga package from
Cumulus on each host.
“past”
“present”
“future”
Cumulus Networks
Demo Time
14
Not just a party trick…
cumulusnetworks.com 15
© 2016 Cumulus Networks. Cumulus Networks, the Cumulus Networks Logo, and Cumulus Linux are trademarks or registered trademarks of Cumulus Networks, Inc. or its
affiliates in the U.S. and other countries. Other names may be trademarks of their respective owners. The registered trademark Linux® is used pursuant to a sublicense from LMI,
the exclusive licensee of Linus Torvalds, owner of the mark on a world-wide basis.
§ Thank You!
cumulusnetworks.com 16
Unleashing the Power of Open Networking
v
Backup Slides
cumulusnetworks.com 17
Getting Started with the Validated Design Guide
cumulusnetworks.com 18
§  Detailed 54-page HOWTO deployment
guide - two spine and four leaf switches
§  Install and configure switches and
compute nodes
§  Closely mimics production architecture
VMware®
vSphere and Cumulus Networks®
Validated Solution Guide
Deploying VMware
®
vSphere with Cumulus
®
Linux
®
Switches
Big Data Hadoop and Cumulus Networks
®
Validated Solution Guide
Deploying Apache Hadoop with Cumulus
®
Linux
®
Switches
0
0
00
0
0
0
00
0
0
01
1
0
1
11
1 1 1
11
1
1 11
1
Demo: Cumulus VX "Rack-on-a-Laptop" Part I (L2 + MLAG)
cumulusnetworks.com 19
VirtualBox Appliance Contains:
§  Two Cumulus VX leaf nodes +
Two RDO compute nodes
§  Custom tenant creation and
tear-down script
§  Command line input via any
local Web browser
§  Cumulus ML2 mechanism driver
enabled – create 1 or 2 tenants
http://tinyurl.com/RackOnALaptop
OpenStack Controller
Compute Node (Nova)
Network Node (Neutron)
Dashboatd Node (Horizon)
Compute Node
192.168.100.4/24192.168.100.3/24
192.168.100.2/24192.168.100.1/24
Mgmt
Bridge
Leaf 1 Leaf 2802.1q bond
Virtual Experience
Cumulus VX
Virtual Experience
Cumulus VX
swp18
swp17
swp18
swp17
swp32s0
ens0p9
swp32s0
ens0p9
host1 host2
Demo: Cumulus VX "Rack-on-a-Laptop" Part II (L3 to the Host)
cumulusnetworks.com 20
VirtualBox Appliance Contains:
§  One Cumulus VX spine node +
Two Cumulus VX leaf nodes +
Two RDO compute nodes +
One Debian external router
§  Custom tenant creation and
tear-down script
§  Command line input via any
local Web browser
§  Quagga packages on each compute node for
Layer-3 to the host with BGP unnumbered http://tinyurl.com/RackOnALaptop-2
OpenStack Network Design: Layer 2 vs. Layer 3
cumulusnetworks.com 21
VMVM
bridge - <>bridge - <>
subinterface
taptap
subinterface
802.1q trunk 802.1q trunk
802.1q bond
VMVM
bridge - <>bridge - <>
subinterface
taptap
tap tap
taptap
subinterface
vRouter
L3 Agent
DHCP AgentDHCP Agent
3
4
VXLAN –> Tunnel IP
Server1 Network Node
172.16.1.1
172.16.1.2
192.168.40.2192.168.40.3/24
VM
br-<random> br-<random> br-external
TAP
VXLAN-2061
eth0
eth0 eth0 eth0
swp1 swp8
swp47
vRouter
VXLAN-2061
Mgmt Network
1
2 5
6
203.0.113.1/24
203.0.113.2/24
Layer 2 + VLAN Layer 3 + VXLAN

More Related Content

PDF
Infrastructure as Code 101: Steve Tegeler + Nathan Ness, VMware
PDF
OpenStack and Rackspace – an Australian perspective: Tony Breeds, Rackspace
PDF
The Consequences of Infinite Storage Bandwidth: Allen Samuels, SanDisk
PDF
Addressing Issues of Risk & Governance in OpenStack without sacrificing Agili...
PDF
Making Openstack Really Easy - Why Build Open Source When You Can Buy? Danny ...
PDF
How to deliver High Performance OpenStack Cloud: Christoph Dwertmann, Vault S...
PDF
Things You MUST Know Before Deploying OpenStack: Bruno Lago, Catalyst IT
PDF
/bin/tails from OpenStack Operations: Rarm Nagalingam, Red Hat
Infrastructure as Code 101: Steve Tegeler + Nathan Ness, VMware
OpenStack and Rackspace – an Australian perspective: Tony Breeds, Rackspace
The Consequences of Infinite Storage Bandwidth: Allen Samuels, SanDisk
Addressing Issues of Risk & Governance in OpenStack without sacrificing Agili...
Making Openstack Really Easy - Why Build Open Source When You Can Buy? Danny ...
How to deliver High Performance OpenStack Cloud: Christoph Dwertmann, Vault S...
Things You MUST Know Before Deploying OpenStack: Bruno Lago, Catalyst IT
/bin/tails from OpenStack Operations: Rarm Nagalingam, Red Hat

What's hot (20)

PDF
Push-button Composition of Oracle Application and Database Environments: Avi ...
PPTX
Containers and OpenStack: Marc Van Hoof, Kumulus: Containers and OpenStack
PDF
[OpenStack Day in Korea 2015] Track 2-2 - OpenStack for PaaS: Why it's Hot
PDF
OPNFV & OpenStack
PPTX
An Evaluation of OpenStack Deployment Frameworks
PDF
We Are OpenStack: David F. Flanders & Tom Fifield, OpenStack Foundation
PPTX
Deploying OpenStack with Ansible
PDF
[OpenStack Days Korea 2016] Track1 - Red Hat enterprise Linux OpenStack Platform
PPTX
Role of sdn controllers in open stack
PDF
[OpenStack Day in Korea] Keynote#2 - Bringing OpenStack to the Enterprise Dat...
PDF
Copr HD OpenStack Day India
PDF
CAPS: What's best for deploying and managing OpenStack? Chef vs. Ansible vs. ...
PPTX
OpenStack QA Tooling & How to use it for Production Cloud Testing | Ghanshyam...
PDF
[OpenStack Day in Korea 2015] Track 1 - Triple O를 이용한 빠르고 쉬운 OpenStack 설치
PDF
The OpenStack Tacker Project and SDN/NFV MANO: Craig Stevens, Brocade
PDF
[OpenStack Days Korea 2016] Track2 - 가상화 네트워크와 클라우드간 협업
PPTX
VMware and Container Orchestration
PDF
[OpenStack Day in Korea 2015] Keynote 1 - OpenStack Mission Update
PDF
[OpenStack Day in Korea 2015] Track 3-1 - OpenStack Storage Infrastructure & ...
PDF
OpenStack Deployment in the Enterprise
Push-button Composition of Oracle Application and Database Environments: Avi ...
Containers and OpenStack: Marc Van Hoof, Kumulus: Containers and OpenStack
[OpenStack Day in Korea 2015] Track 2-2 - OpenStack for PaaS: Why it's Hot
OPNFV & OpenStack
An Evaluation of OpenStack Deployment Frameworks
We Are OpenStack: David F. Flanders & Tom Fifield, OpenStack Foundation
Deploying OpenStack with Ansible
[OpenStack Days Korea 2016] Track1 - Red Hat enterprise Linux OpenStack Platform
Role of sdn controllers in open stack
[OpenStack Day in Korea] Keynote#2 - Bringing OpenStack to the Enterprise Dat...
Copr HD OpenStack Day India
CAPS: What's best for deploying and managing OpenStack? Chef vs. Ansible vs. ...
OpenStack QA Tooling & How to use it for Production Cloud Testing | Ghanshyam...
[OpenStack Day in Korea 2015] Track 1 - Triple O를 이용한 빠르고 쉬운 OpenStack 설치
The OpenStack Tacker Project and SDN/NFV MANO: Craig Stevens, Brocade
[OpenStack Days Korea 2016] Track2 - 가상화 네트워크와 클라우드간 협업
VMware and Container Orchestration
[OpenStack Day in Korea 2015] Keynote 1 - OpenStack Mission Update
[OpenStack Day in Korea 2015] Track 3-1 - OpenStack Storage Infrastructure & ...
OpenStack Deployment in the Enterprise
Ad

Viewers also liked (11)

PDF
OpenStack Australia Day 2016 - Peter Lees, SUSE: Planning an Enterprise OpenS...
PDF
From Community to Enterprise and Back Again! Chris Wright, Red Hat
PDF
We Are OpenStack: Jonathan Bryce, OpenStack Foundation
PDF
Using OpenStack to Accelerate New Product Development: Rik Harris, Telstra
PDF
The Future of Cloud Software Defined Storage with Ceph: Andrew Hatfield, Red Hat
PPTX
應用Ceph技術打造軟體定義儲存新局
PDF
Implementing OpenStack in a Government Environment: Vanessa Binding, Departme...
PDF
Moving to Cloud for Good: Alexander Tsirel, HiveTec
PDF
The Environment for Innovation: Tristan Goode, Aptira
PDF
An Open Approach to Government Cloud: Dez Blanchfield, Vault Systems
PDF
Big Data and OpenStack, a Love Story: Michael Still, Rackspace
OpenStack Australia Day 2016 - Peter Lees, SUSE: Planning an Enterprise OpenS...
From Community to Enterprise and Back Again! Chris Wright, Red Hat
We Are OpenStack: Jonathan Bryce, OpenStack Foundation
Using OpenStack to Accelerate New Product Development: Rik Harris, Telstra
The Future of Cloud Software Defined Storage with Ceph: Andrew Hatfield, Red Hat
應用Ceph技術打造軟體定義儲存新局
Implementing OpenStack in a Government Environment: Vanessa Binding, Departme...
Moving to Cloud for Good: Alexander Tsirel, HiveTec
The Environment for Innovation: Tristan Goode, Aptira
An Open Approach to Government Cloud: Dez Blanchfield, Vault Systems
Big Data and OpenStack, a Love Story: Michael Still, Rackspace
Ad

Similar to Simplifying OpenStack Networks with Routing on the Host: Gerard Chami + Scott Laffer, Cumulus Networks (20)

PDF
Unleash the Power of Open Networking
PDF
Cumulus Linux 2.5 Overview
PDF
Big data, better networks
PDF
Using linux to manage the entire rack
PDF
Open Networking for Your OpenStack
PDF
Modern Data Center Network Architecture - The house that Clos built
PDF
OpenStack Networks the Web-Scale Way - Scott Laffer, Cumulus Networks
PDF
Unlock Your Cloud Potential with Mirantis OpenStack & Cumulus Linux
PDF
Mirantis OpenStack and Cumulus Linux Webinar
PDF
Introduction to Apache Mesos and DC/OS
PPTX
OpenStack Networking and Automation
PPTX
Big Data, Better Networks
PPTX
Understanding and deploying Network Virtualization
PDF
Osdc2014 openstack networking yves_fauser
PDF
OSDC 2014: Yves Fauser - OpenStack Networking (Neutron) - Overview of network...
PDF
Openflow for Cloud Scalability
PDF
[OpenStack Days Korea 2016] Track1 - Mellanox CloudX - Acceleration for Cloud...
PDF
Open coud networking at full speed - Avi Alkobi
PPTX
Optimising nfv service chains on open stack using docker
PDF
Building a sdn solution for the deployment of web application stacks in docker
Unleash the Power of Open Networking
Cumulus Linux 2.5 Overview
Big data, better networks
Using linux to manage the entire rack
Open Networking for Your OpenStack
Modern Data Center Network Architecture - The house that Clos built
OpenStack Networks the Web-Scale Way - Scott Laffer, Cumulus Networks
Unlock Your Cloud Potential with Mirantis OpenStack & Cumulus Linux
Mirantis OpenStack and Cumulus Linux Webinar
Introduction to Apache Mesos and DC/OS
OpenStack Networking and Automation
Big Data, Better Networks
Understanding and deploying Network Virtualization
Osdc2014 openstack networking yves_fauser
OSDC 2014: Yves Fauser - OpenStack Networking (Neutron) - Overview of network...
Openflow for Cloud Scalability
[OpenStack Days Korea 2016] Track1 - Mellanox CloudX - Acceleration for Cloud...
Open coud networking at full speed - Avi Alkobi
Optimising nfv service chains on open stack using docker
Building a sdn solution for the deployment of web application stacks in docker

More from OpenStack (20)

PDF
Swinburne University of Technology - Shunde Zhang & Kieran Spear, Aptira
PDF
Related OSS Projects - Peter Rowe, Flexera Software
PDF
Supercomputing by API: Connecting Modern Web Apps to HPC
PDF
Federation and Interoperability in the Nectar Research Cloud
PDF
Simplifying the Move to OpenStack
PDF
Hyperconverged Cloud, Not just a toy anymore - Andrew Hatfield, Red Hat
PDF
Migrating your infrastructure to OpenStack - Avi Miller, Oracle
PDF
A glimpse into an industry Cloud using Open Source Technologies - Adrian Koh,...
PDF
Enabling OpenStack for Enterprise - Tarso Dos Santos, Veritas
PDF
Understanding blue store, Ceph's new storage backend - Tim Serong, SUSE
PPTX
Diving in the desert: A quick overview into OpenStack Sahara capabilities - A...
PDF
Building a GPU-enabled OpenStack Cloud for HPC - Blair Bethwaite, Monash Univ...
PDF
OpenStack and Red Hat: How we learned to adapt with our customers in a maturi...
PDF
Meshing OpenStack and Bare Metal Networks with EVPN - David Iles, Mellanox Te...
PDF
The Why and How of HPC-Cloud Hybrids with OpenStack - Lev Lafayette, Universi...
PPTX
Ironically, Infrastructure Doesn't Matter - Quinton Anderson, Commonwealth Ba...
PDF
Traditional Enterprise to OpenStack Cloud - An Unexpected Journey
PDF
Building a GPU-enabled OpenStack Cloud for HPC - Lance Wilson, Monash University
PDF
Monitoring Uptime on the NeCTAR Research Cloud - Andy Botting, University of ...
PDF
Crowbar and OpenStack: Steve Kowalik, SUSE
Swinburne University of Technology - Shunde Zhang & Kieran Spear, Aptira
Related OSS Projects - Peter Rowe, Flexera Software
Supercomputing by API: Connecting Modern Web Apps to HPC
Federation and Interoperability in the Nectar Research Cloud
Simplifying the Move to OpenStack
Hyperconverged Cloud, Not just a toy anymore - Andrew Hatfield, Red Hat
Migrating your infrastructure to OpenStack - Avi Miller, Oracle
A glimpse into an industry Cloud using Open Source Technologies - Adrian Koh,...
Enabling OpenStack for Enterprise - Tarso Dos Santos, Veritas
Understanding blue store, Ceph's new storage backend - Tim Serong, SUSE
Diving in the desert: A quick overview into OpenStack Sahara capabilities - A...
Building a GPU-enabled OpenStack Cloud for HPC - Blair Bethwaite, Monash Univ...
OpenStack and Red Hat: How we learned to adapt with our customers in a maturi...
Meshing OpenStack and Bare Metal Networks with EVPN - David Iles, Mellanox Te...
The Why and How of HPC-Cloud Hybrids with OpenStack - Lev Lafayette, Universi...
Ironically, Infrastructure Doesn't Matter - Quinton Anderson, Commonwealth Ba...
Traditional Enterprise to OpenStack Cloud - An Unexpected Journey
Building a GPU-enabled OpenStack Cloud for HPC - Lance Wilson, Monash University
Monitoring Uptime on the NeCTAR Research Cloud - Andy Botting, University of ...
Crowbar and OpenStack: Steve Kowalik, SUSE

Recently uploaded (20)

PDF
Machine learning based COVID-19 study performance prediction
PPTX
Cloud computing and distributed systems.
PDF
Encapsulation theory and applications.pdf
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
cuic standard and advanced reporting.pdf
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PPTX
Big Data Technologies - Introduction.pptx
PDF
Approach and Philosophy of On baking technology
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PPT
Teaching material agriculture food technology
PDF
Empathic Computing: Creating Shared Understanding
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Machine learning based COVID-19 study performance prediction
Cloud computing and distributed systems.
Encapsulation theory and applications.pdf
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
cuic standard and advanced reporting.pdf
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Diabetes mellitus diagnosis method based random forest with bat algorithm
“AI and Expert System Decision Support & Business Intelligence Systems”
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Big Data Technologies - Introduction.pptx
Approach and Philosophy of On baking technology
Understanding_Digital_Forensics_Presentation.pptx
Dropbox Q2 2025 Financial Results & Investor Presentation
Per capita expenditure prediction using model stacking based on satellite ima...
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Teaching material agriculture food technology
Empathic Computing: Creating Shared Understanding
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...

Simplifying OpenStack Networks with Routing on the Host: Gerard Chami + Scott Laffer, Cumulus Networks

  • 1. v Simplifying OpenStack Networks with Routing on the Host Scott Laffer and Gerard Chami 5th of May, 2016
  • 2. cumulusnetworks.com 2 • Overview • Who are we? • Why care about the plumbing? • What options are there? • Demo Agenda
  • 3. Who are we? cumulusnetworks.com 3 Scott Laffer Technical Support Engineer slaffer@cumulusnetworks.com @slaffah Gerard Chami Technical Support Engineer gchami@cumulusnetworks.com @gerardchami
  • 4. Transformation: First Servers, Now Networking cumulusnetworks.com 4 First: Compute Transformed LOCKED Now: Networking Transforms OPEN Open Networking Enables Platform Choice and Affordable Capacity cumulusnetworks.com Applications, OS and Hardware Open Ecosystem Agile, open, scalable with unprecedented cost savings 4
  • 5. “NetDevOps” – using existing DevOps tools for networking Operational efficiencies, increased deployment speed OpenStack + Cumulus – Own the Rack with Linux cumulusnetworks.com 5 . Why OpenStack? . Why Cumulus Linux? Open source and associated ability to innovate No vendor lock-in Affordable Commoditized hardware Bridge the gap between your sysadmins and network engineers Treat your switch like a server OpEx and CapEx savings Disaggregated HW and SW Linux throughout your entire rack!
  • 6. Why care about the plumbing? cumulusnetworks.com 6
  • 7. ML2 Type Driver Choices – “The What” Flat Type Driver All subnets assigned are placed in the same Layer-2 broadcast domain. Commonly used for defining a single provider network (single pool of external IP addresses). cumulusnetworks.com 7 VLAN Type Driver Each OpenStack subnet is assigned to a different VLAN. Discussed in detail in the Cumulus OpenStack Validated Design Guide. VxLAN Type Driver Each OpenStack subnet is assigned to a different VxLAN. Looks similar to a typical Cumulus VxLAN design except VTEP can be in the host. Other Linux Bridge OvS VendorOther GRE VLAN VxLAN Core Plugin (ML2) Type Manager Type Driver Mechanism Manager Mechanism Driver
  • 8. Other Linux Bridge OvS VendorOther GRE VLAN VxLAN ML2 Mechanism Driver Choices – “The How” Linux Bridge Provides Layer-2 and Layer-3 connectivity on a compute node using traditional bridging constructs. cumulusnetworks.com 8 OpenVswitch (OVS) Provides Layer-2 and Layer-3 connectivity on a compute node using networking stack that sits on top of the Linux Kernel. It does not use the Linux Kernel API. Cumulus Linux Instantiates/Destroys VLANs on a Cumulus Switch after a tenant network is created/deleted on the OpenStack Compute Nodes Core Plugin (ML2) Type Manager Type Driver Mechanism Manager Mechanism Driver ML2 Framework providing a way to configure L2/L3 connectivity on any networking platform such as the linux kernel (linuxbridge) or OpenVSwitch
  • 9. Design 1: ML2 + VLAN: MLAG Between Host/Leaf and Leaf/Spine §  Overall: A well known and common design using MLAG at the spine layer, MLAG at leaf layer, but least scalable and least flexible. An “old school” but proven network design. cumulusnetworks.com 9 §  Considerations: §  VLANs statically assigned but doesn’t scale well §  STP heavy between Leaf/Spine and Leaf/Host §  MLAG difficult to manage at scale. §  Using Cumulus ML2 Mechanism driver to dynamically add/remove VLANs doesn’t make sense. How do you add/remove VLANs from spines consistently? §  Cumulus “Stickiness”: §  Better automation story §  Better operational story •  Common tools for operation switch and server §  Validated Design Guide certified L2 ML2 Pair
  • 10. Design 2: MLAG at Top-of-rack, IP Fabric Between Leaf/Spine Overall: Uses less MLAG, more Layer-3, VxLAN, and is therefore more scalable. Caveat: Utilizes third-party SDN overlays, which could add to overall complexity. cumulusnetworks.com 10 §  Considerations: §  Scales better than L2 + MLAG §  SDN Overlays dynamically provision VxLAN on the switch •  SDN overlay – Midokura, Nuage, PLUMgrid •  Hierarchical Port Binding with Cumulus Mechanism Driver (alpha) §  Future “Upsides”: §  Scales better than L2 + MLAG §  SDN Overlays dynamically provision VxLAN on the switch •  SDN overlay – Midokura, Nuage, PLUMgrid •  Hierarchical Port Binding with Cumulus Mechanism Driver (alpha) §  Cumulus “Stickiness”: §  Simple Layer-3 config for IP fabric §  BGP/OSPF unnumbered §  HPB + Cumulus ML2 in production ML2 Pair L2 L3 ECMP
  • 11. Design 3– Layer-3 to the Host: Single Attach Overall: “Good Enough” for single links from hosts to switches, and recommended by Openstack.org Caveat: Not unique/novel - other networking vendors can accomplish this cumulusnetworks.com 11 §  Considerations: §  Application need to be distributed §  Not recommended for those who believe in dual attaching host §  VTEP on the host §  VXLAN offload NICs recommended §  Cumulus “Stickiness”: §  Eliminated STP (Spanning Tree) L3 ECMP
  • 12. L3 Design 4: Layer-3 to the Host: Multiple Attach (Quagga on the Host) §  Overall: The best overall networking solution with OpenStack and Cumulus Networks in large configurations. 100% simple and flexible architecture with Layer-3 networking using Linux quagga package extendable to other software solutions. cumulusnetworks.com 12 §  Considerations: §  VXLAN offload network interfaces recommended §  Succeeds in docker container environments §  Supports more than two links from hosts to switches for load balancing §  Cumulus “Stickiness”: §  Simplified infrastructure config §  Server/switch/rack mobility §  Major reduction in IPv4 addressing §  Requires Cumulus Quagga package ECMP ECMP
  • 13. OpenStack Network Design Decision Tree cumulusnetworks.com 13 Tenant Separation method? VLAN Type Driver on host VxLAN Type Driver on host IP Fabric Between Leaf/Spine Number of Host to Switch Links? 1 host to switch link 2 or more host to switch links All L2/MLAG - Leaf/Spine MLAG, Host/Leaf MLAG, applies Cumulus Validated Design Guide All L3 - Assign L3 address on host interfaces. Unnumbered for IP fabric switch interfaces. All L3 - L3 BGP/OSPF unnumbered config all the way to the host. Install Linux Quagga package from Cumulus on each host. “past” “present” “future”
  • 15. Not just a party trick… cumulusnetworks.com 15
  • 16. © 2016 Cumulus Networks. Cumulus Networks, the Cumulus Networks Logo, and Cumulus Linux are trademarks or registered trademarks of Cumulus Networks, Inc. or its affiliates in the U.S. and other countries. Other names may be trademarks of their respective owners. The registered trademark Linux® is used pursuant to a sublicense from LMI, the exclusive licensee of Linus Torvalds, owner of the mark on a world-wide basis. § Thank You! cumulusnetworks.com 16 Unleashing the Power of Open Networking
  • 18. Getting Started with the Validated Design Guide cumulusnetworks.com 18 §  Detailed 54-page HOWTO deployment guide - two spine and four leaf switches §  Install and configure switches and compute nodes §  Closely mimics production architecture VMware® vSphere and Cumulus Networks® Validated Solution Guide Deploying VMware ® vSphere with Cumulus ® Linux ® Switches Big Data Hadoop and Cumulus Networks ® Validated Solution Guide Deploying Apache Hadoop with Cumulus ® Linux ® Switches 0 0 00 0 0 0 00 0 0 01 1 0 1 11 1 1 1 11 1 1 11 1
  • 19. Demo: Cumulus VX "Rack-on-a-Laptop" Part I (L2 + MLAG) cumulusnetworks.com 19 VirtualBox Appliance Contains: §  Two Cumulus VX leaf nodes + Two RDO compute nodes §  Custom tenant creation and tear-down script §  Command line input via any local Web browser §  Cumulus ML2 mechanism driver enabled – create 1 or 2 tenants http://tinyurl.com/RackOnALaptop OpenStack Controller Compute Node (Nova) Network Node (Neutron) Dashboatd Node (Horizon) Compute Node 192.168.100.4/24192.168.100.3/24 192.168.100.2/24192.168.100.1/24 Mgmt Bridge Leaf 1 Leaf 2802.1q bond Virtual Experience Cumulus VX Virtual Experience Cumulus VX swp18 swp17 swp18 swp17 swp32s0 ens0p9 swp32s0 ens0p9 host1 host2
  • 20. Demo: Cumulus VX "Rack-on-a-Laptop" Part II (L3 to the Host) cumulusnetworks.com 20 VirtualBox Appliance Contains: §  One Cumulus VX spine node + Two Cumulus VX leaf nodes + Two RDO compute nodes + One Debian external router §  Custom tenant creation and tear-down script §  Command line input via any local Web browser §  Quagga packages on each compute node for Layer-3 to the host with BGP unnumbered http://tinyurl.com/RackOnALaptop-2
  • 21. OpenStack Network Design: Layer 2 vs. Layer 3 cumulusnetworks.com 21 VMVM bridge - <>bridge - <> subinterface taptap subinterface 802.1q trunk 802.1q trunk 802.1q bond VMVM bridge - <>bridge - <> subinterface taptap tap tap taptap subinterface vRouter L3 Agent DHCP AgentDHCP Agent 3 4 VXLAN –> Tunnel IP Server1 Network Node 172.16.1.1 172.16.1.2 192.168.40.2192.168.40.3/24 VM br-<random> br-<random> br-external TAP VXLAN-2061 eth0 eth0 eth0 eth0 swp1 swp8 swp47 vRouter VXLAN-2061 Mgmt Network 1 2 5 6 203.0.113.1/24 203.0.113.2/24 Layer 2 + VLAN Layer 3 + VXLAN