SlideShare a Scribd company logo
Optimizing NFV Service Chains
on OpenStack using Docker
Meenakshi Sundaram Lakshmanan, Rahul Krishna Upadhyaya,
CB Ananth Padmanabhan, Satya Routray.
26 Apr 2016
Docker – What is it ?
Docker containers wrap up a piece of software in a complete filesystem that contains everything it needs to run: code,
runtime, system tools, system libraries – anything you can install on a server. This guarantees that it will always run the same,
regardless of the environment it is running in.
Docker Instance vs Virtual Machine
• Better utilization of resources, hence higher density of workloads.
• Hyper-call overhead is reduced since there is no hypervisor layer. With SR-IOV/DPDK near
metal perf
• Faster provisioning and easier Devops, easy to replicate, share.
Advantages
Challenges
• Docker had issues with mutli-host networking. Solved using overlay since Docker
Version 1.9.
• Docker has security related challenges. VM generally termed as more secure given the
isolation.
• Performance of network functions. Many of which have been addressed with DPDK/SR-
IOV with some trade-offs
Docker Instance vs Virtual Machine
• They are network appliances other than switches and routers.
• Deployed for increasing security and performance
• Very effective solution for ServiceAssurance, Traffic Analysis, Traffic filtering
etc.,
Drawbacks
• Hardware middle boxes are difficult to manage
• Difficult to scale on demand
• Virtual middle boxes (NFV) need an orchestrator to provision them
• In a public cloud environment, placement of virtual components may not be
always under control
Middle Boxes
SDN (Software Defined Networking) :
It is an approach to computer networking that allows network administrators to manage
network services through abstraction of higher-level functionality.
NFV (Network Function Virtualization) :
It is a network architecture concept that uses the technologies of IT virtualization to virtualize
entire classes of network node functions into building blocks that may connect, or chain
together, to create communication services.
SFC (Service Function Chaining) :
It consists of a set of network functions, such as firewalls or application delivery controllers
(ADCs) that are interconnected through the network to support an application.
SDN, NFV and SFC
• SDN and NFV solve independent problems, and are even more
effective when they work together.
• They simplify the service chaining process by reducing the number
of devices a data packet needs to travel through
• Answers the questions of ‘who controls what’ from ‘what runs where’
• Allows a Service Provider to create service chains for each type of
traffic and provide multitenancy through the cloud infrastructure
SDN or NFV?
Open Networking Foundation
As SDN and NFV gained popularity, there was a need to create a standard way for SDN to
control Network functions. Hence ONF was formed
OpenFlow
Widely considered the first SDN standard. Defines a model for how traffic is organized into
different flows and how it can be controlled centrally.
OpenDayLight
An Opensource SDN project hosted by the Linux Foundation, which supports many
protocols including the OpenFlow protocol. Offers a complete functional SDN platform
without the need for any other component.
OPNFV
Linux Foundation introduced another platform, Open Platform for NFV, an integrated
platform that brings together Enterprises, Service Providers, Cloud & Infrastructure vendors
and customers to accelerate innovation & deployment of NFV
SDN & NFV today
• Firewalls
• Packet Filters
• Virtual Routers – quagga, openwrt
• Load Balancers
• WAN Optimizers
• Intrusion Detection
• Virtual CPE
Network Functions
NFV in Container and Docker World
• Consistent and quick way of deploying and re-deploying NFVs
• Very easy to scale on demand
• Low latency
• No Hypervisor overload
• Presence of established tools to deploy and manage containers
• There is lot of work underway in bringing NFV and Containers together
• Service chaining the network traffic locally.
• Having faster, re-useable, dynamic NF deployments with low overhead of
NFs to the infrastructure.
• Avoiding the loss in performance of the network functions due to
virtualization overhead.
What are we trying to achieve
Solution Design – Deployment
k
Host1
Host2
Host3
OpenStack Controller
Nova
Neutron
Glance
Cinder
…
Service Controller
Can make
admin calls to
OS services
Dockerd
Dockerd
Dockerd
Docker
Registry
KVM
KVM
KVM
VM VM
VMVM
VMVM
VMVM
VMVM
VMVM
A
G
E
N
T
A
G
E
N
T
A
G
E
N
T
SFC
SFC
SFC
SFC
SFC
SFC
Tenant1
Tenant2
Tenant3
Design – Per Node
Docker Daemon
OVS
Agent
Each Host in OS Cloud
VM
VM
VM
Docker
Network
Function Docker
Network
Function
Docker
Network
Function
Service Function Chain
KVM
Exteranal Communication
via Host NIC
Configures
Controller
Connection to SDN
Controller (Ex. ODL)
How it Flows
Docker Daemon
OVS
Agent
Each Host in OS Cloud
VM
VM
VM
Virtual
Firewall
Docker
Instance
vRouter
Docker
Instance
Service Function Chain
KVM
Exteranal Communication
via Host NIC
Configures
Controller
2
1
3
4
4
How it Service Chains – Routing between VNFs
Switch Match Action
local input port: 1, src ip: VM1 output port: 2
local input port: 2, src ip: VM1 output port: 3
local input port: 3, src ip: VM1 output port: 4
OpenVswitch (local)
VM1
1
2 3
4
FirewallVRouter
Flow Table
External Nic
Depending upon what the VNF
needs to do, different kind of routing
models could be used.
Advantages of the Design
High Density – Better utilization of resources.
Performance – Near metal performance of network functions by using SR-IOV/DPDK. No hyper-call overhead due to
usage of containers as Network Functions.
Low Latency – Service chaining completed locally. The packets don’t have to move through lengths of the cloud to
get processed.
Docker native advantages – Taking advantage of native docker advantages like quicker build/ship model carried
forward.
Public cloud model– Will work well with clouds deployments where you have no control over placement of
infrastructure components.
Implementation - Areas of Work
Running Docker and KVM on the same host machine
- Changes on the compute-scheduler
- Changes on the OVS agent side (Cleanup)
Configuring the OVS
- Creating service chains using OVS-OpenFlow Rule Modification
- Performance, HA and load-balancing.
- Choose the best kind of routing of packets based on type of NFV
Docker Daemon Interactions
- Creating network function containers on demand.
- Tenant based visibility/segregation of the docker containers.
- Storing of Stateful docker images for VNFs
Implementation of the Controller & Agent.
Q&A
OpenStack Summit
Austin, Texas 2016

More Related Content

PPTX
Understanding and deploying Network Virtualization
PPTX
Optimising nfv service chains on open stack using docker
PPTX
Multi tenancy for docker
PPTX
Openstack Neutron Insights
PPTX
Navigating OpenStack Networking
PPTX
Scaling OpenStack Networking Beyond 4000 Nodes with Dragonflow - Eshed Gal-Or...
PPTX
Openstack Basic with Neutron
PPTX
Network virtualization
Understanding and deploying Network Virtualization
Optimising nfv service chains on open stack using docker
Multi tenancy for docker
Openstack Neutron Insights
Navigating OpenStack Networking
Scaling OpenStack Networking Beyond 4000 Nodes with Dragonflow - Eshed Gal-Or...
Openstack Basic with Neutron
Network virtualization

What's hot (20)

PPTX
OpenDaylight Netvirt and Neutron - Mike Kolesnik, Josh Hershberg - OpenStack ...
PPTX
OpenStack Networking and Automation
PDF
Openstack Neutron and SDN
PPTX
CIF16: Rethinking Foundations for Zero-devops Clouds (Maxim Kharchenko, Cloud...
PPTX
Midokura OpenStack Day Korea Talk: MidoNet Open Source Network Virtualization...
PPTX
Open stack journey from folsom to grizzly
PDF
Nova net-or-neutron-atlanta2014.pptx
PDF
Quantum - The Network Mechanics
PDF
Cloud Networking is not Virtual Networking - London VMUG 20130425
PPTX
Introduction to SDN: Software Defined Networking
PPTX
Cloud Networking - Leaving the Physical Behind - Omer Anson - OpenStack Day I...
PDF
Building a sdn solution for the deployment of web application stacks in docker
PPTX
OpenStack and the Transformation of the Data Center - Lew Tucker
PDF
From Nova-Network to Neutron and Beyond: A Look at OpenStack Networking
PPTX
Software defined networking(sdn) vahid sadri
PDF
Open stack networking_101_update_2014
PPTX
OpenStack Neutron behind the Scenes
PPTX
SDN: an introduction
PPTX
Advanced network services insertions framework
PDF
OpenStack networking - Neutron deep dive with PLUMgrid
OpenDaylight Netvirt and Neutron - Mike Kolesnik, Josh Hershberg - OpenStack ...
OpenStack Networking and Automation
Openstack Neutron and SDN
CIF16: Rethinking Foundations for Zero-devops Clouds (Maxim Kharchenko, Cloud...
Midokura OpenStack Day Korea Talk: MidoNet Open Source Network Virtualization...
Open stack journey from folsom to grizzly
Nova net-or-neutron-atlanta2014.pptx
Quantum - The Network Mechanics
Cloud Networking is not Virtual Networking - London VMUG 20130425
Introduction to SDN: Software Defined Networking
Cloud Networking - Leaving the Physical Behind - Omer Anson - OpenStack Day I...
Building a sdn solution for the deployment of web application stacks in docker
OpenStack and the Transformation of the Data Center - Lew Tucker
From Nova-Network to Neutron and Beyond: A Look at OpenStack Networking
Software defined networking(sdn) vahid sadri
Open stack networking_101_update_2014
OpenStack Neutron behind the Scenes
SDN: an introduction
Advanced network services insertions framework
OpenStack networking - Neutron deep dive with PLUMgrid
Ad

Viewers also liked (20)

PPT
Baño del recien nacido
PDF
Cartilha previdência-seu-direito-está-em-risco-cut
PPT
Pptexamples
 
PPT
Física 2º ano ensino médio ondulatória movimento harmônico simples e cinemá...
PPT
Física 2º ano ensino médio ondulatória classificação das ondas
PPT
Física 2º ano ensino médio ondulatória comprimento, frequência, amplitude e...
PPTX
Evidencias cambio climático zbc
DOCX
Motor de corriente eléctrica
PDF
Sesión de coeducacion
PDF
Sesión desinhibicion
PPT
Física 2º ano ensino médio ondulatória equação de onda e princípio de super...
PDF
Guia - Como atender a imprensa - Parte1 - Acidentes
PPTX
Food and macronutrients lecture
PDF
Properties of logs
PDF
Nbr 12214 nb 590 projeto de sistema de bombeamento de agua para abastecimen...
PPTX
Análisis económico-graficas
PDF
histology
PDF
Agência do Trabalho oferece 313 vagas nesta terça-feira (21)
PDF
ÁREAS CORTICALES DEL LENGUAJE
PPT
призначення балансу та його побудова
Baño del recien nacido
Cartilha previdência-seu-direito-está-em-risco-cut
Pptexamples
 
Física 2º ano ensino médio ondulatória movimento harmônico simples e cinemá...
Física 2º ano ensino médio ondulatória classificação das ondas
Física 2º ano ensino médio ondulatória comprimento, frequência, amplitude e...
Evidencias cambio climático zbc
Motor de corriente eléctrica
Sesión de coeducacion
Sesión desinhibicion
Física 2º ano ensino médio ondulatória equação de onda e princípio de super...
Guia - Como atender a imprensa - Parte1 - Acidentes
Food and macronutrients lecture
Properties of logs
Nbr 12214 nb 590 projeto de sistema de bombeamento de agua para abastecimen...
Análisis económico-graficas
histology
Agência do Trabalho oferece 313 vagas nesta terça-feira (21)
ÁREAS CORTICALES DEL LENGUAJE
призначення балансу та його побудова
Ad

Similar to Optimising nfv service chains on open stack using docker (20)

PDF
Network Virtualization & Software-defined Networking
PDF
SDN & NFV Introduction - Open Source Data Center Networking
PDF
Design Summit - NFV BoF - Dave Neary
PDF
Open stack foundation-nfv-report
PDF
OpenStack-Foundation-NFV-Report
PPTX
Cloud, SDN, NFV
PDF
LF_DPDK17_OpenNetVM: A high-performance NFV platforms to meet future communic...
PPTX
Network and Service Virtualization tutorial at ONUG Spring 2015
PDF
Network Functions Virtualization and CloudStack
PDF
Asterisk as a Virtual Network Function Part 1
PPTX
SDN and NFV Friends or Enemies ?
PPTX
Know about SDN and NFV
PDF
Conference Paper: Network Function Chaining in DCs: the unified recurring con...
PDF
An Introduce of OPNFV (Open Platform for NFV)
PDF
151121 e openstack-api-nfv
PPTX
Supporting Virtualized Telco Applications with OpenStack
PDF
The Future of SDN in CloudStack by Chiradeep Vittal
PDF
Understanding network and service virtualization
PDF
Directions for CloudStack Networking
PDF
Summit 16: ARM Mini-Summit - NXP QorIQ NFV Solutions - NXP Semiconductors
Network Virtualization & Software-defined Networking
SDN & NFV Introduction - Open Source Data Center Networking
Design Summit - NFV BoF - Dave Neary
Open stack foundation-nfv-report
OpenStack-Foundation-NFV-Report
Cloud, SDN, NFV
LF_DPDK17_OpenNetVM: A high-performance NFV platforms to meet future communic...
Network and Service Virtualization tutorial at ONUG Spring 2015
Network Functions Virtualization and CloudStack
Asterisk as a Virtual Network Function Part 1
SDN and NFV Friends or Enemies ?
Know about SDN and NFV
Conference Paper: Network Function Chaining in DCs: the unified recurring con...
An Introduce of OPNFV (Open Platform for NFV)
151121 e openstack-api-nfv
Supporting Virtualized Telco Applications with OpenStack
The Future of SDN in CloudStack by Chiradeep Vittal
Understanding network and service virtualization
Directions for CloudStack Networking
Summit 16: ARM Mini-Summit - NXP QorIQ NFV Solutions - NXP Semiconductors

Recently uploaded (20)

PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Encapsulation_ Review paper, used for researhc scholars
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
KodekX | Application Modernization Development
PDF
cuic standard and advanced reporting.pdf
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PPTX
A Presentation on Artificial Intelligence
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
Modernizing your data center with Dell and AMD
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
PDF
NewMind AI Monthly Chronicles - July 2025
Network Security Unit 5.pdf for BCA BBA.
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Per capita expenditure prediction using model stacking based on satellite ima...
Encapsulation_ Review paper, used for researhc scholars
20250228 LYD VKU AI Blended-Learning.pptx
Digital-Transformation-Roadmap-for-Companies.pptx
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
The AUB Centre for AI in Media Proposal.docx
KodekX | Application Modernization Development
cuic standard and advanced reporting.pdf
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
A Presentation on Artificial Intelligence
“AI and Expert System Decision Support & Business Intelligence Systems”
Building Integrated photovoltaic BIPV_UPV.pdf
Modernizing your data center with Dell and AMD
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
NewMind AI Monthly Chronicles - July 2025

Optimising nfv service chains on open stack using docker

  • 1. Optimizing NFV Service Chains on OpenStack using Docker Meenakshi Sundaram Lakshmanan, Rahul Krishna Upadhyaya, CB Ananth Padmanabhan, Satya Routray. 26 Apr 2016
  • 2. Docker – What is it ? Docker containers wrap up a piece of software in a complete filesystem that contains everything it needs to run: code, runtime, system tools, system libraries – anything you can install on a server. This guarantees that it will always run the same, regardless of the environment it is running in.
  • 3. Docker Instance vs Virtual Machine
  • 4. • Better utilization of resources, hence higher density of workloads. • Hyper-call overhead is reduced since there is no hypervisor layer. With SR-IOV/DPDK near metal perf • Faster provisioning and easier Devops, easy to replicate, share. Advantages Challenges • Docker had issues with mutli-host networking. Solved using overlay since Docker Version 1.9. • Docker has security related challenges. VM generally termed as more secure given the isolation. • Performance of network functions. Many of which have been addressed with DPDK/SR- IOV with some trade-offs Docker Instance vs Virtual Machine
  • 5. • They are network appliances other than switches and routers. • Deployed for increasing security and performance • Very effective solution for ServiceAssurance, Traffic Analysis, Traffic filtering etc., Drawbacks • Hardware middle boxes are difficult to manage • Difficult to scale on demand • Virtual middle boxes (NFV) need an orchestrator to provision them • In a public cloud environment, placement of virtual components may not be always under control Middle Boxes
  • 6. SDN (Software Defined Networking) : It is an approach to computer networking that allows network administrators to manage network services through abstraction of higher-level functionality. NFV (Network Function Virtualization) : It is a network architecture concept that uses the technologies of IT virtualization to virtualize entire classes of network node functions into building blocks that may connect, or chain together, to create communication services. SFC (Service Function Chaining) : It consists of a set of network functions, such as firewalls or application delivery controllers (ADCs) that are interconnected through the network to support an application. SDN, NFV and SFC
  • 7. • SDN and NFV solve independent problems, and are even more effective when they work together. • They simplify the service chaining process by reducing the number of devices a data packet needs to travel through • Answers the questions of ‘who controls what’ from ‘what runs where’ • Allows a Service Provider to create service chains for each type of traffic and provide multitenancy through the cloud infrastructure SDN or NFV?
  • 8. Open Networking Foundation As SDN and NFV gained popularity, there was a need to create a standard way for SDN to control Network functions. Hence ONF was formed OpenFlow Widely considered the first SDN standard. Defines a model for how traffic is organized into different flows and how it can be controlled centrally. OpenDayLight An Opensource SDN project hosted by the Linux Foundation, which supports many protocols including the OpenFlow protocol. Offers a complete functional SDN platform without the need for any other component. OPNFV Linux Foundation introduced another platform, Open Platform for NFV, an integrated platform that brings together Enterprises, Service Providers, Cloud & Infrastructure vendors and customers to accelerate innovation & deployment of NFV SDN & NFV today
  • 9. • Firewalls • Packet Filters • Virtual Routers – quagga, openwrt • Load Balancers • WAN Optimizers • Intrusion Detection • Virtual CPE Network Functions
  • 10. NFV in Container and Docker World • Consistent and quick way of deploying and re-deploying NFVs • Very easy to scale on demand • Low latency • No Hypervisor overload • Presence of established tools to deploy and manage containers • There is lot of work underway in bringing NFV and Containers together
  • 11. • Service chaining the network traffic locally. • Having faster, re-useable, dynamic NF deployments with low overhead of NFs to the infrastructure. • Avoiding the loss in performance of the network functions due to virtualization overhead. What are we trying to achieve
  • 12. Solution Design – Deployment k Host1 Host2 Host3 OpenStack Controller Nova Neutron Glance Cinder … Service Controller Can make admin calls to OS services Dockerd Dockerd Dockerd Docker Registry KVM KVM KVM VM VM VMVM VMVM VMVM VMVM VMVM A G E N T A G E N T A G E N T SFC SFC SFC SFC SFC SFC Tenant1 Tenant2 Tenant3
  • 13. Design – Per Node Docker Daemon OVS Agent Each Host in OS Cloud VM VM VM Docker Network Function Docker Network Function Docker Network Function Service Function Chain KVM Exteranal Communication via Host NIC Configures Controller Connection to SDN Controller (Ex. ODL)
  • 14. How it Flows Docker Daemon OVS Agent Each Host in OS Cloud VM VM VM Virtual Firewall Docker Instance vRouter Docker Instance Service Function Chain KVM Exteranal Communication via Host NIC Configures Controller 2 1 3 4 4
  • 15. How it Service Chains – Routing between VNFs Switch Match Action local input port: 1, src ip: VM1 output port: 2 local input port: 2, src ip: VM1 output port: 3 local input port: 3, src ip: VM1 output port: 4 OpenVswitch (local) VM1 1 2 3 4 FirewallVRouter Flow Table External Nic Depending upon what the VNF needs to do, different kind of routing models could be used.
  • 16. Advantages of the Design High Density – Better utilization of resources. Performance – Near metal performance of network functions by using SR-IOV/DPDK. No hyper-call overhead due to usage of containers as Network Functions. Low Latency – Service chaining completed locally. The packets don’t have to move through lengths of the cloud to get processed. Docker native advantages – Taking advantage of native docker advantages like quicker build/ship model carried forward. Public cloud model– Will work well with clouds deployments where you have no control over placement of infrastructure components.
  • 17. Implementation - Areas of Work Running Docker and KVM on the same host machine - Changes on the compute-scheduler - Changes on the OVS agent side (Cleanup) Configuring the OVS - Creating service chains using OVS-OpenFlow Rule Modification - Performance, HA and load-balancing. - Choose the best kind of routing of packets based on type of NFV Docker Daemon Interactions - Creating network function containers on demand. - Tenant based visibility/segregation of the docker containers. - Storing of Stateful docker images for VNFs Implementation of the Controller & Agent.
  • 18. Q&A