SlideShare a Scribd company logo
CCA - NoDerivs 3.0 Unported License - Usage OK, no modifications, full attribution*!
* All unlicensed or borrowed works retain their original licenses
OpenStack Scale-out 

Networking Architecture
Abhishek Chanda, Software Engineer!
OpenStack Juno Design Summit!
May 13th, 2014
Scaling to 1,000+ servers without Neutron!
@rony358
Abhishek Chanda
•Engineer at Cloudscaling!
•Started with a focus on software defined
networking and distributed systems!
• Ended up as jack of all trades!!
• Still bad at configuring network devices!
2
Today’s Goals
3
• Our Layer-3 (L3) network architecture!
• Motivation!
• Design goals!
• Network topology!
• Software components layout!
• Under the hood!
• Challenges Faced!
• Future Directions (SDN, Neutron etc.)
Networking Modes 

in Vanilla OpenStack
using nova-network
OpenStack Networking Options
5
Single-Host"
OpenStack
Networking

Multi-Host"
OpenStack
Networking

Flat 

OpenStack
Networking
OCS "
Classic

Networking
OCS "
VPC 

Networking
Scalability"
& Control 0 1 2 4 4
Reference
Network "
Architecture
Layer-2 VLANs
w/ STP
Layer-2 VLANs
w/ STP
Layer-2 VLANs
w/ STP
L3 Spine & Leaf
+ scale-out NAT
L3 Spine & Leaf
Underlay +
network
virtualization
Design
Pattern
Centralized
network stack
Decentralized
network stack
Centralized
network stack
Fully Distributed Fully Distributed
Core 

Design 

Flaw
All traffic through
a single x86
server
NAT at
Hypervisor;
802.1q tagging
All traffic
through a single
x86 server
Requires
deeper
networking
savvy
More bleeding
edge (scale not
proven)
Issues
SPOF;
Performance
bottleneck; 

No SDN
Security & 

QoS issues; 

No SDN
No control plane
scalability; No
SDN
No virtual
networks
No VLAN
support
Neutron Router
nova-network
Option 1 - OpenStack Single-Host
6
VLAN
VLAN
VLAN
VLAN
VLAN
VLAN
All traffic through
centralized bottleneck
and 

single point of failure
Performance bottleneck; non-standard networking arch.
Option 2 - OpenStack Multi-Host
7
Core Network
Hypervisor
nova-network
Public

IPs
Private

IPsNAT
Separate NICs cut
available bandwidth
by 50%
Direct database
access increases risk
NAT at hypervisor
means routing
protocols to
hypervisor or VLANs
+ STP across racks
for gratuitous ARP
Must route Public
IPs across core
Security problem; non-standard networking arch.
Option 3 - OpenStack Flat
8
Networking scalability, but no control plane scalability
Uses ethernet
adapters
configured as
bridges to allow
network traffic
between nodes!
!
Commonly used
in POC and
development
environments
nova-network
nova-scheduler
nova-api
nova-compute
Controller Compute
your local network IP address space
(eth1) (eth1)
10.0.0.0/8
br100

(eth0)
br100

(eth0)
What Path Have Others Chosen?
•HP, CERN, ANL and others!
•CERN uses a custom driver which talks
to a DB that maps IP to MAC addresses
(amongst other attributes)!
• Essentially flat with manually created VLANs
assigned to specific compute nodes!
•ANL added InfiniBand and VxLAN
support to nova-network
9
The L3 Network
Architecture in OCS
Design Goals
• Mimic Amazon EC2 “classic” networking!
• Pure L3 is blazing fast and well understood!
• Network/systems folks can troubleshoot easily!
• No VLANs, no Spanning Tree Protocol (STP), no L2 mess!
• No SPOFs, smaller failure domains!
• E.g. single_host & flat mode!
• Distributed “scale-out” DHCP!
• No virtual routers!!
• Path is vm->host->ToR->core
11
This enables a horizontally scalable stateless 

NAT layer that provides floating IPs
Layer 3 (L3) Networks Scale
12
Largest cloud operators are
L3 with NO VLANs
Cloud-ready apps don’t
need or want VLANs (L2)
An L3 networking model is
ideal underlay for SDN
overlay
The Internet Scales!
Why NOT L2?
13
L3 L2
Hierarchical topology Flat topology
Route aggregation No route aggregation / everything everywhere
Fast convergence times
Fast convergence times only when tuned
properly
Locality matters Locality disappears
Use all available bandwidth 

(via ECMP) using multiple paths
Uses half of available bandwidth 

and most traffic takes a long route
Proven scale STP/VLANs work at small to medium scale only
The Internet (& ISPs) are L3 oriented Typical enterprise datacenter is L2 oriented
Best practice for SDN “underlay” SDN “overlay” designed to provide L2 virt. nets
Smaller Failure Domains
14
Would you rather have the whole cloud down !
or just a small bit of it for a short time?
vs
Spine & Leaf
15
Simple Network View
16
Software Components Schematic Layout
17
Software!
Components
Hardware!
Components
• Nova Network is distributed
& synchronized!
• Means we can have 

many running at once) !
• This drives horizontal 

network scalability 

by adding more 

network managers
Zone Node
nova-

network
Compute Node
ToR
Core Network
nova-!
db
ToR
Software Components Schematic Layout
18
Software!
Components
Hardware!
Components
• VIF driver on each compute node!
• Bridge creation on each vm (/30)!
• Enhanced iptables rules!
• Per vm udhcpd process!
• Configures routing
Zone Node
nova-!
network
Compute Node
ToR
Core Network
nova-!
db
VM
DHCP 

Server
VIF!
Driver
ToR
Software Components Schematic Layout
19
Software!
Components
Hardware!
Components
• NAT service on the edge!
• Provides on demand 

elastic IP service
Zone Node
nova-!
network
Compute Node
ToR
Natter
Core Network
Edge Network
nova-!
db
VM
DHCP 

Server
VIF!
Driver
ToR
Provides utilities to
create a number of
/30 networks per
host and pin them
to host (l3addnet)
Under the Hood: Natter
20
Zone 

Node
nova-db
Natter
Core Network
Edge Network
Connection
Control Plane Data
1
Polls nova-db for new

<floating_ip, private_ip> tuples
2
Use tc to install 1:1 NAT!
rules in eth0
(eth1)
(eth0)
Under the Hood: Natter
21
22
Under the Hood: VIF Driver and Nova-Network
Zone!
Node
ToR
nova-
network
Compute 

Node
ToR
VIF!
Driver
Core Network
Natter
VM Provisioning"
1) VIF: Build linux bridge!
2) NM: Get host!
3) NM: Get all available networks for host!
4) NM: Find first unused network for the host!
5) VIF: Create a VIF!
6) VIF: Sets up and starts udhcpd on host per VM

MAC is calculated based on the IP!
7) VIF: Creates a /30 network for the VM, assigns

one address to the bridge, one to the VM!
8) VIF: Adds routes to enable VM to gateway traffic!
9) VIF: Adds iptables rules to enable blocked !
networks and whitelisted hosts!
!
VM Decommissioning"
1) VIF: Stop udhcpd for the bridge the VM is 

attached to and remove config!
2) NM: Delete all IPs in all VIFs!
3) NM: Cleanup linux bridge!
4) NM: Cleanup all /30 networks!
Under the Hood: l3addnet
23
Used by cloud admins to pin networks to hosts!
Wrapper around nova-manage network create
!
• Breaks down the input CIDR into /30 blocks!
• Loops through each block and calls the nova-
manage API to create a network on that compute
host
root@z2.b0.z1:~# l3addnet

Usage: l3addnet cidr host01 dns1 dns2
root@z2.b0.z1:~# l3addnet 10.50.0.0/24 10.18.1.12 8.8.8.8 8.8.4.4
Network Driver Challenges
• OpenStack releases are moving targets!
• Plugin interfaces change!
• Library dependencies change!
• Database API not rich/efficient enough!
• Straight to SQL to get what we needed!
• nova-network supposed to be deprecated?!
• First in Folsom or Grizzly? Then Havana??!
• Have to figure out our Neutron strategy
24
Why Not Neutron Now?
•Created in Diablo timeframe !
•Neutron still not stable!
• API changes and interfaces are actively hostile!
• No multi-host support!
• Complicated, non-intuitive maintenance procedures!
• Not all plugins are equally stable!
• many are outright buggy
25
SDN in OCS
• OpenContrail only one to meet our rqmts!
• OCS ref network arch ideal “underlay”!
• SDN underlays usually are spine and leaf!
• L3 routing does not interfere with supporting
encapsulation or tunneling protocols!
• Customers can choose network model!
• VPC or L3
26
A large customer who wants to seamlessly support
autoscaling for its tenants is a perfect use-case for VPC
Example Packet Path - L3*
27
Edge Routers!
(“egress”)
Core Routers!
(“spine”)
ToR Switches!
(“leaf”)
VMs
Router (L3)
Switch (L2)
Ethernet 

Domain
!
IP Traffic
!
Encapsulated

Traffic (L3oL3)
Internet
Linux Bridge

on compute
node
* natters not shown for
simplicity purposes!
Example Packet Path
28
Edge Routers!
(“egress”)
Core Routers!
(“spine”)
ToR Switches!
(“leaf”)
VMs
Router (L3)
Switch (L2)
Ethernet 

Domain
!
IP Traffic
!
Encapsulated

Traffic (L3oL3)
Internet
Virtual Network Virtual Network
Layer 3 

Physical Network
Network 

Virtualization
Layer 3 

Virtual Networks

for Customers 

& Apps
Abstraction
vRouter/vSW
Future Directions
• OCS L3 networking migrates to Neutron!
• As networking plugin (beyond nova-network
replacement)!
• OCS VPC w/ more advanced SDN capabilities!
• NFV combined with Service Chaining for Carriers!
• Support existing physical network assets with
Service Chaining
29
Questions?
Abhishek Chanda
@rony358

More Related Content

What's hot (20)

PDF
An Introduction to Red Hat Enterprise Linux OpenStack Platform
Rhys Oxenham
 
PDF
OpenStack in Action 4! Franz Meyer - What Use Case does Red Hat Enterprise ...
eNovance
 
PDF
OpenStack 101 update
Kamesh Pemmaraju
 
PDF
CERN Data Centre Evolution
Gavin McCance
 
PDF
[2015-05월 세미나] Network Bottlenecks Mutiply with NFV Don't Forget Performance ...
OpenStack Korea Community
 
PDF
[OpenStack Days Korea 2016] Track1 - Red Hat enterprise Linux OpenStack Platform
OpenStack Korea Community
 
PDF
[OpenStack Day in Korea 2015] Keynote 1 - OpenStack Mission Update
OpenStack Korea Community
 
PDF
OpenStack Deployment in the Enterprise
Cisco Canada
 
PDF
OpenStack Explained: Learn OpenStack architecture and the secret of a success...
Giuseppe Paterno'
 
PDF
CAPS: What's best for deploying and managing OpenStack? Chef vs. Ansible vs. ...
Daniel Krook
 
PPTX
An Evaluation of OpenStack Deployment Frameworks
shane_gibson
 
PDF
Cloud Networking is not Virtual Networking - London VMUG 20130425
Greg Ferro
 
PDF
RedHat OpenStack Platform Overview
indevlab
 
PDF
AWS Summit 2015 Tokyo Breakout: Global Large Scale Cloud Design and Cloud Nat...
fast_retailing
 
PDF
State of the Stack v4 - OpenStack in All It's Glory
Randy Bias
 
PDF
Openstackoverview-DEC2013
Michael Lessard
 
PDF
Introducing Cloud Development with Project Shipped and Mantl: a deep dive
Cisco DevNet
 
PPTX
Networking in the cloud: An SDN primer
Midokura
 
PDF
[OpenStack Day in Korea 2015] Keynote 5 - The evolution of OpenStack Networking
OpenStack Korea Community
 
PDF
DC/OS 1.8 Container Networking
Sargun Dhillon
 
An Introduction to Red Hat Enterprise Linux OpenStack Platform
Rhys Oxenham
 
OpenStack in Action 4! Franz Meyer - What Use Case does Red Hat Enterprise ...
eNovance
 
OpenStack 101 update
Kamesh Pemmaraju
 
CERN Data Centre Evolution
Gavin McCance
 
[2015-05월 세미나] Network Bottlenecks Mutiply with NFV Don't Forget Performance ...
OpenStack Korea Community
 
[OpenStack Days Korea 2016] Track1 - Red Hat enterprise Linux OpenStack Platform
OpenStack Korea Community
 
[OpenStack Day in Korea 2015] Keynote 1 - OpenStack Mission Update
OpenStack Korea Community
 
OpenStack Deployment in the Enterprise
Cisco Canada
 
OpenStack Explained: Learn OpenStack architecture and the secret of a success...
Giuseppe Paterno'
 
CAPS: What's best for deploying and managing OpenStack? Chef vs. Ansible vs. ...
Daniel Krook
 
An Evaluation of OpenStack Deployment Frameworks
shane_gibson
 
Cloud Networking is not Virtual Networking - London VMUG 20130425
Greg Ferro
 
RedHat OpenStack Platform Overview
indevlab
 
AWS Summit 2015 Tokyo Breakout: Global Large Scale Cloud Design and Cloud Nat...
fast_retailing
 
State of the Stack v4 - OpenStack in All It's Glory
Randy Bias
 
Openstackoverview-DEC2013
Michael Lessard
 
Introducing Cloud Development with Project Shipped and Mantl: a deep dive
Cisco DevNet
 
Networking in the cloud: An SDN primer
Midokura
 
[OpenStack Day in Korea 2015] Keynote 5 - The evolution of OpenStack Networking
OpenStack Korea Community
 
DC/OS 1.8 Container Networking
Sargun Dhillon
 

Viewers also liked (20)

PDF
OpenStack Architecture
Mirantis
 
PDF
OpenStack Neutron Tutorial
mestery
 
PDF
From Zero to Success: The French Touch
eNovance
 
PPTX
Network Policy Abstractions in OpenStack Neutron
Sumit Naiksatam
 
PPTX
BRKDCT-2445
Rohit Agarwalla
 
PPTX
Agile Networking with OpenStack
openstackcisco
 
PPTX
Introduction to vxlan
Mohammed Umair
 
PPTX
Vxlan frame format and forwarding
Mohammed Umair
 
PPTX
Introduction to openstack
Yaniv Zadka
 
PDF
OpenStack Networking
Ilya Shakhat
 
PDF
Managing and Implementing Network Function Virtualization with Intelligent OSS
Comarch
 
PDF
OpenStack 向けネットワーク入門
Dell TechCenter Japan
 
PPTX
BRKDCT-2445 Agile OpenStack Networking with Cisco Solutions-Cisco Live! US 20...
Rohit Agarwalla
 
PPT
Cumulus networks - Overcoming traditional network limitations with open source
Nat Morris
 
PDF
Configuration & Routing of Clos Networks
Cumulus Networks
 
PPTX
SDN overview 2014
Dave Michels
 
PDF
Self Heal Your OpenStack Control Plane!
Shixiong Shang
 
PPTX
BRKSDN-2115
Rohit Agarwalla
 
PPTX
Morphology of Modern Data Center Networks - YaC 2013
Cumulus Networks
 
PPTX
Building Scalable Data Center Networks
Cumulus Networks
 
OpenStack Architecture
Mirantis
 
OpenStack Neutron Tutorial
mestery
 
From Zero to Success: The French Touch
eNovance
 
Network Policy Abstractions in OpenStack Neutron
Sumit Naiksatam
 
BRKDCT-2445
Rohit Agarwalla
 
Agile Networking with OpenStack
openstackcisco
 
Introduction to vxlan
Mohammed Umair
 
Vxlan frame format and forwarding
Mohammed Umair
 
Introduction to openstack
Yaniv Zadka
 
OpenStack Networking
Ilya Shakhat
 
Managing and Implementing Network Function Virtualization with Intelligent OSS
Comarch
 
OpenStack 向けネットワーク入門
Dell TechCenter Japan
 
BRKDCT-2445 Agile OpenStack Networking with Cisco Solutions-Cisco Live! US 20...
Rohit Agarwalla
 
Cumulus networks - Overcoming traditional network limitations with open source
Nat Morris
 
Configuration & Routing of Clos Networks
Cumulus Networks
 
SDN overview 2014
Dave Michels
 
Self Heal Your OpenStack Control Plane!
Shixiong Shang
 
BRKSDN-2115
Rohit Agarwalla
 
Morphology of Modern Data Center Networks - YaC 2013
Cumulus Networks
 
Building Scalable Data Center Networks
Cumulus Networks
 
Ad

Similar to OpenStack Scale-out Networking Architecture (20)

PDF
Nova net-or-neutron-atlanta2014.pptx
Somik Behera
 
PDF
Open stack networking_101_part-2_tech_deep_dive
yfauser
 
PDF
Open stack networking_101_update_2014-os-meetups
yfauser
 
PPTX
Navigating OpenStack Networking
PLUMgrid
 
PDF
Open stack networking_101_update_2014
yfauser
 
PDF
Openstack Networking and ML2
Szlovencsak Attila
 
PDF
Evolution of Openstack Networking at CERN
Belmiro Moreira
 
PDF
neutron_icehouse_update
Akihiro Motoki
 
PDF
[OpenStack Day in Korea 2015] Track 3-6 - Archiectural Overview of the Open S...
OpenStack Korea Community
 
PPTX
OpenStack Networking and Automation
Adam Johnson
 
PDF
CloudKC: Evolution of Network Virtualization
Cynthia Thomas
 
PPTX
Midokura OpenStack Day Korea Talk: MidoNet Open Source Network Virtualization...
Dan Mihai Dumitriu
 
PPTX
Openstack Overview
rajdeep
 
PPTX
Midokura OpenStack Meetup Taipei
Dan Mihai Dumitriu
 
PPTX
OpenStack Neutron Dragonflow l3 SDNmeetup
Eran Gampel
 
PDF
What's the deal with Neutron?
Cynthia Thomas
 
PDF
Agile OpenStack Networking with Cisco Solutions
Cisco DevNet
 
PDF
Midokura @ OpenStack Seattle
Cynthia Thomas
 
PPTX
Networking in Openstack - Neutron 101
Mochamad Taufik Romdony
 
PDF
Openstack Neutron and SDN
inakipascual
 
Nova net-or-neutron-atlanta2014.pptx
Somik Behera
 
Open stack networking_101_part-2_tech_deep_dive
yfauser
 
Open stack networking_101_update_2014-os-meetups
yfauser
 
Navigating OpenStack Networking
PLUMgrid
 
Open stack networking_101_update_2014
yfauser
 
Openstack Networking and ML2
Szlovencsak Attila
 
Evolution of Openstack Networking at CERN
Belmiro Moreira
 
neutron_icehouse_update
Akihiro Motoki
 
[OpenStack Day in Korea 2015] Track 3-6 - Archiectural Overview of the Open S...
OpenStack Korea Community
 
OpenStack Networking and Automation
Adam Johnson
 
CloudKC: Evolution of Network Virtualization
Cynthia Thomas
 
Midokura OpenStack Day Korea Talk: MidoNet Open Source Network Virtualization...
Dan Mihai Dumitriu
 
Openstack Overview
rajdeep
 
Midokura OpenStack Meetup Taipei
Dan Mihai Dumitriu
 
OpenStack Neutron Dragonflow l3 SDNmeetup
Eran Gampel
 
What's the deal with Neutron?
Cynthia Thomas
 
Agile OpenStack Networking with Cisco Solutions
Cisco DevNet
 
Midokura @ OpenStack Seattle
Cynthia Thomas
 
Networking in Openstack - Neutron 101
Mochamad Taufik Romdony
 
Openstack Neutron and SDN
inakipascual
 
Ad

More from Randy Bias (20)

PDF
Services are the New Cloud Platform (Services-as-a-Platform)
Randy Bias
 
PDF
Rebooting the OpenContrail Community
Randy Bias
 
PDF
The History of Pets vs. Cattle ... And Using It Properly
Randy Bias
 
PDF
Connect Expo 2015 - Australia - Bringing OpenStack into the Enterprise
Randy Bias
 
PDF
The Cloud Revolution - Philippines Cloud Summit
Randy Bias
 
PDF
The Lie of a Benevolent Dictator; the Truth of a Working Democratic Meritocracy
Randy Bias
 
PDF
OpenStack Architected Like AWS (and GCP)
Randy Bias
 
PDF
Pets vs. Cattle: The Elastic Cloud Story
Randy Bias
 
PDF
SFBay OpenStack Meetup // Neutron and SDN in Production – Dec 3 2013
Randy Bias
 
PDF
AWS Repatriation: Bring Your Apps Back
Randy Bias
 
PDF
State of the Stack v2
Randy Bias
 
PDF
Networking is NOT Free: Lessons in Network Design
Randy Bias
 
PDF
Scale-Out Block Storage
Randy Bias
 
PDF
State of the Stack April 2013
Randy Bias
 
PDF
Open Cloud System Networking Vision
Randy Bias
 
PDF
OpenStack Summit :: Redundancy Doesn't Always Mean "HA" or "Cluster"
Randy Bias
 
PDF
OpenStack Summit :: Profiling the Nova Scheduler
Randy Bias
 
PDF
OpenStack Summit :: Pimp My Cloud
Randy Bias
 
PDF
2012 open storage summit keynote
Randy Bias
 
PDF
Distributed RPC in Nova with ZeroMQ
Randy Bias
 
Services are the New Cloud Platform (Services-as-a-Platform)
Randy Bias
 
Rebooting the OpenContrail Community
Randy Bias
 
The History of Pets vs. Cattle ... And Using It Properly
Randy Bias
 
Connect Expo 2015 - Australia - Bringing OpenStack into the Enterprise
Randy Bias
 
The Cloud Revolution - Philippines Cloud Summit
Randy Bias
 
The Lie of a Benevolent Dictator; the Truth of a Working Democratic Meritocracy
Randy Bias
 
OpenStack Architected Like AWS (and GCP)
Randy Bias
 
Pets vs. Cattle: The Elastic Cloud Story
Randy Bias
 
SFBay OpenStack Meetup // Neutron and SDN in Production – Dec 3 2013
Randy Bias
 
AWS Repatriation: Bring Your Apps Back
Randy Bias
 
State of the Stack v2
Randy Bias
 
Networking is NOT Free: Lessons in Network Design
Randy Bias
 
Scale-Out Block Storage
Randy Bias
 
State of the Stack April 2013
Randy Bias
 
Open Cloud System Networking Vision
Randy Bias
 
OpenStack Summit :: Redundancy Doesn't Always Mean "HA" or "Cluster"
Randy Bias
 
OpenStack Summit :: Profiling the Nova Scheduler
Randy Bias
 
OpenStack Summit :: Pimp My Cloud
Randy Bias
 
2012 open storage summit keynote
Randy Bias
 
Distributed RPC in Nova with ZeroMQ
Randy Bias
 

Recently uploaded (20)

PDF
Achieving Consistent and Reliable AI Code Generation - Medusa AI
medusaaico
 
PDF
July Patch Tuesday
Ivanti
 
PDF
CIFDAQ Market Wrap for the week of 4th July 2025
CIFDAQ
 
PDF
Staying Human in a Machine- Accelerated World
Catalin Jora
 
PPTX
AUTOMATION AND ROBOTICS IN PHARMA INDUSTRY.pptx
sameeraaabegumm
 
PDF
CIFDAQ Market Insights for July 7th 2025
CIFDAQ
 
PDF
Agentic AI lifecycle for Enterprise Hyper-Automation
Debmalya Biswas
 
PDF
Transforming Utility Networks: Large-scale Data Migrations with FME
Safe Software
 
PPTX
The Project Compass - GDG on Campus MSIT
dscmsitkol
 
PDF
POV_ Why Enterprises Need to Find Value in ZERO.pdf
darshakparmar
 
PDF
How Startups Are Growing Faster with App Developers in Australia.pdf
India App Developer
 
PPTX
OpenID AuthZEN - Analyst Briefing July 2025
David Brossard
 
PDF
Smart Trailers 2025 Update with History and Overview
Paul Menig
 
PPTX
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
PDF
Transcript: New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
PDF
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
PDF
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
PDF
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
PDF
Using FME to Develop Self-Service CAD Applications for a Major UK Police Force
Safe Software
 
PDF
Biography of Daniel Podor.pdf
Daniel Podor
 
Achieving Consistent and Reliable AI Code Generation - Medusa AI
medusaaico
 
July Patch Tuesday
Ivanti
 
CIFDAQ Market Wrap for the week of 4th July 2025
CIFDAQ
 
Staying Human in a Machine- Accelerated World
Catalin Jora
 
AUTOMATION AND ROBOTICS IN PHARMA INDUSTRY.pptx
sameeraaabegumm
 
CIFDAQ Market Insights for July 7th 2025
CIFDAQ
 
Agentic AI lifecycle for Enterprise Hyper-Automation
Debmalya Biswas
 
Transforming Utility Networks: Large-scale Data Migrations with FME
Safe Software
 
The Project Compass - GDG on Campus MSIT
dscmsitkol
 
POV_ Why Enterprises Need to Find Value in ZERO.pdf
darshakparmar
 
How Startups Are Growing Faster with App Developers in Australia.pdf
India App Developer
 
OpenID AuthZEN - Analyst Briefing July 2025
David Brossard
 
Smart Trailers 2025 Update with History and Overview
Paul Menig
 
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
Transcript: New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
Using FME to Develop Self-Service CAD Applications for a Major UK Police Force
Safe Software
 
Biography of Daniel Podor.pdf
Daniel Podor
 

OpenStack Scale-out Networking Architecture

  • 1. CCA - NoDerivs 3.0 Unported License - Usage OK, no modifications, full attribution*! * All unlicensed or borrowed works retain their original licenses OpenStack Scale-out 
 Networking Architecture Abhishek Chanda, Software Engineer! OpenStack Juno Design Summit! May 13th, 2014 Scaling to 1,000+ servers without Neutron! @rony358
  • 2. Abhishek Chanda •Engineer at Cloudscaling! •Started with a focus on software defined networking and distributed systems! • Ended up as jack of all trades!! • Still bad at configuring network devices! 2
  • 3. Today’s Goals 3 • Our Layer-3 (L3) network architecture! • Motivation! • Design goals! • Network topology! • Software components layout! • Under the hood! • Challenges Faced! • Future Directions (SDN, Neutron etc.)
  • 4. Networking Modes 
 in Vanilla OpenStack using nova-network
  • 5. OpenStack Networking Options 5 Single-Host" OpenStack Networking
 Multi-Host" OpenStack Networking
 Flat 
 OpenStack Networking OCS " Classic
 Networking OCS " VPC 
 Networking Scalability" & Control 0 1 2 4 4 Reference Network " Architecture Layer-2 VLANs w/ STP Layer-2 VLANs w/ STP Layer-2 VLANs w/ STP L3 Spine & Leaf + scale-out NAT L3 Spine & Leaf Underlay + network virtualization Design Pattern Centralized network stack Decentralized network stack Centralized network stack Fully Distributed Fully Distributed Core 
 Design 
 Flaw All traffic through a single x86 server NAT at Hypervisor; 802.1q tagging All traffic through a single x86 server Requires deeper networking savvy More bleeding edge (scale not proven) Issues SPOF; Performance bottleneck; 
 No SDN Security & 
 QoS issues; 
 No SDN No control plane scalability; No SDN No virtual networks No VLAN support
  • 6. Neutron Router nova-network Option 1 - OpenStack Single-Host 6 VLAN VLAN VLAN VLAN VLAN VLAN All traffic through centralized bottleneck and 
 single point of failure Performance bottleneck; non-standard networking arch.
  • 7. Option 2 - OpenStack Multi-Host 7 Core Network Hypervisor nova-network Public
 IPs Private
 IPsNAT Separate NICs cut available bandwidth by 50% Direct database access increases risk NAT at hypervisor means routing protocols to hypervisor or VLANs + STP across racks for gratuitous ARP Must route Public IPs across core Security problem; non-standard networking arch.
  • 8. Option 3 - OpenStack Flat 8 Networking scalability, but no control plane scalability Uses ethernet adapters configured as bridges to allow network traffic between nodes! ! Commonly used in POC and development environments nova-network nova-scheduler nova-api nova-compute Controller Compute your local network IP address space (eth1) (eth1) 10.0.0.0/8 br100
 (eth0) br100
 (eth0)
  • 9. What Path Have Others Chosen? •HP, CERN, ANL and others! •CERN uses a custom driver which talks to a DB that maps IP to MAC addresses (amongst other attributes)! • Essentially flat with manually created VLANs assigned to specific compute nodes! •ANL added InfiniBand and VxLAN support to nova-network 9
  • 11. Design Goals • Mimic Amazon EC2 “classic” networking! • Pure L3 is blazing fast and well understood! • Network/systems folks can troubleshoot easily! • No VLANs, no Spanning Tree Protocol (STP), no L2 mess! • No SPOFs, smaller failure domains! • E.g. single_host & flat mode! • Distributed “scale-out” DHCP! • No virtual routers!! • Path is vm->host->ToR->core 11 This enables a horizontally scalable stateless 
 NAT layer that provides floating IPs
  • 12. Layer 3 (L3) Networks Scale 12 Largest cloud operators are L3 with NO VLANs Cloud-ready apps don’t need or want VLANs (L2) An L3 networking model is ideal underlay for SDN overlay The Internet Scales!
  • 13. Why NOT L2? 13 L3 L2 Hierarchical topology Flat topology Route aggregation No route aggregation / everything everywhere Fast convergence times Fast convergence times only when tuned properly Locality matters Locality disappears Use all available bandwidth 
 (via ECMP) using multiple paths Uses half of available bandwidth 
 and most traffic takes a long route Proven scale STP/VLANs work at small to medium scale only The Internet (& ISPs) are L3 oriented Typical enterprise datacenter is L2 oriented Best practice for SDN “underlay” SDN “overlay” designed to provide L2 virt. nets
  • 14. Smaller Failure Domains 14 Would you rather have the whole cloud down ! or just a small bit of it for a short time? vs
  • 17. Software Components Schematic Layout 17 Software! Components Hardware! Components • Nova Network is distributed & synchronized! • Means we can have 
 many running at once) ! • This drives horizontal 
 network scalability 
 by adding more 
 network managers Zone Node nova-
 network Compute Node ToR Core Network nova-! db ToR
  • 18. Software Components Schematic Layout 18 Software! Components Hardware! Components • VIF driver on each compute node! • Bridge creation on each vm (/30)! • Enhanced iptables rules! • Per vm udhcpd process! • Configures routing Zone Node nova-! network Compute Node ToR Core Network nova-! db VM DHCP 
 Server VIF! Driver ToR
  • 19. Software Components Schematic Layout 19 Software! Components Hardware! Components • NAT service on the edge! • Provides on demand 
 elastic IP service Zone Node nova-! network Compute Node ToR Natter Core Network Edge Network nova-! db VM DHCP 
 Server VIF! Driver ToR Provides utilities to create a number of /30 networks per host and pin them to host (l3addnet)
  • 20. Under the Hood: Natter 20 Zone 
 Node nova-db Natter Core Network Edge Network Connection Control Plane Data 1 Polls nova-db for new
 <floating_ip, private_ip> tuples 2 Use tc to install 1:1 NAT! rules in eth0 (eth1) (eth0)
  • 21. Under the Hood: Natter 21
  • 22. 22 Under the Hood: VIF Driver and Nova-Network Zone! Node ToR nova- network Compute 
 Node ToR VIF! Driver Core Network Natter VM Provisioning" 1) VIF: Build linux bridge! 2) NM: Get host! 3) NM: Get all available networks for host! 4) NM: Find first unused network for the host! 5) VIF: Create a VIF! 6) VIF: Sets up and starts udhcpd on host per VM
 MAC is calculated based on the IP! 7) VIF: Creates a /30 network for the VM, assigns
 one address to the bridge, one to the VM! 8) VIF: Adds routes to enable VM to gateway traffic! 9) VIF: Adds iptables rules to enable blocked ! networks and whitelisted hosts! ! VM Decommissioning" 1) VIF: Stop udhcpd for the bridge the VM is 
 attached to and remove config! 2) NM: Delete all IPs in all VIFs! 3) NM: Cleanup linux bridge! 4) NM: Cleanup all /30 networks!
  • 23. Under the Hood: l3addnet 23 Used by cloud admins to pin networks to hosts! Wrapper around nova-manage network create ! • Breaks down the input CIDR into /30 blocks! • Loops through each block and calls the nova- manage API to create a network on that compute host [email protected]:~# l3addnet
 Usage: l3addnet cidr host01 dns1 dns2 [email protected]:~# l3addnet 10.50.0.0/24 10.18.1.12 8.8.8.8 8.8.4.4
  • 24. Network Driver Challenges • OpenStack releases are moving targets! • Plugin interfaces change! • Library dependencies change! • Database API not rich/efficient enough! • Straight to SQL to get what we needed! • nova-network supposed to be deprecated?! • First in Folsom or Grizzly? Then Havana??! • Have to figure out our Neutron strategy 24
  • 25. Why Not Neutron Now? •Created in Diablo timeframe ! •Neutron still not stable! • API changes and interfaces are actively hostile! • No multi-host support! • Complicated, non-intuitive maintenance procedures! • Not all plugins are equally stable! • many are outright buggy 25
  • 26. SDN in OCS • OpenContrail only one to meet our rqmts! • OCS ref network arch ideal “underlay”! • SDN underlays usually are spine and leaf! • L3 routing does not interfere with supporting encapsulation or tunneling protocols! • Customers can choose network model! • VPC or L3 26 A large customer who wants to seamlessly support autoscaling for its tenants is a perfect use-case for VPC
  • 27. Example Packet Path - L3* 27 Edge Routers! (“egress”) Core Routers! (“spine”) ToR Switches! (“leaf”) VMs Router (L3) Switch (L2) Ethernet 
 Domain ! IP Traffic ! Encapsulated
 Traffic (L3oL3) Internet Linux Bridge
 on compute node * natters not shown for simplicity purposes!
  • 28. Example Packet Path 28 Edge Routers! (“egress”) Core Routers! (“spine”) ToR Switches! (“leaf”) VMs Router (L3) Switch (L2) Ethernet 
 Domain ! IP Traffic ! Encapsulated
 Traffic (L3oL3) Internet Virtual Network Virtual Network Layer 3 
 Physical Network Network 
 Virtualization Layer 3 
 Virtual Networks
 for Customers 
 & Apps Abstraction vRouter/vSW
  • 29. Future Directions • OCS L3 networking migrates to Neutron! • As networking plugin (beyond nova-network replacement)! • OCS VPC w/ more advanced SDN capabilities! • NFV combined with Service Chaining for Carriers! • Support existing physical network assets with Service Chaining 29