SlideShare a Scribd company logo
LINEʼs OpenStack
Networking Challenge
LINE Fukuoka
Developer Meetup#32
⾃⼰紹介
⻄脇 雄基
LINE 株式会社
インフラプラットフォーム室
Verda2 Team
Yuki Nishiwaki
Whatʼs Verda
ALL	OpenStack	based	Private	Cloud	
For	Development	Environment	 For	Production	Environment	
Released(2016) Released(2017)
OpenStack we are using
Nova	 Neutron
Glance
Keystone Designate
Poppy
Todayʼs Topic
Nova	 Neutron
Glance
Keystone Designate
Poppy
• New	Mechanism	Driver	
• New	Type	Driver
• New	Custom	Agent
Verda Regions
RegionOne RegionOne
Shared	VLAN	Network
RegionOne RegionOne RegionTwo
New Region coming with Custom Network Plugin
Routed	Network(Custom)	Shared	VLAN	Network
*	Only	Shared	Network	
*	No	overlay	network
*	No	L3	function	in	OpenStack
*	2	type	of	network	should	be	prepared	public/private
=>	VLAN	Type
*	Divide	Failure	Domain(L2	Network)	by	reasonable	unit
=>	private	network	per	Rack(ToR)
=>	public	network	per	Aggregation	Switch	
Review: Previous OpenStack Deployment
Rack	X
Rack	X+1 Compute
Node
Compute
Node
Review: Previous OpenStack Deployment
Controller
Node
Network
NodeCompute
Node nova-XXXX
glance-XXXX
neutron-server
Outside	OpenStack
nova-compute
linuxbridge-agent
dhcp-agent
metadata-agent
VM1 VM2
dnsmasqdnsmasq
dnsmasqns-metadata-proxy
VLAN	100(net1)
VLAN	101(net2)
eth0
eth0.100
eth0.101
eth0.100
eth0.101
eth0
bridge
bridge
bridge
bridge
TOR
Core
Aggregation
Review: Previous Datacenter Network
ToR
Aggregation
ToR
Server
Server
Server
Server
Server
Server
Server
Server
Aggregation
ToR
Server
Server
Server
Server
Core
Aggregation
OSPF	ECMP
MC-LAG
Bonding	
(Active-Backup)
Link	Redundancy	Method	
L2	
L3
TOR
Core
Aggregation
Review: Previous Datacenter Network
ToR
Aggregation
ToR
Server
Server
Server
Server
Server
Server
Server
Server
Aggregation
ToR
Server
Server
Server
Server
Core
Aggregation
OSPF	ECMP
MC-LAG
Bonding	
(Active-Backup)
Link	Redundancy	Method	
L2	
L3	
New	
Region?
TOR
Core
Aggregation
Review: Previous Datacenter Network
TOR
Aggregation
TOR
Server
Server
Server
Server
Server
Server
Server
Server
Aggregation
TOR
Server
Server
Server
Server
Core
Aggregation
OSPF	ECMP
MC-LAG
Bonding	
(Active-Backup)
Link	Redundancy	Method	
L2	
L3	
*	Weak	for	traffic	between	ToR (East-West)
=>	Only	42%	bandwidth	ensured	between	ToR
*	Need	VM	Scheduling	Consideration	
=>	Schedule	VM	having	heavy	traffic	between	VMs	to	same	Rack
AggregationAggregation
ToR
Core
Aggregation
Horizontally scalable DC network architecture
ToR
Aggregation
Server
Server
Server
Server
Core
AggregationAggregationAggregationAggregation
ToR ToR
Server
Server
Server
Server
M
M	>	N
Core Core Core
N
Cluster
........
EBGP	ECMP
L3	
Link	Redundancy	Method	
New NewNewNew
Add	more	uplinks
L3	EBGP	ECMP
AggregationAggregation
TOR
Core
Aggregation
Horizontally scalable DC network architecture
TOR
Aggregation
Server
Server
Server
Server
Core
AggregationAggregationAggregationAggregation
TOR TOR
Server
Server
Server
Server
M
M	>	N
Core Core Core
N
Cluster
........
EBGP	ECMP
L3	
Link	Redundancy	Method	
New NewNewNew
Add	more	uplinks
L3	EBGP	ECMP
It’s	common	approach	up	to	here
New Architecture bring L3 routing downstream
ToR
Aggregation
Core
OSPF	ECMP(L3)
MC-LAG(L2)
Hypervisor
Act/Backup	
Bonding(L2)	
VM
ToR
Aggregation
Core
EBGP	ECMP(L3)
EBGP	ECMP(L3)
Hypervisor
VM
Linuxbridge
(VLAN	termination)
Linuxbridge?
(VLAN	termination)
Act/Backup	
Bonding(L2)?	
L3	->	L3
L2	->	L3
L2	->	L2?
New Architecture bring L3 routing downstream
ToR
Aggregation
Core
OSPF	ECMP(L3)
MC-LAG(L2)
Hypervisor
Act/Backup	
Bonding(L2)	
VM
ToR
Aggregation
Core
EBGP	ECMP(L3)
EBGP	ECMP(L3)
Hypervisor
VM
Linuxbridge
(VLAN	termination)
Linuxbridge?
(VLAN	termination)
Act/Backup	
Bonding(L2)?	
L3	->	L3
L2	->	L3
L2	->	L2?
Use Bonding between TOR and Hypervisor?
ToR
Aggregation
Core
OSPF	ECMP(L3)
MC-LAG(L2)
Hypervisor
VM
ToR
Aggregation
Core
EBGP	ECMP(L3)
EBGP	ECMP(L3)
Hypervisor
VM
Linuxbridge
(VLAN	termination)
Linuxbridge
(VLAN	termination)
*	ToR maintenance	cause	Down	Time
*	Un-portable	IP
*	Cost	of	complexity	in
managing	multiple	network	protocols
Act/Backup	
Bonding(L2)	
Act/Backup	
Bonding(L2)?
Use BGP even between TOR and Hypervisor
TOR
Aggregation
Core
OSPF	ECMP(L3)
MC-LAG(L2)
Hypervisor
MC-LAG(L2)
VM
TOR
Aggregation
Core
EBGP	ECMP(L3)
EBGP	ECMP(L3)
Hypervisor
VM
Linuxbridge
(VLAN	termination)
Linuxbridge
(VLAN	termination)
*	ToR Zero	downtime	maintenance
*	Portable	IP
*	ALL	redundancy	implemented	by	BGP
EBGP	(L3)
Act/Backup	
Bonding(L2)?
Hypervisor terminate L2 domain, then...
TOR
Aggregation
Core
OSPF	ECMP(L3)
MC-LAG(L2)
Hypervisor
MC-LAG(L2)
VM
ToR
Aggregation
Core
EBGP	ECMP(L3)
EBGP	ECMP(L3)
Hypervisor
VM
Linuxbridge
(VLAN	termination)
EBGP	(L3)
Linuxbridge?
(VLAN	termination)
If	we	still	use	linuxbridge	
with	vlan	termination,	
we	have	to	allocate	vlan	
id	for	each	Hypervisor.....
Use Overlay over L3?
TOR
Aggregation
Core
OSPF	ECMP(L3)
MC-LAG(L2)
Hypervisor
MC-LAG(L2)
VM
TOR
Aggregation
Core
EBGP	ECMP(L3)
EBGP	ECMP(L3)
Hypervisor
VM
Linuxbridge
(VLAN	termination)
Overlay	over	L3?
(VXLAN,	GRE..)	
EBGP	(L3)
*	Encapsulating	performance	overhead
*	Increase	complexity
- Mediate	between	VM	network	to	outside	
- Network	Node?
- Each	Compute	Node	via	BGP?
Use routing making VM connected to world outside
TOR
Aggregation
Core
OSPF	ECMP(L3)
MC-LAG(L2)
Hypervisor
MC-LAG(L2)
VM
TOR
Aggregation
Core
EBGP	ECMP(L3)
EBGP	ECMP(L3)
Hypervisor
VM
Linuxbridge
(VLAN	termination)
Overlay	over	L3?
(VXLAN,	GRE..)	
EBGP	(L3)
Static	Routing
&	BGP
Don’t	need	encapsulate
No	Overlay	Network
No	Network	Node	(L3	bottleneck)
Each	Compute	Node	join	BGP	Network
Use routing making VM connected to world outside
ToR
Aggregation
Core
OSPF	ECMP(L3)
MC-LAG(L2)
Hypervisor
MC-LAG(L2)
VM
ToR
Aggregation
Core
EBGP	ECMP(L3)
EBGP	ECMP(L3)
Hypervisor
VM
Linuxbridge
(VLAN	termination)
EBGP	(L3)
Static	Routing(L3)
Neutron doesnʼt support such a use case
ToR ToR
Server1
BGP
VM1 VM2 VM3
192.168.0.2/32	for	VM1
192.168.0.3/32	for	VM2
192.168.0.4/32	for	VM3
192.168.0.2/32
Next	Hop	=	Server1
L2 Isolate Plugin for L3 only datacenter
core_plugin
LBaaS FWaaS ML2
Type	Driver Mechanism	Driver
VLANFlat Linuxbridge OVS
OctaviaHaproxy
Server	Side
Agent	Side
OVS	AgentLinuxbridge	Agent
L3	Agent
L2	Agent
Metadata	AgentDHCP	Agent
LBaaS	Agent ML2	Related	Agent
Define	new	type	of	network	represents	all	
end-device	connected	via	L3
Implement	logic	to	achieve	above	type	of	
network	
Implement	agent	working	with	new	
mechanism	driver
Can	not	reuse	existing	agent	expecting
network	entity	to	be	L2	network	
Type	Driver
Mechanism	Driver
L2	Agent
ML2	Related	Agent
....
Compute
Node
Controller
Node
Network
NodeCompute
Node
Compute
Node
nova-compute
linuxbridge-agent
dhcp-agent
metadata-agent
nova-XXXX
glance-XXXX
neutron-server
VM1
dnsmasq
ns-metadata-proxy
Compute
Node Controller
Node
Network
Node
Compute
Node
Compute
Node
nova-compute
L2isolate-agent
metadata-agent
nova-XXXX
glance-XXXX
neutron-server
VM1
dnsmasq
ns-metadata-proxy
VM2
VM2
Dynamically	provisioned
Pre-provisioned	
(neutron	related)
Pre-provisioned
(other	component)
L2	isolate	Plugin
Common
Deployment dramatically changed
spawn	but	just	1	process	for	a	node
Implementation detail in Next OpenStack Summit
https://www.openstack.org/summit/vancouver-2018/summit-schedule/events/21113/excitingly-simple-
multi-path-openstack-networking-lag-less-l2-less-yet-fully-redundant
What this architecture/l2isolate plugin bring?
*	Average	throughput	of	VM	– VM	traffic	over	ToR quite	improved
=>	Improved	uplink	bandwidth	of	ToR (Clos	Network)
=>	No	encapsulating	overhead		for	VM	Network		(L2	isolate	Plugin)
*	No	need	to	take	care	VM	scheduling	for	east-west	traffic
*	Zero	downtime	for	ToR maintenance
*	Portable	IP	(Live	migration	everywhere)
*	No	Network	Node	bottleneck	(dhcp,	metadata-proxy	is	distributed)
Future Works
*	L3	forwarding	offload	(Hypervisor)
=>	No	bottleneck	outside	Hypervisor,	
=>	Software	L3	forwarding	on Hypervisor	will	be	next	bottleneck	
*	Support	overlay	network	in	addition	to	routed	network
=>	Come	up	with	some	security	requirements	need	network	separation
=>	How	two	network	models	co-exists	in	OpenStack	Networking	
*	Make	this	plugin	OSS	(talk	in	next	OpenStack	Summit)

More Related Content

PDF
在 LINE 私有雲中使用 Managed Kubernetes
PDF
LINE's Private Cloud - Meet Cloud Native World
PDF
Let’s unbox Rancher 2.0 <v2.0.0>
PDF
Rancher 2.0 Technical Deep Dive
PDF
Rancher 2.x first step before deep dive
PDF
Deep dive into Kubernetes Networking
PDF
Kubernetes Powered Docker for Mac Platform
PPTX
Openstack Overview
在 LINE 私有雲中使用 Managed Kubernetes
LINE's Private Cloud - Meet Cloud Native World
Let’s unbox Rancher 2.0 <v2.0.0>
Rancher 2.0 Technical Deep Dive
Rancher 2.x first step before deep dive
Deep dive into Kubernetes Networking
Kubernetes Powered Docker for Mac Platform
Openstack Overview

What's hot (20)

PDF
Continuous Delivery the hard way with Kubernetes
PDF
OpenStack Neutron Liberty Updates
PDF
Openstack architecture for the enterprise (Openstack Ireland Meet-up)
PDF
MidoNet deep dive
PDF
OpenStack Neutron Havana Overview - Oct 2013
PDF
Top 3 reasons why you should run your Enterprise workloads on GKE
PDF
Container World 2017 - Characterizing and Contrasting Container Orchestrators
PDF
Project kuryr returns: Docker delivered, Kubernetes Next
PPTX
OpenStack Neutron's Distributed Virtual Router
PPTX
K8s in 3h - Kubernetes Fundamentals Training
PDF
What's rancher v2.1.0 JA
PPTX
Modular Layer 2 In OpenStack Neutron
PDF
Orchestrating Microservices with Kubernetes
PDF
Build and Deploy Cloud Native Camel Quarkus routes with Tekton and Knative
PDF
Running and Managing Kubernetes on OpenStack
PDF
Everything you want to know about Ingress
PDF
Running and Scaling Symfony app in container(s)
ODP
Network services on Kubernetes on premise
PDF
Native Kubernetes support on Docker Platform
PDF
Kubernetes - A Rising Hero
Continuous Delivery the hard way with Kubernetes
OpenStack Neutron Liberty Updates
Openstack architecture for the enterprise (Openstack Ireland Meet-up)
MidoNet deep dive
OpenStack Neutron Havana Overview - Oct 2013
Top 3 reasons why you should run your Enterprise workloads on GKE
Container World 2017 - Characterizing and Contrasting Container Orchestrators
Project kuryr returns: Docker delivered, Kubernetes Next
OpenStack Neutron's Distributed Virtual Router
K8s in 3h - Kubernetes Fundamentals Training
What's rancher v2.1.0 JA
Modular Layer 2 In OpenStack Neutron
Orchestrating Microservices with Kubernetes
Build and Deploy Cloud Native Camel Quarkus routes with Tekton and Knative
Running and Managing Kubernetes on OpenStack
Everything you want to know about Ingress
Running and Scaling Symfony app in container(s)
Network services on Kubernetes on premise
Native Kubernetes support on Docker Platform
Kubernetes - A Rising Hero
Ad

Similar to LINEʼs OpenStack Networking Challenge (20)

PDF
Open stack networking_101_update_2014
PPTX
Networking in Openstack - Neutron 101
PDF
neutron_icehouse_update
PPTX
Openstack days taiwan 2016 0712
PDF
OpenStack cloud for ConoHa, Z.com and GMO AppsCloud in okinawa opendays 2015 ...
PDF
Mastering OpenStack - Episode 02 - Simple Architectures
PPTX
GMOインターネット様 発表「OpenStackのモデルの最適化とConoHa, Z.comとGMOアプリクラウドへの適用」 - OpenStack最新情...
PDF
Quantum - Virtual networks for Openstack
PDF
Mastering OpenStack - Episode 14 - Network Design
PDF
Open Networking for Your OpenStack
PDF
Open stack wtf_(1)
PDF
Yechielthur1100red hat-cloud-infrastructure-networking-deep-dive-140417165107...
PDF
ONUG Tutorial: Bridges and Tunnels Drive Through OpenStack Networking
PPTX
PSOCLD-1006 Cisco Cloud Architectures on OpenStack - Cisco Live! US 2015 San ...
PDF
OpenStack Neutron Tutorial
PDF
Openstack Neutron and SDN
PDF
OpenStack Astara
PDF
Nvp deep dive_session_cee-day
PPTX
Scaling OpenStack Networking Beyond 4000 Nodes with Dragonflow - Eshed Gal-Or...
PDF
OpenStack Neutron Advanced Services by Akanda
Open stack networking_101_update_2014
Networking in Openstack - Neutron 101
neutron_icehouse_update
Openstack days taiwan 2016 0712
OpenStack cloud for ConoHa, Z.com and GMO AppsCloud in okinawa opendays 2015 ...
Mastering OpenStack - Episode 02 - Simple Architectures
GMOインターネット様 発表「OpenStackのモデルの最適化とConoHa, Z.comとGMOアプリクラウドへの適用」 - OpenStack最新情...
Quantum - Virtual networks for Openstack
Mastering OpenStack - Episode 14 - Network Design
Open Networking for Your OpenStack
Open stack wtf_(1)
Yechielthur1100red hat-cloud-infrastructure-networking-deep-dive-140417165107...
ONUG Tutorial: Bridges and Tunnels Drive Through OpenStack Networking
PSOCLD-1006 Cisco Cloud Architectures on OpenStack - Cisco Live! US 2015 San ...
OpenStack Neutron Tutorial
Openstack Neutron and SDN
OpenStack Astara
Nvp deep dive_session_cee-day
Scaling OpenStack Networking Beyond 4000 Nodes with Dragonflow - Eshed Gal-Or...
OpenStack Neutron Advanced Services by Akanda
Ad

More from LINE Corporation (20)

PDF
JJUG CCC 2018 Fall 懇親会LT
PDF
Reduce dependency on Rx with Kotlin Coroutines
PDF
Kotlin/NativeでAndroidのNativeメソッドを実装してみた
PDF
Use Kotlin scripts and Clova SDK to build your Clova extension
PDF
The Magic of LINE 購物 Testing
PPTX
GA Test Automation
PDF
UI Automation Test with JUnit5
PDF
Feature Detection for UI Testing
PDF
LINE 新星計劃介紹與新創團隊分享
PDF
​LINE 技術合作夥伴與應用分享
PDF
LINE 開發者社群經營與技術推廣
PDF
日本開發者大會短講分享
PDF
LINE Chatbot - 活動報名報到設計分享
PDF
LINE TODAY高效率的敏捷測試開發技巧
PDF
LINE 區塊鏈平台及代幣經濟 - LINK Chain及LINK介紹
PDF
LINE Things - LINE IoT平台新技術分享
PDF
LINE Pay - 一卡通支付新體驗
PDF
LINE Platform API Update - 打造一個更好的Chatbot服務
PDF
Keynote - ​LINE 的技術策略佈局與跨國產品開發
PDF
LINE Ads Platformの開発を支えるKafka
JJUG CCC 2018 Fall 懇親会LT
Reduce dependency on Rx with Kotlin Coroutines
Kotlin/NativeでAndroidのNativeメソッドを実装してみた
Use Kotlin scripts and Clova SDK to build your Clova extension
The Magic of LINE 購物 Testing
GA Test Automation
UI Automation Test with JUnit5
Feature Detection for UI Testing
LINE 新星計劃介紹與新創團隊分享
​LINE 技術合作夥伴與應用分享
LINE 開發者社群經營與技術推廣
日本開發者大會短講分享
LINE Chatbot - 活動報名報到設計分享
LINE TODAY高效率的敏捷測試開發技巧
LINE 區塊鏈平台及代幣經濟 - LINK Chain及LINK介紹
LINE Things - LINE IoT平台新技術分享
LINE Pay - 一卡通支付新體驗
LINE Platform API Update - 打造一個更好的Chatbot服務
Keynote - ​LINE 的技術策略佈局與跨國產品開發
LINE Ads Platformの開発を支えるKafka

Recently uploaded (20)

PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PPTX
Programs and apps: productivity, graphics, security and other tools
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
Encapsulation theory and applications.pdf
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PPTX
Big Data Technologies - Introduction.pptx
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
cuic standard and advanced reporting.pdf
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PPTX
Spectroscopy.pptx food analysis technology
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PPTX
MYSQL Presentation for SQL database connectivity
PDF
Approach and Philosophy of On baking technology
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Programs and apps: productivity, graphics, security and other tools
Understanding_Digital_Forensics_Presentation.pptx
Advanced methodologies resolving dimensionality complications for autism neur...
Encapsulation theory and applications.pdf
Reach Out and Touch Someone: Haptics and Empathic Computing
Big Data Technologies - Introduction.pptx
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
cuic standard and advanced reporting.pdf
“AI and Expert System Decision Support & Business Intelligence Systems”
20250228 LYD VKU AI Blended-Learning.pptx
Spectroscopy.pptx food analysis technology
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Network Security Unit 5.pdf for BCA BBA.
The Rise and Fall of 3GPP – Time for a Sabbatical?
Diabetes mellitus diagnosis method based random forest with bat algorithm
MYSQL Presentation for SQL database connectivity
Approach and Philosophy of On baking technology

LINEʼs OpenStack Networking Challenge