SlideShare ist ein Scribd-Unternehmen logo
1 von 25
Downloaden Sie, um offline zu lesen
Architecture of Quantum Folsom Release


                 Yong Sheng Gong (龚永生)
                  gongysh@cn.ibm.com
                 gongysh #openstack-dev
                 Quantum Core developer




                                          © 2012 IBM Corporation
Agenda



■   OpenStack and Quantum
■   Quantum Architecture
■   Quantum models
■   communications among quantum components




                                              © 2012 IBM Corporation
Agenda



■   OpenStack and Quantum
■   Quantum Architecture
■   Quantum models
■   communications among quantum components




                                              © 2012 IBM Corporation
OpenStack: core projects that form a complete IaaS solution
                                                                                                                          Compute (Nova)
                                                                                                                          Provision and manage
                                                                                                                          virtual machines
                                                                                                                          Dashboard (Horizon)
                                                                                                                          Self-service portal
                                                                                                                          Image (Glance)
                                                                                                                          Catalog and manage
                                                                                                                          server images
                                                                                                                          Identity (Keystone)
                                                                                                                          Unified authentication,
                                                                                                                          integrates with existing
                                                                                                                          systems
                                                                                                                          Network(Quantum)
                                                                                                                          provide "network
                                                                                                                          connectivity as a
                                                                                                                          service"
                                                                                                                          Object Storage (Swift)
                                                                                                                          petabytes of secure,
                                                                                                                          reliable object storage
adapted from:
http://26a0ff8ca8ba32139f7d-db711c577a50b6bdc946ea71aaca027d.r97.cf1.rackcdn.com/openstack-conceptual-arch-folsom.jpg /   Block Storage
4                                                                                                                         (Cinder)     © 2012 IBM Corporation
Quantum-NaaS


   *-as-a-Service Capability   OpenStack Service


            Compute                     Nova


                                    Swift (Objects)


             Storage                Cinder (Block)

                                   Glance (Images)



             identity                 Keystone



            Network                   Quantum
                                                      © 2012 IBM Corporation
Openstack architecture




                                        OpenStack
                                        Network API

                                    OpenStack
                                    Network API


                                                  quantum-server
                                                                           REST



                                                                        l3-agent
                                                         Queue




                                                                 plugin-agent
                                              quantum
                                              database


                                                            dhcp-agent



                         OpenStack
                         Identity API




                                                                    © 2012 IBM Corporation
Flow of booting a virtual server




                                   © 2012 IBM Corporation
Quantum uses network virtualization



                                      1.Hypervisor
                                      2.nova-scheduler
                                      3.nova-computes

                                            1.quantum-server
                                            2.plugin
                                            3.agents




8                                                    © 2012 IBM Corporation
Agenda



■   OpenStack and Quantum
■   Quantum Architecture
■   Quantum models
■   communications among quantum components




                                              © 2012 IBM Corporation
One of Deployment Models
                                                                                                   ■   Management network. Used for
                                                                                                       internal communication between
                                                                                                       OpenStack Components. The IP
                                                                                                       addresses on this network should
                                                                                                       be reachable only within the data
                                                                                                       center.

                                                                                                   ■   Data network. Used for VM data
                                                                                                       communication within the cloud
                                                                                                       deployment. The IP addressing
                                                                                                       requirements of this network
                                                                                                       depend on the Quantum plugin in
                                                                                                       use.

                                                                                                   ■   External network. Used to
                                                                                                       provide VMs with Internet access
                                                                                                       in some deployment
                                                                                                       scenarios. The IP addresses on
                                                                                                       this network should be reachable
                                                                                                       by anyone on the Internet.

                                                                                                   ■   API network. Exposes all
                                                                                                       OpenStack APIs, including the
                                                                                                       Quantum API, to tenants. The IP
                                                                                                       addresses on this network should
                                                                                                       be reachable by anyone on the
                                                                                                       Internet. This may be the same
                                                                                                       network as the external network,
                                                                                                       as it is possible to create a
                                                                                                       quantum subnet for the external
                                                                                                       network that uses IP allocation
                                                                                                       ranges to use only less than the
                                                                                                       full range of IP addresses in an IP
                                                                                                       block.
          from http://docs.openstack.org/trunk/openstack-network/admin/content/connectivity.html                        © 2012 IBM Corporation
Another one of Deployment Models




     DHCP                L3




    Multi-host -> Multi-L3 Nodes?
                                    © 2012 IBM Corporation
Components of quantum
                                                   ■   Quantum server
                                                           Implement Qauntum API and its
                                   l3-agent
                                                            extensions
                                                           Enforce network model

            Quantum                                           • Network, subnet, and port
                                                           IP addressing to each port
         server & plugin
                                      Plugin       ■   Plugin agent
                                      agent                Run on each compute node

                                                           Connect instances to network port



                                                   ■   DHCP agent
                                                          In multi-host mode, run on each compute

                                                           node (deferred)
                                                          Start/stop dhcp server
                                       DHCPagent          Maintain dhcp configuration




          DB               Queue                      L3-agent
                                                             To implement floating Ips and other L3
                                                              features, such as NAT
                                                             One per network
                                                   ■   Queue
                                                           Enhance communication between each
     Note: we can share DB service and Queue                components of quantum
      with other OpenStack stack services          ■   DB – persistent network model



12                                                                                         © 2012 IBM Corporation
Layers in Quantum server

                                                   vendor can add extensions
                Quantum API and extensions         to provide more features


                  Common service
             (Validation, Authn, Authz)

                  Quantum Core

                         Plugin API          vendor specific plugin or open source plugin:
                                             1.  linux bridge plugin
                                             2.  openvswitch plugin
                         Plugin              3.  nicira
                                             4.  …




               DB               device


13                                                                          © 2012 IBM Corporation
Agenda



■   OpenStack and Quantum
■   Quantum Architecture
■   Quantum models
■   communications among quantum components




                                              © 2012 IBM Corporation
Quantum models




                 © 2012 IBM Corporation
Network and physical bindings

                                                             network


                      Physical network                                               Virtual network
                     Identified by name                                             Model in quantum



                                      Network binding

                                                                   Tenant network                provider network
GRE and local bindings have                                                            VLAN
no physical network

                                                                                                         Flat

                                                                                      GRE


        Local binding are for
                                                                     local
        devstack single box playing



                                      Linux bridge plugin has no
                                      GRE support



                                Difference between provider network and tenant network?
                                                                                                                © 2012 IBM Corporation
Other ways to view networks



 internal

                     Private internal networks            Shared internal networks
 Only fixed Ips
 are allocated
 from there.




 external
  we can create
  floating ips and   Private external networks            shared external networks
  router gateway
  on it, They
  should be able
  to access
  public network

                                                                           Other tenants
                      private         Only owner tenant           shared   besides the owner
                                      can create ports                     tenant can create
                                      on it.                               ports on it.




                                                                                      © 2012 IBM Corporation
A network sample for fixed ips

                     Host A
                                                      network A
                                                      local Vlan ID 1                 network C
                                                                                      local Vlan ID 3

                                        int-br-eth1
                                                                                     patch-tun
                                                                     br-int                                patch-port

                              veth
                                                      int-br-eth2
                                                                         network B
                                                                         local Vlan ID 2
                                     phy-br-eth1                                                               patch-int
                                                       phy-br-eth2

                          Physnet1 vSwitch                    Physnet2 vSwith
                              br-eth1                             br-eth2                               br-tun
                                                                                                         GRE
                                       eth1                               eth2




    VM ports
                           Physical net1                        physical net2
                           vlan ID 1000                         Flat                                                       host B
    DHCP ports



                                                                                                                           host C



                                                                                                                           host C
local vlan id <-> tunnel id done by br-tun flow
local vlan id <-> physical net vlan id done by physical net and br-int vSwitch                                          © 2012 IBM Corporation
Floatingip and Router

                                                Vm
                                                10.0.1.5/24
                                                gw: 10.0.1.1/24    Floating ip fixed
                                                                   port on fixed ip
                                                                   network
                       Floatingip port                                  Router interface
                                                                        10.0.1.1/24                   In general,
                            gw_port                                                                   The port acting as
                            7.0.1.2/24                                                                router interface
                            Floating ip:                                                              should has gateway
                            7.0.1.4/24                                                                address of subnet
  External network                                            internal nework
                                           router

    external network
    vswitch br-ex                                                                          Vm
                                                                                           20.0.1.5/24
     eth0                                                                                  gw: 20.0.1.1/24

                           l3_agent



                             Router is used for VM to access outside and
                             allow VMs on different subnets or networks access each other
                             Floating IP is used for outside to access VM

                                                                                                                 © 2012 IBM Corporation
A network sample for fixed ips and routers
Host B                                                                                         Host A ovs-quantum-agent
L3-agent
ovs-quantum-agent                       network A                                                      network A
                                                                    network C
dhcp-agent                              local Vlan ID 3             local Vlan ID 2                    local Vlan ID 1                         network C
                                                                                                                                               local Vlan ID 3



                                                          br-int                                                         br-int




        external                                             network B
                                                             local Vlan ID 1                                                      network B
        network D                                                                                                                 local Vlan ID 2
        binding: local


                                 Physnet1 vSwitch     Physnet2 vSwith                          Physnet1 vSwitch    Physnet2 vSwith
            br-ex                                                                     br-tun                                                        br-tun
                                     br-eth1              br-eth2                                  br-eth1             br-eth2

                                                                                         GRE                                                            GRE
     eth0                        eth1                                                           eth1
                                                                   eth2                                                            eth2




VM ports

                    public net                Physical net1
DHCP ports                                    vlan ID 1000
                                                                                                physical net2
                                                                                                Flat
Router interface
ports


Router gateway
and flaoting ip
ports


                                                                                                                                            © 2012 IBM Corporation
Agenda



■   OpenStack and Quantum
■   Quantum Architecture
■   Quantum models
■   communications among quantum components




                                              © 2012 IBM Corporation
AMQP communication among quantum components


 Dhcp agent
                                                                               quantum-server
               get_active_networks
               get_network_info
               get_dhcp_port
               release_dhcp_port
               release_port_fixed_ip
               update_lease_expiration

Plugin agent                                  Quantum rest api
                                              (resource CUD)
               get_device_details
               update_device_down                                 network_delete        tunnel_update        port_update
               tunnel_sync

                                                              q-agent-notifier-          q-agent-notifier-      q-agent-notifier-
                                  Quantum                  network-delete_fanout      tunnel-update_fanout     port-update_fanout
Exchange:
                                   topic                          fanout                     fanout                  fanout




                                                              q-agent-notifier-          q-agent-notifier-      q-agent-notifier-
 Queue:             q-plugin        notifications.info                                tunnel-update_fanout     port-update_fanout
                                                           network-delete_fanout
                                                                 _{uuid4}                   _{uuid4}                 _{uuid4}




Comsumer:      quantum-server              Dhcp agent                                 Plugin agent


                                                                                                                           © 2012 IBM Corporation
Data flow of booting a virtual server among quantum components




                                                            © 2012 IBM Corporation
Enjoy hacking OpenStack!




                           © 2012 IBM Corporation
Backup – San Diego design summit




            http://wiki.openstack.org/Summit/Grizzly/Etherpads




                                                                 © 2012 IBM Corporation

Weitere ähnliche Inhalte

Was ist angesagt?

Artificial Intelligence Notes Unit 1
Artificial Intelligence Notes Unit 1 Artificial Intelligence Notes Unit 1
Artificial Intelligence Notes Unit 1 DigiGurukul
 
Overview of quantum computing and it's application in artificial intelligence
Overview of quantum computing and it's application in artificial intelligenceOverview of quantum computing and it's application in artificial intelligence
Overview of quantum computing and it's application in artificial intelligenceBincySam2
 
Introduction to Graph Neural Networks: Basics and Applications - Katsuhiko Is...
Introduction to Graph Neural Networks: Basics and Applications - Katsuhiko Is...Introduction to Graph Neural Networks: Basics and Applications - Katsuhiko Is...
Introduction to Graph Neural Networks: Basics and Applications - Katsuhiko Is...Preferred Networks
 
Quantum Computing
Quantum ComputingQuantum Computing
Quantum Computingt0pgun
 
Quantum computing seminar
Quantum computing seminarQuantum computing seminar
Quantum computing seminarPankaj Kumar
 
Machine Learning and Data Mining: 10 Introduction to Classification
Machine Learning and Data Mining: 10 Introduction to ClassificationMachine Learning and Data Mining: 10 Introduction to Classification
Machine Learning and Data Mining: 10 Introduction to ClassificationPier Luca Lanzi
 
An introduction to quantum machine learning.pptx
An introduction to quantum machine learning.pptxAn introduction to quantum machine learning.pptx
An introduction to quantum machine learning.pptxColleen Farrelly
 
Natural language processing and transformer models
Natural language processing and transformer modelsNatural language processing and transformer models
Natural language processing and transformer modelsDing Li
 
Introduction to machine learning
Introduction to machine learningIntroduction to machine learning
Introduction to machine learningSangath babu
 
Predicting Diabetes Using Machine Learning
Predicting Diabetes Using Machine LearningPredicting Diabetes Using Machine Learning
Predicting Diabetes Using Machine LearningJohn Alex
 
Support Vector Machine ppt presentation
Support Vector Machine ppt presentationSupport Vector Machine ppt presentation
Support Vector Machine ppt presentationAyanaRukasar
 
Multi-agent systems
Multi-agent systemsMulti-agent systems
Multi-agent systemsR A Akerkar
 

Was ist angesagt? (20)

Artificial Intelligence Notes Unit 1
Artificial Intelligence Notes Unit 1 Artificial Intelligence Notes Unit 1
Artificial Intelligence Notes Unit 1
 
Overview of quantum computing and it's application in artificial intelligence
Overview of quantum computing and it's application in artificial intelligenceOverview of quantum computing and it's application in artificial intelligence
Overview of quantum computing and it's application in artificial intelligence
 
Introduction to Graph Neural Networks: Basics and Applications - Katsuhiko Is...
Introduction to Graph Neural Networks: Basics and Applications - Katsuhiko Is...Introduction to Graph Neural Networks: Basics and Applications - Katsuhiko Is...
Introduction to Graph Neural Networks: Basics and Applications - Katsuhiko Is...
 
Quantum Computing
Quantum ComputingQuantum Computing
Quantum Computing
 
Quantum computing seminar
Quantum computing seminarQuantum computing seminar
Quantum computing seminar
 
Machine Learning and Data Mining: 10 Introduction to Classification
Machine Learning and Data Mining: 10 Introduction to ClassificationMachine Learning and Data Mining: 10 Introduction to Classification
Machine Learning and Data Mining: 10 Introduction to Classification
 
An introduction to quantum machine learning.pptx
An introduction to quantum machine learning.pptxAn introduction to quantum machine learning.pptx
An introduction to quantum machine learning.pptx
 
Nearest neighbor search
Nearest neighbor searchNearest neighbor search
Nearest neighbor search
 
Natural language processing and transformer models
Natural language processing and transformer modelsNatural language processing and transformer models
Natural language processing and transformer models
 
Introduction to machine learning
Introduction to machine learningIntroduction to machine learning
Introduction to machine learning
 
Ppt of nanocomputing
Ppt of nanocomputingPpt of nanocomputing
Ppt of nanocomputing
 
Neuromorphic computing
Neuromorphic computingNeuromorphic computing
Neuromorphic computing
 
Quantum computing
Quantum computingQuantum computing
Quantum computing
 
Edge Computing
Edge ComputingEdge Computing
Edge Computing
 
Diamond chip
Diamond chipDiamond chip
Diamond chip
 
Predicting Diabetes Using Machine Learning
Predicting Diabetes Using Machine LearningPredicting Diabetes Using Machine Learning
Predicting Diabetes Using Machine Learning
 
Support Vector Machine ppt presentation
Support Vector Machine ppt presentationSupport Vector Machine ppt presentation
Support Vector Machine ppt presentation
 
DNA Based Computing
DNA Based ComputingDNA Based Computing
DNA Based Computing
 
High–Performance Computing
High–Performance ComputingHigh–Performance Computing
High–Performance Computing
 
Multi-agent systems
Multi-agent systemsMulti-agent systems
Multi-agent systems
 

Andere mochten auch

Quick overview of Openstack architecture
Quick overview of Openstack architectureQuick overview of Openstack architecture
Quick overview of Openstack architectureToni Ramirez
 
OpenStack keystone identity service
OpenStack keystone identity serviceOpenStack keystone identity service
OpenStack keystone identity serviceopenstackindia
 
2011 startup weekend hsinchu _celfcare
2011 startup weekend hsinchu _celfcare2011 startup weekend hsinchu _celfcare
2011 startup weekend hsinchu _celfcareTsai Monica
 
Атомная энергетика в Казахстане
Атомная энергетика в КазахстанеАтомная энергетика в Казахстане
Атомная энергетика в КазахстанеАО "Самрук-Казына"
 
Understanding vocabulary from context
Understanding vocabulary from contextUnderstanding vocabulary from context
Understanding vocabulary from contextLes Davy
 
Программа здоровье опорно двигательного аппарата
Программа здоровье опорно двигательного аппарата Программа здоровье опорно двигательного аппарата
Программа здоровье опорно двигательного аппарата Елена Шальнова
 
SOP OC COMM
SOP OC COMMSOP OC COMM
SOP OC COMMantiik
 
GMC Junior
GMC JuniorGMC Junior
GMC Juniorjshappo
 
Samantha blum histo study guide 1
Samantha blum  histo study guide 1Samantha blum  histo study guide 1
Samantha blum histo study guide 1smblum2
 
Bildjuschkin: Selkenevää - eväitä seksuaalikasvatukseen ammatillisessa koulut...
Bildjuschkin: Selkenevää - eväitä seksuaalikasvatukseen ammatillisessa koulut...Bildjuschkin: Selkenevää - eväitä seksuaalikasvatukseen ammatillisessa koulut...
Bildjuschkin: Selkenevää - eväitä seksuaalikasvatukseen ammatillisessa koulut...Kouluterveyskysely
 
Danhmuccaccoso kcbkcb2011
Danhmuccaccoso kcbkcb2011Danhmuccaccoso kcbkcb2011
Danhmuccaccoso kcbkcb2011foxhuong
 
CSR Metrics: You can't measure temperature with a speedometer!
CSR Metrics: You can't measure temperature with a speedometer!CSR Metrics: You can't measure temperature with a speedometer!
CSR Metrics: You can't measure temperature with a speedometer!Wayne Dunn
 
Autumn leaves(1)
Autumn leaves(1)Autumn leaves(1)
Autumn leaves(1)Loli Varo
 
Terugblik en resultatenoverzicht 2010
Terugblik en resultatenoverzicht 2010Terugblik en resultatenoverzicht 2010
Terugblik en resultatenoverzicht 2010Mieke Sanden, van der
 
Datafesta 20141004_05
Datafesta 20141004_05Datafesta 20141004_05
Datafesta 20141004_05博三 太田
 

Andere mochten auch (20)

Quick overview of Openstack architecture
Quick overview of Openstack architectureQuick overview of Openstack architecture
Quick overview of Openstack architecture
 
OpenStack keystone identity service
OpenStack keystone identity serviceOpenStack keystone identity service
OpenStack keystone identity service
 
Pantheon basics
Pantheon basicsPantheon basics
Pantheon basics
 
2011 startup weekend hsinchu _celfcare
2011 startup weekend hsinchu _celfcare2011 startup weekend hsinchu _celfcare
2011 startup weekend hsinchu _celfcare
 
Атомная энергетика в Казахстане
Атомная энергетика в КазахстанеАтомная энергетика в Казахстане
Атомная энергетика в Казахстане
 
Understanding vocabulary from context
Understanding vocabulary from contextUnderstanding vocabulary from context
Understanding vocabulary from context
 
Программа здоровье опорно двигательного аппарата
Программа здоровье опорно двигательного аппарата Программа здоровье опорно двигательного аппарата
Программа здоровье опорно двигательного аппарата
 
SOP OC COMM
SOP OC COMMSOP OC COMM
SOP OC COMM
 
GMC Junior
GMC JuniorGMC Junior
GMC Junior
 
0k 2
0k 20k 2
0k 2
 
Samantha blum histo study guide 1
Samantha blum  histo study guide 1Samantha blum  histo study guide 1
Samantha blum histo study guide 1
 
บทที่ 4
บทที่ 4บทที่ 4
บทที่ 4
 
Bildjuschkin: Selkenevää - eväitä seksuaalikasvatukseen ammatillisessa koulut...
Bildjuschkin: Selkenevää - eväitä seksuaalikasvatukseen ammatillisessa koulut...Bildjuschkin: Selkenevää - eväitä seksuaalikasvatukseen ammatillisessa koulut...
Bildjuschkin: Selkenevää - eväitä seksuaalikasvatukseen ammatillisessa koulut...
 
Danhmuccaccoso kcbkcb2011
Danhmuccaccoso kcbkcb2011Danhmuccaccoso kcbkcb2011
Danhmuccaccoso kcbkcb2011
 
CSR Metrics: You can't measure temperature with a speedometer!
CSR Metrics: You can't measure temperature with a speedometer!CSR Metrics: You can't measure temperature with a speedometer!
CSR Metrics: You can't measure temperature with a speedometer!
 
Autumn leaves(1)
Autumn leaves(1)Autumn leaves(1)
Autumn leaves(1)
 
COCO- FEST
COCO- FESTCOCO- FEST
COCO- FEST
 
Terugblik en resultatenoverzicht 2010
Terugblik en resultatenoverzicht 2010Terugblik en resultatenoverzicht 2010
Terugblik en resultatenoverzicht 2010
 
Datafesta 20141004_05
Datafesta 20141004_05Datafesta 20141004_05
Datafesta 20141004_05
 
68 avenue Gurgaon 7428424386
68 avenue Gurgaon 742842438668 avenue Gurgaon 7428424386
68 avenue Gurgaon 7428424386
 

Ähnlich wie Quantum Networks

OpenStack at Xen summit Asia
OpenStack at Xen summit Asia OpenStack at Xen summit Asia
OpenStack at Xen summit Asia Jaesuk Ahn
 
Dell open stack powered cloud solution introduce & crowbar demo cosug-2012
Dell open stack powered cloud solution introduce & crowbar demo cosug-2012Dell open stack powered cloud solution introduce & crowbar demo cosug-2012
Dell open stack powered cloud solution introduce & crowbar demo cosug-2012OpenCity Community
 
Compatibleone @ OpenStack In Action
Compatibleone @ OpenStack In Action Compatibleone @ OpenStack In Action
Compatibleone @ OpenStack In Action CompatibleOne
 
Open stackinaction compatibleone 09212011
Open stackinaction compatibleone  09212011Open stackinaction compatibleone  09212011
Open stackinaction compatibleone 09212011CompatibleOne
 
Hitchhiker's Guide to Open Source Cloud Computing
Hitchhiker's Guide to Open Source Cloud ComputingHitchhiker's Guide to Open Source Cloud Computing
Hitchhiker's Guide to Open Source Cloud ComputingMark Hinkle
 
Dell web monsters-oct2011-v6-public
Dell web monsters-oct2011-v6-publicDell web monsters-oct2011-v6-public
Dell web monsters-oct2011-v6-publicBarton George
 
Openstack in action2 Rackspace- state of the openstack union 31-05-12
Openstack in action2   Rackspace- state of the openstack union 31-05-12Openstack in action2   Rackspace- state of the openstack union 31-05-12
Openstack in action2 Rackspace- state of the openstack union 31-05-12eNovance
 
OpenStack Quantum Network Service
OpenStack Quantum Network ServiceOpenStack Quantum Network Service
OpenStack Quantum Network ServiceLew Tucker
 
Operating the Hyperscale Cloud
Operating the Hyperscale CloudOperating the Hyperscale Cloud
Operating the Hyperscale CloudOpen Stack
 
Microsoft HPC User Group
Microsoft HPC User Group Microsoft HPC User Group
Microsoft HPC User Group sjwoodman
 
g Eclipse @ Eclipse Summit Europe 2008
g Eclipse @ Eclipse Summit Europe 2008g Eclipse @ Eclipse Summit Europe 2008
g Eclipse @ Eclipse Summit Europe 2008guest462d7
 
The unified data center for cloud david yen
The unified data center for cloud david yenThe unified data center for cloud david yen
The unified data center for cloud david yendeepersnet
 
vBrownBag OpenStack Networking Talk
vBrownBag OpenStack Networking TalkvBrownBag OpenStack Networking Talk
vBrownBag OpenStack Networking Talkmestery
 
How Application Release Automation Powers DevOps
How Application Release Automation Powers DevOpsHow Application Release Automation Powers DevOps
How Application Release Automation Powers DevOpsXebiaLabs
 
Daneyon Hansen - Intro to OpenStack - Feb13 OpenStack Denver Meetup
Daneyon Hansen - Intro to OpenStack - Feb13 OpenStack Denver MeetupDaneyon Hansen - Intro to OpenStack - Feb13 OpenStack Denver Meetup
Daneyon Hansen - Intro to OpenStack - Feb13 OpenStack Denver MeetupShannon McFarland
 
Comprendre l’offre IBM SmartCloud Foundation, Zoom sur PureSystems
Comprendre l’offre  IBM SmartCloud Foundation, Zoom sur PureSystems Comprendre l’offre  IBM SmartCloud Foundation, Zoom sur PureSystems
Comprendre l’offre IBM SmartCloud Foundation, Zoom sur PureSystems Claude Riousset
 

Ähnlich wie Quantum Networks (20)

OpenStack at Xen summit Asia
OpenStack at Xen summit Asia OpenStack at Xen summit Asia
OpenStack at Xen summit Asia
 
Dell open stack powered cloud solution introduce & crowbar demo cosug-2012
Dell open stack powered cloud solution introduce & crowbar demo cosug-2012Dell open stack powered cloud solution introduce & crowbar demo cosug-2012
Dell open stack powered cloud solution introduce & crowbar demo cosug-2012
 
Apache CloudStack AlpesJUG
Apache CloudStack AlpesJUGApache CloudStack AlpesJUG
Apache CloudStack AlpesJUG
 
Compatibleone @ OpenStack In Action
Compatibleone @ OpenStack In Action Compatibleone @ OpenStack In Action
Compatibleone @ OpenStack In Action
 
Open stackinaction compatibleone 09212011
Open stackinaction compatibleone  09212011Open stackinaction compatibleone  09212011
Open stackinaction compatibleone 09212011
 
Building FOSS clouds
Building FOSS cloudsBuilding FOSS clouds
Building FOSS clouds
 
Hitchhiker's Guide to Open Source Cloud Computing
Hitchhiker's Guide to Open Source Cloud ComputingHitchhiker's Guide to Open Source Cloud Computing
Hitchhiker's Guide to Open Source Cloud Computing
 
Dell web monsters-oct2011-v6-public
Dell web monsters-oct2011-v6-publicDell web monsters-oct2011-v6-public
Dell web monsters-oct2011-v6-public
 
Openstack in action2 Rackspace- state of the openstack union 31-05-12
Openstack in action2   Rackspace- state of the openstack union 31-05-12Openstack in action2   Rackspace- state of the openstack union 31-05-12
Openstack in action2 Rackspace- state of the openstack union 31-05-12
 
OpenStack Quantum Network Service
OpenStack Quantum Network ServiceOpenStack Quantum Network Service
OpenStack Quantum Network Service
 
Operating the Hyperscale Cloud
Operating the Hyperscale CloudOperating the Hyperscale Cloud
Operating the Hyperscale Cloud
 
Microsoft HPC User Group
Microsoft HPC User Group Microsoft HPC User Group
Microsoft HPC User Group
 
Intro to Cloudstack
Intro to CloudstackIntro to Cloudstack
Intro to Cloudstack
 
g Eclipse @ Eclipse Summit Europe 2008
g Eclipse @ Eclipse Summit Europe 2008g Eclipse @ Eclipse Summit Europe 2008
g Eclipse @ Eclipse Summit Europe 2008
 
The unified data center for cloud david yen
The unified data center for cloud david yenThe unified data center for cloud david yen
The unified data center for cloud david yen
 
151121 e openstack-api-nfv
151121 e openstack-api-nfv151121 e openstack-api-nfv
151121 e openstack-api-nfv
 
vBrownBag OpenStack Networking Talk
vBrownBag OpenStack Networking TalkvBrownBag OpenStack Networking Talk
vBrownBag OpenStack Networking Talk
 
How Application Release Automation Powers DevOps
How Application Release Automation Powers DevOpsHow Application Release Automation Powers DevOps
How Application Release Automation Powers DevOps
 
Daneyon Hansen - Intro to OpenStack - Feb13 OpenStack Denver Meetup
Daneyon Hansen - Intro to OpenStack - Feb13 OpenStack Denver MeetupDaneyon Hansen - Intro to OpenStack - Feb13 OpenStack Denver Meetup
Daneyon Hansen - Intro to OpenStack - Feb13 OpenStack Denver Meetup
 
Comprendre l’offre IBM SmartCloud Foundation, Zoom sur PureSystems
Comprendre l’offre  IBM SmartCloud Foundation, Zoom sur PureSystems Comprendre l’offre  IBM SmartCloud Foundation, Zoom sur PureSystems
Comprendre l’offre IBM SmartCloud Foundation, Zoom sur PureSystems
 

Mehr von OpenCity Community

物联网操作系统漫谈-GIAC大会.pdf
物联网操作系统漫谈-GIAC大会.pdf物联网操作系统漫谈-GIAC大会.pdf
物联网操作系统漫谈-GIAC大会.pdfOpenCity Community
 
2017开源年会-企业开源那些事儿-更新.pdf
2017开源年会-企业开源那些事儿-更新.pdf2017开源年会-企业开源那些事儿-更新.pdf
2017开源年会-企业开源那些事儿-更新.pdfOpenCity Community
 
Learn OpenStack from trystack.cn
Learn OpenStack from trystack.cnLearn OpenStack from trystack.cn
Learn OpenStack from trystack.cnOpenCity Community
 
OpenStack系列公开课2 -20130508
OpenStack系列公开课2 -20130508OpenStack系列公开课2 -20130508
OpenStack系列公开课2 -20130508OpenCity Community
 
How to master OpenStack in 2 hours
How to master OpenStack in 2 hoursHow to master OpenStack in 2 hours
How to master OpenStack in 2 hoursOpenCity Community
 
Learn OpenStack from trystack.cn ——Folsom in practice
Learn OpenStack from trystack.cn  ——Folsom in practiceLearn OpenStack from trystack.cn  ——Folsom in practice
Learn OpenStack from trystack.cn ——Folsom in practiceOpenCity Community
 
Open Stack Cheng Du Swift Alex Yang
Open Stack Cheng Du Swift Alex YangOpen Stack Cheng Du Swift Alex Yang
Open Stack Cheng Du Swift Alex YangOpenCity Community
 

Mehr von OpenCity Community (20)

开源讲义.pdf
开源讲义.pdf开源讲义.pdf
开源讲义.pdf
 
物联网操作系统漫谈-GIAC大会.pdf
物联网操作系统漫谈-GIAC大会.pdf物联网操作系统漫谈-GIAC大会.pdf
物联网操作系统漫谈-GIAC大会.pdf
 
2017开源年会-企业开源那些事儿-更新.pdf
2017开源年会-企业开源那些事儿-更新.pdf2017开源年会-企业开源那些事儿-更新.pdf
2017开源年会-企业开源那些事儿-更新.pdf
 
社会化研发
社会化研发社会化研发
社会化研发
 
Containers & CaaS
Containers & CaaSContainers & CaaS
Containers & CaaS
 
OaaS:Open as a Strategy
OaaS:Open as a StrategyOaaS:Open as a Strategy
OaaS:Open as a Strategy
 
Hello openstack 2014
Hello openstack 2014Hello openstack 2014
Hello openstack 2014
 
Docker openstack-2014
Docker openstack-2014Docker openstack-2014
Docker openstack-2014
 
Learn OpenStack from trystack.cn
Learn OpenStack from trystack.cnLearn OpenStack from trystack.cn
Learn OpenStack from trystack.cn
 
OpenStack系列公开课2 -20130508
OpenStack系列公开课2 -20130508OpenStack系列公开课2 -20130508
OpenStack系列公开课2 -20130508
 
OpenStack ecosystem
OpenStack ecosystemOpenStack ecosystem
OpenStack ecosystem
 
How to master OpenStack in 2 hours
How to master OpenStack in 2 hoursHow to master OpenStack in 2 hours
How to master OpenStack in 2 hours
 
Learn OpenStack from trystack.cn ——Folsom in practice
Learn OpenStack from trystack.cn  ——Folsom in practiceLearn OpenStack from trystack.cn  ——Folsom in practice
Learn OpenStack from trystack.cn ——Folsom in practice
 
云计算思考
云计算思考云计算思考
云计算思考
 
Openstorage Openstack
Openstorage OpenstackOpenstorage Openstack
Openstorage Openstack
 
Openstack的研究与实践
Openstack的研究与实践Openstack的研究与实践
Openstack的研究与实践
 
Open Stack Cheng Du Swift Alex Yang
Open Stack Cheng Du Swift Alex YangOpen Stack Cheng Du Swift Alex Yang
Open Stack Cheng Du Swift Alex Yang
 
Nova与虚拟机管理
Nova与虚拟机管理Nova与虚拟机管理
Nova与虚拟机管理
 
Look Into Libvirt Osier Yang
Look Into Libvirt Osier YangLook Into Libvirt Osier Yang
Look Into Libvirt Osier Yang
 
Deep Dive Into Quantum
Deep Dive Into QuantumDeep Dive Into Quantum
Deep Dive Into Quantum
 

Quantum Networks

  • 1. Architecture of Quantum Folsom Release Yong Sheng Gong (龚永生) gongysh@cn.ibm.com gongysh #openstack-dev Quantum Core developer © 2012 IBM Corporation
  • 2. Agenda ■ OpenStack and Quantum ■ Quantum Architecture ■ Quantum models ■ communications among quantum components © 2012 IBM Corporation
  • 3. Agenda ■ OpenStack and Quantum ■ Quantum Architecture ■ Quantum models ■ communications among quantum components © 2012 IBM Corporation
  • 4. OpenStack: core projects that form a complete IaaS solution Compute (Nova) Provision and manage virtual machines Dashboard (Horizon) Self-service portal Image (Glance) Catalog and manage server images Identity (Keystone) Unified authentication, integrates with existing systems Network(Quantum) provide "network connectivity as a service" Object Storage (Swift) petabytes of secure, reliable object storage adapted from: http://26a0ff8ca8ba32139f7d-db711c577a50b6bdc946ea71aaca027d.r97.cf1.rackcdn.com/openstack-conceptual-arch-folsom.jpg / Block Storage 4 (Cinder) © 2012 IBM Corporation
  • 5. Quantum-NaaS *-as-a-Service Capability OpenStack Service Compute Nova Swift (Objects) Storage Cinder (Block) Glance (Images) identity Keystone Network Quantum © 2012 IBM Corporation
  • 6. Openstack architecture OpenStack Network API OpenStack Network API quantum-server REST l3-agent Queue plugin-agent quantum database dhcp-agent OpenStack Identity API © 2012 IBM Corporation
  • 7. Flow of booting a virtual server © 2012 IBM Corporation
  • 8. Quantum uses network virtualization 1.Hypervisor 2.nova-scheduler 3.nova-computes 1.quantum-server 2.plugin 3.agents 8 © 2012 IBM Corporation
  • 9. Agenda ■ OpenStack and Quantum ■ Quantum Architecture ■ Quantum models ■ communications among quantum components © 2012 IBM Corporation
  • 10. One of Deployment Models ■ Management network. Used for internal communication between OpenStack Components. The IP addresses on this network should be reachable only within the data center. ■ Data network. Used for VM data communication within the cloud deployment. The IP addressing requirements of this network depend on the Quantum plugin in use. ■ External network. Used to provide VMs with Internet access in some deployment scenarios. The IP addresses on this network should be reachable by anyone on the Internet. ■ API network. Exposes all OpenStack APIs, including the Quantum API, to tenants. The IP addresses on this network should be reachable by anyone on the Internet. This may be the same network as the external network, as it is possible to create a quantum subnet for the external network that uses IP allocation ranges to use only less than the full range of IP addresses in an IP block. from http://docs.openstack.org/trunk/openstack-network/admin/content/connectivity.html © 2012 IBM Corporation
  • 11. Another one of Deployment Models DHCP L3 Multi-host -> Multi-L3 Nodes? © 2012 IBM Corporation
  • 12. Components of quantum ■ Quantum server  Implement Qauntum API and its l3-agent extensions  Enforce network model Quantum • Network, subnet, and port  IP addressing to each port server & plugin Plugin ■ Plugin agent agent  Run on each compute node  Connect instances to network port ■ DHCP agent  In multi-host mode, run on each compute node (deferred)  Start/stop dhcp server DHCPagent  Maintain dhcp configuration DB Queue  L3-agent  To implement floating Ips and other L3 features, such as NAT  One per network ■ Queue  Enhance communication between each Note: we can share DB service and Queue components of quantum with other OpenStack stack services ■ DB – persistent network model 12 © 2012 IBM Corporation
  • 13. Layers in Quantum server vendor can add extensions Quantum API and extensions to provide more features Common service (Validation, Authn, Authz) Quantum Core Plugin API vendor specific plugin or open source plugin: 1. linux bridge plugin 2. openvswitch plugin Plugin 3. nicira 4. … DB device 13 © 2012 IBM Corporation
  • 14. Agenda ■ OpenStack and Quantum ■ Quantum Architecture ■ Quantum models ■ communications among quantum components © 2012 IBM Corporation
  • 15. Quantum models © 2012 IBM Corporation
  • 16. Network and physical bindings network Physical network Virtual network Identified by name Model in quantum Network binding Tenant network provider network GRE and local bindings have VLAN no physical network Flat GRE Local binding are for local devstack single box playing Linux bridge plugin has no GRE support Difference between provider network and tenant network? © 2012 IBM Corporation
  • 17. Other ways to view networks internal Private internal networks Shared internal networks Only fixed Ips are allocated from there. external we can create floating ips and Private external networks shared external networks router gateway on it, They should be able to access public network Other tenants private Only owner tenant shared besides the owner can create ports tenant can create on it. ports on it. © 2012 IBM Corporation
  • 18. A network sample for fixed ips Host A network A local Vlan ID 1 network C local Vlan ID 3 int-br-eth1 patch-tun br-int patch-port veth int-br-eth2 network B local Vlan ID 2 phy-br-eth1 patch-int phy-br-eth2 Physnet1 vSwitch Physnet2 vSwith br-eth1 br-eth2 br-tun GRE eth1 eth2 VM ports Physical net1 physical net2 vlan ID 1000 Flat host B DHCP ports host C host C local vlan id <-> tunnel id done by br-tun flow local vlan id <-> physical net vlan id done by physical net and br-int vSwitch © 2012 IBM Corporation
  • 19. Floatingip and Router Vm 10.0.1.5/24 gw: 10.0.1.1/24 Floating ip fixed port on fixed ip network Floatingip port Router interface 10.0.1.1/24 In general, gw_port The port acting as 7.0.1.2/24 router interface Floating ip: should has gateway 7.0.1.4/24 address of subnet External network internal nework router external network vswitch br-ex Vm 20.0.1.5/24 eth0 gw: 20.0.1.1/24 l3_agent Router is used for VM to access outside and allow VMs on different subnets or networks access each other Floating IP is used for outside to access VM © 2012 IBM Corporation
  • 20. A network sample for fixed ips and routers Host B Host A ovs-quantum-agent L3-agent ovs-quantum-agent network A network A network C dhcp-agent local Vlan ID 3 local Vlan ID 2 local Vlan ID 1 network C local Vlan ID 3 br-int br-int external network B local Vlan ID 1 network B network D local Vlan ID 2 binding: local Physnet1 vSwitch Physnet2 vSwith Physnet1 vSwitch Physnet2 vSwith br-ex br-tun br-tun br-eth1 br-eth2 br-eth1 br-eth2 GRE GRE eth0 eth1 eth1 eth2 eth2 VM ports public net Physical net1 DHCP ports vlan ID 1000 physical net2 Flat Router interface ports Router gateway and flaoting ip ports © 2012 IBM Corporation
  • 21. Agenda ■ OpenStack and Quantum ■ Quantum Architecture ■ Quantum models ■ communications among quantum components © 2012 IBM Corporation
  • 22. AMQP communication among quantum components Dhcp agent quantum-server get_active_networks get_network_info get_dhcp_port release_dhcp_port release_port_fixed_ip update_lease_expiration Plugin agent Quantum rest api (resource CUD) get_device_details update_device_down network_delete tunnel_update port_update tunnel_sync q-agent-notifier- q-agent-notifier- q-agent-notifier- Quantum network-delete_fanout tunnel-update_fanout port-update_fanout Exchange: topic fanout fanout fanout q-agent-notifier- q-agent-notifier- q-agent-notifier- Queue: q-plugin notifications.info tunnel-update_fanout port-update_fanout network-delete_fanout _{uuid4} _{uuid4} _{uuid4} Comsumer: quantum-server Dhcp agent Plugin agent © 2012 IBM Corporation
  • 23. Data flow of booting a virtual server among quantum components © 2012 IBM Corporation
  • 24. Enjoy hacking OpenStack! © 2012 IBM Corporation
  • 25. Backup – San Diego design summit http://wiki.openstack.org/Summit/Grizzly/Etherpads © 2012 IBM Corporation