Openstack Basic with Neutron

KwonSun Bae
KwonSun BaeSales Engineer at Arista Networks
2014.07.12 - KwonSun Bae
OpenStack
- Networking
We are Networker ~
Agenda
• OpenStack Overview
 Architecture
 Services
 Example Architecture
• Basic Services
 Controller
 Compute
 Network
• Process Flows
• Networking –Neutron
 Neutron Modular Layer 2 (ML2) Plug-in
 ML2 Overview
 ML2 Drivers
 OpenvSwitch Plug-in
 OVS Linux Bridge
 OVS Internals
 OVS Traffic Flows
 OVS Configure
• QnA
OpenStack Overview
• Cloud Software
Architecture
Docs -
http://docs.openstack.org/icehouse/install-
guide/install/apt/content/ch_overview.html#archit
ecture_conceptual-architecture
Services
• Basic Services
• Dashboard – Horizon
• Compute – Nova
• Networking – Neutron
• Identity – Keystone
• Image - Glance
• Optional Services
• Storage
• Swift (Object)
• Cinder (Block)
• Database – Trove
• Orchestration – Heat
• Telemetry – Ceilometer
• Supporting Services
• Database – MySQL
• Message Broker - RabbitMQ
Services
• Basic Services
• Dashboard – Horizon
• Compute – Nova
• Networking – Neutron
• Identity – Keystone
• Image - Glance
• Optional Services
• Storage
• Swift (Object)
• Cinder (Block)
• Database – Trove
• Orchestration – Heat
• Telemetry – Ceilometer
• Supporting Services
• Database – MySQL
• Message Broker - RabbitMQ
Example
Architecture
Three Nodes Architecture with Neutron.
Example
Architecture
Three Nodes Architecture with Neutron.
• Management network. Used for internal
communication between OpenStack
Components.
• Internal network. Used for VM data
communication within the cloud
deployment.
• External network. Used to provide VMs
with Internet access.
• Controller Node: Controller node contains
all OpenStack API services.
• Network Node: Network node contains
DHCP server and virtual routing.
• Compute Node: Network node contains
compute service and neutron plugin
Basic Services
• Openstack operation을 위한 필수 Services
Supporting
Services
• Database
• MySQL
• 각 Service들의 구성정보 저장
• Message Broker
• RabbitMQ
• 각 Service간의
Message전달,처리
• http://docs.openstack.org/training-
guides/content/module001-ch008-queues-
messaging.html
Keystone
For Identity Service.
Glance
For Image Provision, Store 등
Nova
Virtual Machine Management
Nova
The core components of Nova include the
following:
• The nova-api accepts and responds to end-
user compute API calls. It also initiates
most of the orchestration activities (such as
running an instance) as well as enforcing
some policies.
• The nova-compute process is primarily a
worker daemon that creates and
terminates virtual machine instances via
hypervisor APIs (XenAPI for
XenServer/XCP, libvirt for KVM or QEMU,
VMwareAPI for vSphere, etc.).
• The nova-scheduler process is conceptually
the simplest piece of code in OpenStack
Nova: it take a virtual machine instance
request from the queue and determines
where it should run (specifically, which
compute node it should run on).
Neutron
• plugin agent (quantum-*-agent):Runs
on each hypervisor to perform local
vswitch configuration. Agent to be run
depends on which plugin you are using,
as some plugins do not require an agent.
• dhcp agent (quantum-dhcp-
agent):Provides DHCP services to
tenant networks. This agent is the same
across all plugins.
• l3 agent (quantum-l3-agent):Provides
L3/NAT forwarding to provide external
network access for VMs on tenant
networks. This agent is the same across
all plugins.
Neutron
Use Case: Per-tenant Routers with Private
Networks
A more advanced router scenario in which
each tenant gets at least one router, and
potentially has access to the OpenStack
Networking API to create additional routers.
The tenant can create their own networks,
potentially uplinking those networks to a
router. This model enables tenant-defined
multi-tier applications, with each tier being
a separate network behind the router. Since
there are multiple routers, tenant subnets
can be overlapping without conflicting,
since access to external networks all
happens via SNAT or Floating IPs. Each
router uplink and floating IP is allocated
from the external network subnet.
Process Flows
AMQP
AMQP is the messaging technology chosen by the
OpenStack cloud. The AMQP broker, either
RabbitMQ or Qpid, sits between any two Nova
components and allows them to communicate in a
loosely coupled fashion. More precisely, Nova
components (the compute fabric of OpenStack) use
Remote Procedure Calls (RPC hereinafter) to
communicate to one another; however such a
paradigm is built atop the publish/subscribe
paradigm so that the following benefits can be
achieved:
• Decoupling between client and servant (such as
the client does not need to know where the
servant reference is).
• Full a-synchronism between client and servant
(such as the client does not need the servant to
run at the same time of the remote call).
• Random balancing of remote calls (such as if
more servants are up and running, one-way
calls are transparently dispatched to the first
available servant).
Networking
- Neutron
Neutron
ModularLayer 2
Plug-in (ML2)
http://docs.openstack.org/trunk/config
-reference/content/networking-options-
plugins-ml2.html
DRAFT - Document for Juno
Original Goal
• The Modular Layer 2 (ML2) Plugin
is a framework allowing OpenStack
Networking to simultaneously utilize
the variety of layer 2 networking
technologies found in complex real-
world datacenters.
ML2 “Drivers”
ML2 exposes two different types of drivers:
“Type” and “Mechanism”
ML2 Type Drivers:
• Maintain type-specific state
Provide tenant network allocation
Validate provider networks
Current TypeDrivers:
local, flat, VLAN, GRE, and VXLAN
ML2 Mechanism Drivers:
• Responsible for taking information sup
plied by TypeDrivers and ensuring it is
properly applied given the specific netw
orking mechanisms which have been en
abled
Current MechanismDrivers:
Arista, Cisco Nexus, Hyper-V, L2 Popula
tion, LinuxBridge, Open vSwitch, Tail-F
NCS
Agenda
• OpenStack Overview
 Architecture
 Services
 Example Architecture
• Basic Services
 Controller
 Compute
 Network
• Process Flows
• Networking –Neutron
 Neutron Modular Layer 2 (ML2) Plug-in
 ML2 Overview
 ML2 Drivers
 OpenvSwitch Plug-in
 OVS Linux Bridge
 OVS Internals
 OVS Traffic Flows
 OVS Configure
• QnA
OpenvSwitch
Linux Bridge
http://www.slideshare.net/rajdeep/ope
nvswitch-deep-dive
VM – OVS Connection
OVS
Internals
각각의 bridge들은 bridge별 ovs demon
을 소유
OVS
Traffic Flows
Compute Node to Network Node
L3-agent
• SNAT
• Floating IP Create
DHCP-agent
• Subnet based Dynamic IP Lease
• Each Subnet’s Gateway
Neutron
- Demo
Lab Overview
OpenStack installed on vSphere
• 1 Hosts
3 Node Install
• Controller
• Network
• Compute
향후 추가계획
• 호스트B 에 Compute node 추가
• 다른 Plug-in Test
• Nova – vSphere 연동
Bebe's Lab Topology
Lab Access and
Demo
Demo Scenario
• L3-Agent(Router) Create
• Network Create
• Network Subnet Create
• L3-Agent connect with Interfaces
• Gateway Network connect
• Instance attach
• Floating IP Create
• Floating IP Associate
• Ping Test
http://docs.openstack.org/admin-
guide-cloud/content/l3_workflow.html
QnA
1 of 30

Recommended

OpenStack Networking and Automation by
OpenStack Networking and AutomationOpenStack Networking and Automation
OpenStack Networking and AutomationAdam Johnson
2.9K views29 slides
Neutron behind the scenes by
Neutron   behind the scenesNeutron   behind the scenes
Neutron behind the scenesinbroker
1.3K views20 slides
Linux Tag 2014 OpenStack Networking by
Linux Tag 2014 OpenStack NetworkingLinux Tag 2014 OpenStack Networking
Linux Tag 2014 OpenStack Networkingyfauser
2.1K views18 slides
Neutron high availability open stack architecture openstack israel event 2015 by
Neutron high availability  open stack architecture   openstack israel event 2015Neutron high availability  open stack architecture   openstack israel event 2015
Neutron high availability open stack architecture openstack israel event 2015Arthur Berezin
7.7K views37 slides
Networking in OpenStack for non-networking people: Neutron, Open vSwitch and ... by
Networking in OpenStack for non-networking people: Neutron, Open vSwitch and ...Networking in OpenStack for non-networking people: Neutron, Open vSwitch and ...
Networking in OpenStack for non-networking people: Neutron, Open vSwitch and ...Dave Neary
40.5K views20 slides
Overview of Distributed Virtual Router (DVR) in Openstack/Neutron by
Overview of Distributed Virtual Router (DVR) in Openstack/NeutronOverview of Distributed Virtual Router (DVR) in Openstack/Neutron
Overview of Distributed Virtual Router (DVR) in Openstack/Neutronvivekkonnect
12K views33 slides

More Related Content

What's hot

Introduction to Software Defined Networking and OpenStack Neutron by
Introduction to Software Defined Networking and OpenStack NeutronIntroduction to Software Defined Networking and OpenStack Neutron
Introduction to Software Defined Networking and OpenStack NeutronSana Khan
1.6K views34 slides
ONUG Tutorial: Bridges and Tunnels Drive Through OpenStack Networking by
ONUG Tutorial: Bridges and Tunnels Drive Through OpenStack NetworkingONUG Tutorial: Bridges and Tunnels Drive Through OpenStack Networking
ONUG Tutorial: Bridges and Tunnels Drive Through OpenStack Networkingmarkmcclain
1.2K views69 slides
OpenStack Neutron behind the Scenes by
OpenStack Neutron behind the ScenesOpenStack Neutron behind the Scenes
OpenStack Neutron behind the ScenesAnil Bidari ( CEO , Cloud Enabled)
1.6K views21 slides
Quantum (OpenStack Meetup Feb 9th, 2012) by
Quantum (OpenStack Meetup Feb 9th, 2012)Quantum (OpenStack Meetup Feb 9th, 2012)
Quantum (OpenStack Meetup Feb 9th, 2012)Dan Wendlandt
4K views33 slides
OpenStack Neutron 201 1hr by
OpenStack Neutron 201 1hr OpenStack Neutron 201 1hr
OpenStack Neutron 201 1hr David Lenwell
1.1K views33 slides
L2 and L3 agent restructure by
L2 and L3 agent restructureL2 and L3 agent restructure
L2 and L3 agent restructureRossella Sblendido
1.5K views34 slides

What's hot(20)

Introduction to Software Defined Networking and OpenStack Neutron by Sana Khan
Introduction to Software Defined Networking and OpenStack NeutronIntroduction to Software Defined Networking and OpenStack Neutron
Introduction to Software Defined Networking and OpenStack Neutron
Sana Khan1.6K views
ONUG Tutorial: Bridges and Tunnels Drive Through OpenStack Networking by markmcclain
ONUG Tutorial: Bridges and Tunnels Drive Through OpenStack NetworkingONUG Tutorial: Bridges and Tunnels Drive Through OpenStack Networking
ONUG Tutorial: Bridges and Tunnels Drive Through OpenStack Networking
markmcclain1.2K views
Quantum (OpenStack Meetup Feb 9th, 2012) by Dan Wendlandt
Quantum (OpenStack Meetup Feb 9th, 2012)Quantum (OpenStack Meetup Feb 9th, 2012)
Quantum (OpenStack Meetup Feb 9th, 2012)
Dan Wendlandt4K views
OpenStack Neutron 201 1hr by David Lenwell
OpenStack Neutron 201 1hr OpenStack Neutron 201 1hr
OpenStack Neutron 201 1hr
David Lenwell1.1K views
OpenStack Neutron Advanced Services by Akanda by Sean Roberts
OpenStack Neutron Advanced Services by AkandaOpenStack Neutron Advanced Services by Akanda
OpenStack Neutron Advanced Services by Akanda
Sean Roberts614 views
Open Source Backends for OpenStack Neutron by mestery
Open Source Backends for OpenStack NeutronOpen Source Backends for OpenStack Neutron
Open Source Backends for OpenStack Neutron
mestery6.1K views
Navigating OpenStack Networking by PLUMgrid
Navigating OpenStack NetworkingNavigating OpenStack Networking
Navigating OpenStack Networking
PLUMgrid965 views
OpenStack Neutron Tutorial by mestery
OpenStack Neutron TutorialOpenStack Neutron Tutorial
OpenStack Neutron Tutorial
mestery19K views
OpenStack Neutron Liberty Updates by mestery
OpenStack Neutron Liberty UpdatesOpenStack Neutron Liberty Updates
OpenStack Neutron Liberty Updates
mestery2.9K views
2014 OpenStack Summit - Neutron OVS to LinuxBridge Migration by James Denton
2014 OpenStack Summit - Neutron OVS to LinuxBridge Migration2014 OpenStack Summit - Neutron OVS to LinuxBridge Migration
2014 OpenStack Summit - Neutron OVS to LinuxBridge Migration
James Denton7.9K views
Openstack Neutron and SDN by inakipascual
Openstack Neutron and SDNOpenstack Neutron and SDN
Openstack Neutron and SDN
inakipascual13.8K views
Open stack networking_101_update_2014-os-meetups by yfauser
Open stack networking_101_update_2014-os-meetupsOpen stack networking_101_update_2014-os-meetups
Open stack networking_101_update_2014-os-meetups
yfauser1.2K views
OpenStack networking - Neutron deep dive with PLUMgrid by Kamesh Pemmaraju
OpenStack networking - Neutron deep dive with PLUMgridOpenStack networking - Neutron deep dive with PLUMgrid
OpenStack networking - Neutron deep dive with PLUMgrid
Kamesh Pemmaraju2.6K views
Bridges and Tunnels a Drive Through OpenStack Networking by markmcclain
Bridges and Tunnels a Drive Through OpenStack NetworkingBridges and Tunnels a Drive Through OpenStack Networking
Bridges and Tunnels a Drive Through OpenStack Networking
markmcclain787 views
NaaS in OpenStack - CloudCamp Moscow by Ilya Alekseyev
NaaS in OpenStack - CloudCamp MoscowNaaS in OpenStack - CloudCamp Moscow
NaaS in OpenStack - CloudCamp Moscow
Ilya Alekseyev3.5K views
OpenStack: Virtual Routers On Compute Nodes by clayton_oneill
OpenStack: Virtual Routers On Compute NodesOpenStack: Virtual Routers On Compute Nodes
OpenStack: Virtual Routers On Compute Nodes
clayton_oneill1.9K views

Viewers also liked

Modular Layer 2 In OpenStack Neutron by
Modular Layer 2 In OpenStack NeutronModular Layer 2 In OpenStack Neutron
Modular Layer 2 In OpenStack Neutronmestery
18.4K views31 slides
Inside Architecture of Neutron by
Inside Architecture of NeutronInside Architecture of Neutron
Inside Architecture of Neutronmarkmcclain
27K views40 slides
Inside neutron 2 by
Inside neutron 2Inside neutron 2
Inside neutron 2Robin Gong
15.4K views40 slides
Juniper Network Automation for KrDAG by
Juniper Network Automation for KrDAGJuniper Network Automation for KrDAG
Juniper Network Automation for KrDAGKwonSun Bae
3K views44 slides
OpenStack Quantum Intro (OS Meetup 3-26-12) by
OpenStack Quantum Intro (OS Meetup 3-26-12)OpenStack Quantum Intro (OS Meetup 3-26-12)
OpenStack Quantum Intro (OS Meetup 3-26-12)Dan Wendlandt
66K views38 slides
Neutron Network Namespaces and IPtables--A Technical Deep Dive by
Neutron Network Namespaces and IPtables--A Technical Deep DiveNeutron Network Namespaces and IPtables--A Technical Deep Dive
Neutron Network Namespaces and IPtables--A Technical Deep DiveMirantis
39.1K views30 slides

Viewers also liked(20)

Modular Layer 2 In OpenStack Neutron by mestery
Modular Layer 2 In OpenStack NeutronModular Layer 2 In OpenStack Neutron
Modular Layer 2 In OpenStack Neutron
mestery18.4K views
Inside Architecture of Neutron by markmcclain
Inside Architecture of NeutronInside Architecture of Neutron
Inside Architecture of Neutron
markmcclain27K views
Inside neutron 2 by Robin Gong
Inside neutron 2Inside neutron 2
Inside neutron 2
Robin Gong15.4K views
Juniper Network Automation for KrDAG by KwonSun Bae
Juniper Network Automation for KrDAGJuniper Network Automation for KrDAG
Juniper Network Automation for KrDAG
KwonSun Bae3K views
OpenStack Quantum Intro (OS Meetup 3-26-12) by Dan Wendlandt
OpenStack Quantum Intro (OS Meetup 3-26-12)OpenStack Quantum Intro (OS Meetup 3-26-12)
OpenStack Quantum Intro (OS Meetup 3-26-12)
Dan Wendlandt66K views
Neutron Network Namespaces and IPtables--A Technical Deep Dive by Mirantis
Neutron Network Namespaces and IPtables--A Technical Deep DiveNeutron Network Namespaces and IPtables--A Technical Deep Dive
Neutron Network Namespaces and IPtables--A Technical Deep Dive
Mirantis39.1K views
How to write a Neutron Plugin - if you really need to by salv_orlando
How to write a Neutron Plugin - if you really need toHow to write a Neutron Plugin - if you really need to
How to write a Neutron Plugin - if you really need to
salv_orlando32.1K views
OpenStack networking juno l3 h-a, dvr by Sim Janghoon
OpenStack networking   juno l3 h-a, dvrOpenStack networking   juno l3 h-a, dvr
OpenStack networking juno l3 h-a, dvr
Sim Janghoon8.5K views
OpenStack Neutron Havana Overview - Oct 2013 by Edgar Magana
OpenStack Neutron Havana Overview - Oct 2013OpenStack Neutron Havana Overview - Oct 2013
OpenStack Neutron Havana Overview - Oct 2013
Edgar Magana15.7K views
OpenStack Architecture by Mirantis
OpenStack ArchitectureOpenStack Architecture
OpenStack Architecture
Mirantis88.5K views
OpenStack Atlanta Summit - Build an OpenStack Cluster Before Lunch, Scale Glo... by Michael Fork
OpenStack Atlanta Summit - Build an OpenStack Cluster Before Lunch, Scale Glo...OpenStack Atlanta Summit - Build an OpenStack Cluster Before Lunch, Scale Glo...
OpenStack Atlanta Summit - Build an OpenStack Cluster Before Lunch, Scale Glo...
Michael Fork6.9K views
090902 Amphibious Architecture Small 3 by njeremijenko
090902 Amphibious Architecture Small 3090902 Amphibious Architecture Small 3
090902 Amphibious Architecture Small 3
njeremijenko593 views
Openstack neutron 原理详解 by Yong Luo
Openstack neutron 原理详解Openstack neutron 原理详解
Openstack neutron 原理详解
Yong Luo1.4K views
Practical-LDAP-and-Linux by Balaji Ravi
Practical-LDAP-and-LinuxPractical-LDAP-and-Linux
Practical-LDAP-and-Linux
Balaji Ravi3.4K views
OpenStack Networking by Ilya Shakhat
OpenStack NetworkingOpenStack Networking
OpenStack Networking
Ilya Shakhat9.2K views
Flexible, simple deployments with OpenStack-Ansible by Major Hayden
Flexible, simple deployments with OpenStack-AnsibleFlexible, simple deployments with OpenStack-Ansible
Flexible, simple deployments with OpenStack-Ansible
Major Hayden1K views
Managing sensitive data with Ansible vault by Pascal Stauffer
Managing sensitive data with Ansible vaultManaging sensitive data with Ansible vault
Managing sensitive data with Ansible vault
Pascal Stauffer523 views
Ansible for Enterprise by Ansible
Ansible for EnterpriseAnsible for Enterprise
Ansible for Enterprise
Ansible832 views

Similar to Openstack Basic with Neutron

neutron_icehouse_update by
neutron_icehouse_updateneutron_icehouse_update
neutron_icehouse_updateAkihiro Motoki
5.2K views35 slides
Agile OpenStack Networking with Cisco Solutions by
Agile OpenStack Networking with Cisco SolutionsAgile OpenStack Networking with Cisco Solutions
Agile OpenStack Networking with Cisco SolutionsCisco DevNet
1.7K views51 slides
PSOCLD-1006 Cisco Cloud Architectures on OpenStack - Cisco Live! US 2015 San ... by
PSOCLD-1006 Cisco Cloud Architectures on OpenStack - Cisco Live! US 2015 San ...PSOCLD-1006 Cisco Cloud Architectures on OpenStack - Cisco Live! US 2015 San ...
PSOCLD-1006 Cisco Cloud Architectures on OpenStack - Cisco Live! US 2015 San ...Rohit Agarwalla
1.1K views36 slides
Openstack meetup-pune-aug22-overview by
Openstack meetup-pune-aug22-overviewOpenstack meetup-pune-aug22-overview
Openstack meetup-pune-aug22-overviewrajdeep
1.5K views49 slides
7 - Introduction to OpenStack & SDN by Ady Saputra by
7 - Introduction to OpenStack & SDN by Ady Saputra7 - Introduction to OpenStack & SDN by Ady Saputra
7 - Introduction to OpenStack & SDN by Ady SaputraSDNRG ITB
5.9K views22 slides
CloudStack Overview by
CloudStack OverviewCloudStack Overview
CloudStack Overviewsedukull
1.1K views35 slides

Similar to Openstack Basic with Neutron(20)

Agile OpenStack Networking with Cisco Solutions by Cisco DevNet
Agile OpenStack Networking with Cisco SolutionsAgile OpenStack Networking with Cisco Solutions
Agile OpenStack Networking with Cisco Solutions
Cisco DevNet1.7K views
PSOCLD-1006 Cisco Cloud Architectures on OpenStack - Cisco Live! US 2015 San ... by Rohit Agarwalla
PSOCLD-1006 Cisco Cloud Architectures on OpenStack - Cisco Live! US 2015 San ...PSOCLD-1006 Cisco Cloud Architectures on OpenStack - Cisco Live! US 2015 San ...
PSOCLD-1006 Cisco Cloud Architectures on OpenStack - Cisco Live! US 2015 San ...
Rohit Agarwalla1.1K views
Openstack meetup-pune-aug22-overview by rajdeep
Openstack meetup-pune-aug22-overviewOpenstack meetup-pune-aug22-overview
Openstack meetup-pune-aug22-overview
rajdeep1.5K views
7 - Introduction to OpenStack & SDN by Ady Saputra by SDNRG ITB
7 - Introduction to OpenStack & SDN by Ady Saputra7 - Introduction to OpenStack & SDN by Ady Saputra
7 - Introduction to OpenStack & SDN by Ady Saputra
SDNRG ITB 5.9K views
CloudStack Overview by sedukull
CloudStack OverviewCloudStack Overview
CloudStack Overview
sedukull1.1K views
Quantum for Cloud Operators - Folsom Conference by Dan Wendlandt
Quantum for Cloud Operators  - Folsom Conference Quantum for Cloud Operators  - Folsom Conference
Quantum for Cloud Operators - Folsom Conference
Dan Wendlandt1.9K views
Openstack Overview by rajdeep
Openstack OverviewOpenstack Overview
Openstack Overview
rajdeep2.6K views
Open stack Architecture and Use Cases by Ahmad Tfaily
Open stack Architecture and Use CasesOpen stack Architecture and Use Cases
Open stack Architecture and Use Cases
Ahmad Tfaily226 views
OpenStack Architecture and Use Cases by Jalal Mostafa
OpenStack Architecture and Use CasesOpenStack Architecture and Use Cases
OpenStack Architecture and Use Cases
Jalal Mostafa7.3K views
Quick overview of Openstack architecture by Toni Ramirez
Quick overview of Openstack architectureQuick overview of Openstack architecture
Quick overview of Openstack architecture
Toni Ramirez3.1K views
BRKDCT-2445 Agile OpenStack Networking with Cisco Solutions - Cisco Live! US ... by Rohit Agarwalla
BRKDCT-2445 Agile OpenStack Networking with Cisco Solutions - Cisco Live! US ...BRKDCT-2445 Agile OpenStack Networking with Cisco Solutions - Cisco Live! US ...
BRKDCT-2445 Agile OpenStack Networking with Cisco Solutions - Cisco Live! US ...
Rohit Agarwalla2.4K views
OpenStack Quantum: Cloud Carrier Summit 2012 by Dan Wendlandt
OpenStack Quantum: Cloud Carrier Summit 2012OpenStack Quantum: Cloud Carrier Summit 2012
OpenStack Quantum: Cloud Carrier Summit 2012
Dan Wendlandt2K views
OpenStack and OpenDaylight Workshop: ONUG Spring 2014 by mestery
OpenStack and OpenDaylight Workshop: ONUG Spring 2014OpenStack and OpenDaylight Workshop: ONUG Spring 2014
OpenStack and OpenDaylight Workshop: ONUG Spring 2014
mestery13.6K views
SOC Cloud Conductor + SLA by ARCCN
SOC  Cloud Conductor + SLASOC  Cloud Conductor + SLA
SOC Cloud Conductor + SLA
ARCCN1.5K views
OpenStack 2012 fall summit observation - Quantum/SDN by Te-Yen Liu
OpenStack 2012 fall summit observation - Quantum/SDNOpenStack 2012 fall summit observation - Quantum/SDN
OpenStack 2012 fall summit observation - Quantum/SDN
Te-Yen Liu1.7K views
Tech Talk by John Casey (CTO) CPLANE_NETWORKS : High Performance OpenStack Ne... by nvirters
Tech Talk by John Casey (CTO) CPLANE_NETWORKS : High Performance OpenStack Ne...Tech Talk by John Casey (CTO) CPLANE_NETWORKS : High Performance OpenStack Ne...
Tech Talk by John Casey (CTO) CPLANE_NETWORKS : High Performance OpenStack Ne...
nvirters1.3K views
Optimising nfv service chains on open stack using docker by Ananth Padmanabhan
Optimising nfv service chains on open stack using dockerOptimising nfv service chains on open stack using docker
Optimising nfv service chains on open stack using docker
Ananth Padmanabhan1.2K views

Recently uploaded

DU Series - Day 4.pptx by
DU Series - Day 4.pptxDU Series - Day 4.pptx
DU Series - Day 4.pptxUiPathCommunity
100 views28 slides
𝐒𝐨𝐥𝐚𝐫𝐖𝐢𝐧𝐝𝐬 𝐂𝐚𝐬𝐞 𝐒𝐭𝐮𝐝𝐲 by
𝐒𝐨𝐥𝐚𝐫𝐖𝐢𝐧𝐝𝐬 𝐂𝐚𝐬𝐞 𝐒𝐭𝐮𝐝𝐲𝐒𝐨𝐥𝐚𝐫𝐖𝐢𝐧𝐝𝐬 𝐂𝐚𝐬𝐞 𝐒𝐭𝐮𝐝𝐲
𝐒𝐨𝐥𝐚𝐫𝐖𝐢𝐧𝐝𝐬 𝐂𝐚𝐬𝐞 𝐒𝐭𝐮𝐝𝐲Infosec train
9 views6 slides
UiPath Document Understanding_Day 3.pptx by
UiPath Document Understanding_Day 3.pptxUiPath Document Understanding_Day 3.pptx
UiPath Document Understanding_Day 3.pptxUiPathCommunity
103 views25 slides
Is Entireweb better than Google by
Is Entireweb better than GoogleIs Entireweb better than Google
Is Entireweb better than Googlesebastianthomasbejan
12 views1 slide
PORTFOLIO 1 (Bret Michael Pepito).pdf by
PORTFOLIO 1 (Bret Michael Pepito).pdfPORTFOLIO 1 (Bret Michael Pepito).pdf
PORTFOLIO 1 (Bret Michael Pepito).pdfbrejess0410
8 views6 slides
WEB 2.O TOOLS: Empowering education.pptx by
WEB 2.O TOOLS: Empowering education.pptxWEB 2.O TOOLS: Empowering education.pptx
WEB 2.O TOOLS: Empowering education.pptxnarmadhamanohar21
16 views16 slides

Recently uploaded(12)

𝐒𝐨𝐥𝐚𝐫𝐖𝐢𝐧𝐝𝐬 𝐂𝐚𝐬𝐞 𝐒𝐭𝐮𝐝𝐲 by Infosec train
𝐒𝐨𝐥𝐚𝐫𝐖𝐢𝐧𝐝𝐬 𝐂𝐚𝐬𝐞 𝐒𝐭𝐮𝐝𝐲𝐒𝐨𝐥𝐚𝐫𝐖𝐢𝐧𝐝𝐬 𝐂𝐚𝐬𝐞 𝐒𝐭𝐮𝐝𝐲
𝐒𝐨𝐥𝐚𝐫𝐖𝐢𝐧𝐝𝐬 𝐂𝐚𝐬𝐞 𝐒𝐭𝐮𝐝𝐲
Infosec train9 views
UiPath Document Understanding_Day 3.pptx by UiPathCommunity
UiPath Document Understanding_Day 3.pptxUiPath Document Understanding_Day 3.pptx
UiPath Document Understanding_Day 3.pptx
UiPathCommunity103 views
PORTFOLIO 1 (Bret Michael Pepito).pdf by brejess0410
PORTFOLIO 1 (Bret Michael Pepito).pdfPORTFOLIO 1 (Bret Michael Pepito).pdf
PORTFOLIO 1 (Bret Michael Pepito).pdf
brejess04108 views
Building trust in our information ecosystem: who do we trust in an emergency by Tina Purnat
Building trust in our information ecosystem: who do we trust in an emergencyBuilding trust in our information ecosystem: who do we trust in an emergency
Building trust in our information ecosystem: who do we trust in an emergency
Tina Purnat98 views
We see everywhere that many people are talking about technology.docx by ssuserc5935b
We see everywhere that many people are talking about technology.docxWe see everywhere that many people are talking about technology.docx
We see everywhere that many people are talking about technology.docx
ssuserc5935b6 views
How to think like a threat actor for Kubernetes.pptx by LibbySchulze1
How to think like a threat actor for Kubernetes.pptxHow to think like a threat actor for Kubernetes.pptx
How to think like a threat actor for Kubernetes.pptx
LibbySchulze15 views
IETF 118: Starlink Protocol Performance by APNIC
IETF 118: Starlink Protocol PerformanceIETF 118: Starlink Protocol Performance
IETF 118: Starlink Protocol Performance
APNIC244 views
Marketing and Community Building in Web3 by Federico Ast
Marketing and Community Building in Web3Marketing and Community Building in Web3
Marketing and Community Building in Web3
Federico Ast12 views

Openstack Basic with Neutron

  • 3. Agenda • OpenStack Overview  Architecture  Services  Example Architecture • Basic Services  Controller  Compute  Network • Process Flows • Networking –Neutron  Neutron Modular Layer 2 (ML2) Plug-in  ML2 Overview  ML2 Drivers  OpenvSwitch Plug-in  OVS Linux Bridge  OVS Internals  OVS Traffic Flows  OVS Configure • QnA
  • 6. Services • Basic Services • Dashboard – Horizon • Compute – Nova • Networking – Neutron • Identity – Keystone • Image - Glance • Optional Services • Storage • Swift (Object) • Cinder (Block) • Database – Trove • Orchestration – Heat • Telemetry – Ceilometer • Supporting Services • Database – MySQL • Message Broker - RabbitMQ
  • 7. Services • Basic Services • Dashboard – Horizon • Compute – Nova • Networking – Neutron • Identity – Keystone • Image - Glance • Optional Services • Storage • Swift (Object) • Cinder (Block) • Database – Trove • Orchestration – Heat • Telemetry – Ceilometer • Supporting Services • Database – MySQL • Message Broker - RabbitMQ
  • 9. Example Architecture Three Nodes Architecture with Neutron. • Management network. Used for internal communication between OpenStack Components. • Internal network. Used for VM data communication within the cloud deployment. • External network. Used to provide VMs with Internet access. • Controller Node: Controller node contains all OpenStack API services. • Network Node: Network node contains DHCP server and virtual routing. • Compute Node: Network node contains compute service and neutron plugin
  • 10. Basic Services • Openstack operation을 위한 필수 Services
  • 11. Supporting Services • Database • MySQL • 각 Service들의 구성정보 저장 • Message Broker • RabbitMQ • 각 Service간의 Message전달,처리 • http://docs.openstack.org/training- guides/content/module001-ch008-queues- messaging.html
  • 15. Nova The core components of Nova include the following: • The nova-api accepts and responds to end- user compute API calls. It also initiates most of the orchestration activities (such as running an instance) as well as enforcing some policies. • The nova-compute process is primarily a worker daemon that creates and terminates virtual machine instances via hypervisor APIs (XenAPI for XenServer/XCP, libvirt for KVM or QEMU, VMwareAPI for vSphere, etc.). • The nova-scheduler process is conceptually the simplest piece of code in OpenStack Nova: it take a virtual machine instance request from the queue and determines where it should run (specifically, which compute node it should run on).
  • 16. Neutron • plugin agent (quantum-*-agent):Runs on each hypervisor to perform local vswitch configuration. Agent to be run depends on which plugin you are using, as some plugins do not require an agent. • dhcp agent (quantum-dhcp- agent):Provides DHCP services to tenant networks. This agent is the same across all plugins. • l3 agent (quantum-l3-agent):Provides L3/NAT forwarding to provide external network access for VMs on tenant networks. This agent is the same across all plugins.
  • 17. Neutron Use Case: Per-tenant Routers with Private Networks A more advanced router scenario in which each tenant gets at least one router, and potentially has access to the OpenStack Networking API to create additional routers. The tenant can create their own networks, potentially uplinking those networks to a router. This model enables tenant-defined multi-tier applications, with each tier being a separate network behind the router. Since there are multiple routers, tenant subnets can be overlapping without conflicting, since access to external networks all happens via SNAT or Floating IPs. Each router uplink and floating IP is allocated from the external network subnet.
  • 19. AMQP AMQP is the messaging technology chosen by the OpenStack cloud. The AMQP broker, either RabbitMQ or Qpid, sits between any two Nova components and allows them to communicate in a loosely coupled fashion. More precisely, Nova components (the compute fabric of OpenStack) use Remote Procedure Calls (RPC hereinafter) to communicate to one another; however such a paradigm is built atop the publish/subscribe paradigm so that the following benefits can be achieved: • Decoupling between client and servant (such as the client does not need to know where the servant reference is). • Full a-synchronism between client and servant (such as the client does not need the servant to run at the same time of the remote call). • Random balancing of remote calls (such as if more servants are up and running, one-way calls are transparently dispatched to the first available servant).
  • 21. Neutron ModularLayer 2 Plug-in (ML2) http://docs.openstack.org/trunk/config -reference/content/networking-options- plugins-ml2.html DRAFT - Document for Juno Original Goal • The Modular Layer 2 (ML2) Plugin is a framework allowing OpenStack Networking to simultaneously utilize the variety of layer 2 networking technologies found in complex real- world datacenters.
  • 22. ML2 “Drivers” ML2 exposes two different types of drivers: “Type” and “Mechanism” ML2 Type Drivers: • Maintain type-specific state Provide tenant network allocation Validate provider networks Current TypeDrivers: local, flat, VLAN, GRE, and VXLAN ML2 Mechanism Drivers: • Responsible for taking information sup plied by TypeDrivers and ensuring it is properly applied given the specific netw orking mechanisms which have been en abled Current MechanismDrivers: Arista, Cisco Nexus, Hyper-V, L2 Popula tion, LinuxBridge, Open vSwitch, Tail-F NCS
  • 23. Agenda • OpenStack Overview  Architecture  Services  Example Architecture • Basic Services  Controller  Compute  Network • Process Flows • Networking –Neutron  Neutron Modular Layer 2 (ML2) Plug-in  ML2 Overview  ML2 Drivers  OpenvSwitch Plug-in  OVS Linux Bridge  OVS Internals  OVS Traffic Flows  OVS Configure • QnA
  • 26. OVS Traffic Flows Compute Node to Network Node L3-agent • SNAT • Floating IP Create DHCP-agent • Subnet based Dynamic IP Lease • Each Subnet’s Gateway
  • 28. Lab Overview OpenStack installed on vSphere • 1 Hosts 3 Node Install • Controller • Network • Compute 향후 추가계획 • 호스트B 에 Compute node 추가 • 다른 Plug-in Test • Nova – vSphere 연동 Bebe's Lab Topology
  • 29. Lab Access and Demo Demo Scenario • L3-Agent(Router) Create • Network Create • Network Subnet Create • L3-Agent connect with Interfaces • Gateway Network connect • Instance attach • Floating IP Create • Floating IP Associate • Ping Test http://docs.openstack.org/admin- guide-cloud/content/l3_workflow.html
  • 30. QnA