SlideShare une entreprise Scribd logo
1  sur  37
Quantum,
network services for Openstack
            Salvatore Orlando
          sorlando@nicira.com
    Openstack Quantum core developer
           Twitter- @taturiello
Caveats
• Quantum is in its teenage years: there are lots
  of things that it WILL do, but doesn’t do yet;
  – nevertheless it has a great potential and energy
  – however it is a bit unruly and sometimes needs
    extra patience

• The main focus of this talk is on users wishing
  to deploy Quantum in their cloud
Outline
• What is OpenStack?
• Why Quantum?
• What is Quantum?
  – API Overview
  – Plugin Architecture
  – Quantum in Openstack Folsom
• Use Case: Nicira NVP Plugin
  – Network virtualization model
• Questions
What is OpenStack?
What is OpenStack?

                        “To produce the ubiquitous
                       open source cloud computing
                     platform that will meet the needs
                         of public and private cloud
                     providers regardless of size, by
                     being simple to implement and
                            massively scalable.”

 Allow anyone to automate IT provisioning in a public or private IaaS
 cloud that meets (and exceeds) the capabilities of Amazon EC2.
Why is Openstack Compelling?
Incredible cross-industry mindshare and momentum




        Real resource commitments from many companies:
200+ unique developers from 55+ companies in last 6-month release
Openstack core
                              Credits to Syed Armani
                     http://www.youtube.com/watch?v
                      =dD80PDDn6gw&context=C31ba4
                      d9ADOEgsToPDskJn_HO1uy2BQnr
                                           Gy-crqhnz
     HORIZON      KEYSTONE



                                  NOVA


GLANCE
Who is Deploying OpenStack?
 Hosting Providers




 Carrier / Telco




 Large Enterprise



 Government



More information: http://www.openstack.org
10,000 ft (3 km) Architecture View
• Each service is a separate piece of software, includes:
   – A tenant-facing API that exposes logical abstractions for
     consuming/monitoring the service.
   – Pluggable backend to choose “best of breed’
     implementations (open source or vendor proprietary).


                   Generic OpenStack APIs   Operator Selected Backends

                        Compute API                   KVM
                                                    XenServer


                        Network API              VLANs + IPtables
                                                   Nicira NVP
Tenant
(GUI, CLI,               Storage API                  EMC
                                                      NFS
API code)
Why Quantum?
In the beginning..
*-as-a-Service Capability       OpenStack Service

         Compute                       Nova


      Object Storage                   Swift



          Image                        Glance


         Identity                     Keystone


         Network
                                       ?
Why Quantum?
• Networking was sub-component of OpenStack
  Compute layer (Nova).
• Two Key Problems:
  #1: No tenant control of networking.
  #2: Limited technology “baked in” to design.
Problem #1: No Tenant Control
To move enterprise apps to the
cloud, tenants want to “copy and
paste” their existing data center
network topologies:
   – Ability to create “multi-tier”
     networks (e.g., web tier, app tier,
     db tier)
   – Control over IP addressing.
   – Ability to insert and configure your   “You can have any color as long
                                            as its black.“
     own services (e.g., firewall, IPS)     - Henry Ford about the Model-T
   – VPN/Bridge to remote physical
     hosting or customer premises
     (“cloudbursting”).
Why Quantum? Reason #1
      On-demand Enterprise-Class Networking
• Tenants can:
   – create multiple private networks
   – control IP addressing
   – monitor basic network status.

• Quantum API extensions provide:
   – Advanced control + visibility:
     Security policies, Quality-of-Service,    Build rich networks,
     Monitoring + Troubleshooting.            customized to tenant
                                                      needs.
   – Advanced Network Services:
     routers, Firewalls, VPN, IDS, etc.
Problem #2: Technology Limitations
• Cloud puts new stresses on
  networks:
  – High-density multi-tenancy, massive
    scale
  – Strict uptime requirements.
  – Integrate with legacy hosting
    environments / remote data centers.
  – VM mobility
                                          Who needs private
  – On-demand service insertion           networks?
• But Nova was limited to basic           Trunking all VLANs
  VLAN model + Linux IPtables.            is a great idea!

                                          - Stone Age Man
Why Quantum?
          #2: Leveraging Advanced Technologies
• New networking technologies are emerging
  to try and tackle these challenges.
   – Overlay tunneling: VXLAN, NVGRE, STT
   – Software-defined Networking (SDN) /
     OpenFlow
   – VPN-based solutions (e.g., E-VPN).
   – L2 Fabric solutions: FabricPath, Qfabric, etc.
   – Your Own Idea for virtual networking!

• Quantum provides a “plugin” mechanism to
  enable different technologies (more later).            Use advanced
                                                        technologies to
                                                      reach new heights.
• Choice is a good thing!
…and finally
*-as-a-Service Capability       OpenStack Service

         Compute                       Nova


      Object Storage                   Swift



          Image                        Glance


         Identity                     Keystone


         Network                      Quantum
What is Quantum?
Quantum Architecture
                      Generic OpenStack APIs   Operator Selected Backends

                           Compute API                 XenServer


                           Network API                 Nicira NVP
  Tenant Tools
    (GUI, CLI,              Storage API                  EMC
   API code)



An eco-system of      A generic tenant API      A “plugin” architecture
tools that leverage      to create and          with different back-end
the Quantum API.       configure “virtual              “engines”
                           networks”
Basic API Abstractions

                      VM1                  VM2                    virtual server
Nova                 10.0.0.2             10.0.0.3
                                                               virtual interface (VIF)


                                                                 virtual port
Quantum                       Net1
                                                              L2 virtual network
                           10.0.0.0/24

                                                      Subnet (new!)


           “virtual networks” are fundamentally
           multi-tenant, just like virtual servers.
Tenant view vs Provider view
                                     VM           VM                        VM           VM
                                     A1           A2                        B1           B2
Tenant View
                                          Network A                              Network B




                         Phy Srv 1                              Phy Srv 2                             Phy Srv 3

                      VM      VM                                            VM                                    VM
                      A1      B1                                            A2                                    B2


                Hypervisor                             Hypervisor                            Hypervisor

Provider View


                                                      Data Centre Network
Quantum Model: Dynamic Network
     Creation + Association
                           TenantA-VM2           TenantA-VM3
          TenantA-VM1
                             10.0.0.3               9.0.0.2
            10.0.0.2
                              9.0.0.3



                        Tenant-A Net1          Tenant-A Net2
                         10.0.0.0/24             9.0.0.0/24



 Public Net
88.0.0.0/18
                 • Tenant can use API to create many networks.
                 • When booting a VM, define which network(s) it
                   should connect to.
                 • Can even plug-in instances from other services
                   (e.g., a load-balancing service).
Quantum API Extensions
• Enables innovation in virtual networking.
    – Tenants can query API to programmatically discover supported extensions.
    – Overtime, extensions implemented by many plugins can become “core”.

• Add properties on top of existing network/port abstractions:

    – QoS/SLA guarantees / limits

    – Security Filter Policies

    – port statistics / netflow

• New Services
    – L3 forwarding, ACLs + NAT (“elastic” or “floating” IPs)
    – VPN connectivity between cloud and customer site, or another cloud
      datacenter.
Example: Quantum + Extensions
                                 TenantA-VM2             TenantA-VM3
                TenantA-VM1
                                   10.0.0.3                10.0.1.2
                  10.0.0.2
                                    9.0.0.3



      TenantA-VM4        Tenant-A Net1                 Tenant-A Net2
       172.16.0.30        10.0.0.0/24                   10.0.1.0/24


            Tenant-A Net3
            172.16.0.0/24
                                                                 Not
    VPN                                                          necessarily a
 Tenant-A On                                                     VM!
 Premise Net                              Public Net
172.16.0.0/24                            88.0.0.0/18
Quantum Architecture
                      Generic OpenStack APIs   Operator Selected Backends

                           Compute API                 XenServer


                           Network API                 Nicira NVP
  Tenant Tools
    (GUI, CLI,              Storage API                  EMC
   API code)



An eco-system of      A generic tenant API      A “plugin” architecture
tools that leverage      to create and          with different back-end
the Quantum API.       configure “virtual              “engines”
                           networks”
Quantum “Plugins”
• Different plugin “engines” present different trade-offs:
    –   Free vs. Commercially Supported
    –   Advanced Features (exposed as API extensions)
    –   Scalability
    –   High Availability (control & data plane)
    –   Hypervisor Compatibility
    –   Network HW Compat (vendor specific? Allow L3 scale-out?)
    –   Manageability / troubleshooting

• Cloud Operators weigh trade-offs, choose a plugin.

• Note: Back-end technology hidden behind core Quantum API
    – Example: VLANs vs. tunneling
Quantum Architecture (generic)
API Clients      Quantum Service                 Backend X

                 Quantum
                   API

      Tenant     Create-net
      Scripts          .
     Horizon
                       .           Plugin
      GUI              .             X
                   Create-
 Orchestration
                                                                        Physical
                    port                          virtual switch
     Code                                                               Network
                                                   Nova Compute
                    API
                 Extensions

                                            Interfaces from Nova plug
                                             into a switch manages by
                 Uniform API
                                               the Quantum plugin.
                 for all clients
Open Source and Commercial
       Quantum Plugins
Basic open source plugins based on Open vSwitch, Linux Bridge,
and Ryu network operating system exist


The following vendors have publicly stated that they already have
or are developing a Quantum plugin (others exist as well)
Quantum Project Releases
• Incubation release (OpenStack Essex, April ‘12)
   – v1 API, base L2 API abstractions
   – 5 plugins available.
   – In production at early adopters.

• First “core” release (OpenStack Folsom, Oct. ‘12)
   – v2 API, with L2 + L3 API abstractions
   – Additional plugins available.
   – Quantum becomes “default” networking option for
     OpenStack.
New in Folsom – Quantum API v2
• “merge” between Quantum v1 and Melange
  – API specification draft:
    http://wiki.openstack.org/Quantum/APIv2-
    specification
• New resource: Subnet
  – IP address blocks for instances, IP gateway, dns
    nameservers, host routes and IP allocation pools
• IP and MAC allocation for ports
• Shared networks
• “Provider” networks (API extension)
New in Folsom – Interaction with nova
• Nova-network not invoked anymore
• Compute manager calls Quantum directly
• Capabilities exposed by the “Quantum
  Manager” for nova network now provided by
  Quantum
Changes in Nova/Quantum interaction
New in Folsom – DHCP agent
• Sends IP configuration to instances
  – IP address and default gateway
  – DNS nameservers
  – Host Routes
• Configuration info fetched from Quantum
  database
• Attaches to Quantum networks and
  listens for DHCP requests
Quantum Case Study:
Quantum Plugin for Nicira NVP
Nicira NVP Network Virt Model
• Edge virtualization in hypervisor (open vswitch) with
  overlay tunneling decouples logical + physical topology.
   – Flexibility designing Fabric (requires only IP unicast)
       • Can use traditional design, or Fat-tree/Clos
       • No requirement for L2 adjacency, large MAC/ACL tables in HW
   – Place/move any workload anywhere in the DC.

• Control Plane work is Distributed across nodes within the
  NVP control cluster to provide scalability & fault tolerance.

• Quantum Tenants can dynamically create/modify/monitor
  rich networks abstractions via Quantum API.
Quantum w/NVP Architecture
API Clients        Quantum Service          Nicira NVP

                                                             Controller
                   Quantum                   NVP             Cluster
                                  NVP          NVP
                                                NVP
                     API                   Controller        handles NO
                                 Plugin     Controller
                                              Controller
                                                             dataplane
    Tenant         Create-net                  Cluster       traffic.
    Scripts                      Create-
                        .          net
                        .           .
   Horizon
                        .           .
                   Create-port
Orchestration                       .
    Code                         Create-                       L3 Fabric
                                                  OVS
                      API         port
                   Extensions                 Nova Compute
Thanks!
        Questions?

        Salvatore Orlando
      sorlando@nicira.com
OpenStack Quantum core developer
       twitter - @taturiello

Contenu connexe

Tendances

Network Virtualization with quantum
Network Virtualization with quantum Network Virtualization with quantum
Network Virtualization with quantum
openstackindia
 
OpenStack Quantum - Past, Present & Future
OpenStack Quantum - Past, Present & FutureOpenStack Quantum - Past, Present & Future
OpenStack Quantum - Past, Present & Future
Somik Behera
 

Tendances (20)

Network Virtualization with quantum
Network Virtualization with quantum Network Virtualization with quantum
Network Virtualization with quantum
 
Deep Dive Into Quantum
Deep Dive Into QuantumDeep Dive Into Quantum
Deep Dive Into Quantum
 
Quantum - The Network Mechanics
Quantum - The Network MechanicsQuantum - The Network Mechanics
Quantum - The Network Mechanics
 
Scalable networking in Apache CloudStack
Scalable networking in Apache CloudStackScalable networking in Apache CloudStack
Scalable networking in Apache CloudStack
 
12th Japan CloudStack User Group Meetup MidoNet with scalable virtual router
12th Japan CloudStack User Group Meetup   MidoNet with scalable virtual router12th Japan CloudStack User Group Meetup   MidoNet with scalable virtual router
12th Japan CloudStack User Group Meetup MidoNet with scalable virtual router
 
CloudStack + SDN
CloudStack + SDNCloudStack + SDN
CloudStack + SDN
 
Quantum Networks
Quantum NetworksQuantum Networks
Quantum Networks
 
CloudStack and SDN
CloudStack and SDNCloudStack and SDN
CloudStack and SDN
 
RunningQuantumOnQuantumAtNicira.pdf
RunningQuantumOnQuantumAtNicira.pdfRunningQuantumOnQuantumAtNicira.pdf
RunningQuantumOnQuantumAtNicira.pdf
 
CloudStack Performance Testing
CloudStack Performance TestingCloudStack Performance Testing
CloudStack Performance Testing
 
OpenStack Quantum - Past, Present & Future
OpenStack Quantum - Past, Present & FutureOpenStack Quantum - Past, Present & Future
OpenStack Quantum - Past, Present & Future
 
Supporting and Using EC2/CIMI on top of Cloud Environments via Deltacloud
Supporting and Using EC2/CIMI on top of Cloud Environments via DeltacloudSupporting and Using EC2/CIMI on top of Cloud Environments via Deltacloud
Supporting and Using EC2/CIMI on top of Cloud Environments via Deltacloud
 
iPaas with Fuse Fabric Technology
iPaas with Fuse Fabric TechnologyiPaas with Fuse Fabric Technology
iPaas with Fuse Fabric Technology
 
Nic teaming and converged fabric
Nic teaming and converged fabricNic teaming and converged fabric
Nic teaming and converged fabric
 
DevCloud and CloudMonkey
DevCloud and CloudMonkeyDevCloud and CloudMonkey
DevCloud and CloudMonkey
 
Networking in the Cloud Age (LISA 2012 Tutorial)
Networking in the Cloud Age (LISA 2012 Tutorial)Networking in the Cloud Age (LISA 2012 Tutorial)
Networking in the Cloud Age (LISA 2012 Tutorial)
 
Toward a practical “HPC Cloud”: Performance tuning of a virtualized HPC cluster
Toward a practical “HPC Cloud”: Performance tuning of a virtualized HPC clusterToward a practical “HPC Cloud”: Performance tuning of a virtualized HPC cluster
Toward a practical “HPC Cloud”: Performance tuning of a virtualized HPC cluster
 
Toward a practical “HPC Cloud”: Performance tuning of a virtualized HPC cluster
Toward a practical “HPC Cloud”: Performance tuning of a virtualized HPC clusterToward a practical “HPC Cloud”: Performance tuning of a virtualized HPC cluster
Toward a practical “HPC Cloud”: Performance tuning of a virtualized HPC cluster
 
From Distributed to Pervasive OSGi
From Distributed to Pervasive OSGiFrom Distributed to Pervasive OSGi
From Distributed to Pervasive OSGi
 
Distributed Services - OSGi 4.2 and possible future enhancements
Distributed Services - OSGi 4.2 and possible future enhancementsDistributed Services - OSGi 4.2 and possible future enhancements
Distributed Services - OSGi 4.2 and possible future enhancements
 

En vedette

Circassia, Genocide and Ethnic cleansing - Part 2
Circassia, Genocide and Ethnic cleansing - Part 2Circassia, Genocide and Ethnic cleansing - Part 2
Circassia, Genocide and Ethnic cleansing - Part 2
Walid Hakouz
 
Grammar book (complete)
Grammar book (complete)Grammar book (complete)
Grammar book (complete)
ajpeace96
 
Spanish powerpoint presentation
Spanish powerpoint presentationSpanish powerpoint presentation
Spanish powerpoint presentation
Mbrewer1
 
Private sector - recommendations from AIGLIA2014
Private sector - recommendations from AIGLIA2014Private sector - recommendations from AIGLIA2014
Private sector - recommendations from AIGLIA2014
futureagricultures
 
Baloncesto
BaloncestoBaloncesto
Baloncesto
aha100
 
Традо питание по дошам
Традо питание по дошамТрадо питание по дошам
Традо питание по дошам
Елена Шальнова
 
Lifestyle1
Lifestyle1Lifestyle1
Lifestyle1
Les Davy
 

En vedette (20)

Infographic - MSP AWS Migration
Infographic - MSP AWS MigrationInfographic - MSP AWS Migration
Infographic - MSP AWS Migration
 
Dominika Tambor
Dominika TamborDominika Tambor
Dominika Tambor
 
Issue 7 March 2011
Issue 7 March 2011Issue 7 March 2011
Issue 7 March 2011
 
Circassia, Genocide and Ethnic cleansing - Part 2
Circassia, Genocide and Ethnic cleansing - Part 2Circassia, Genocide and Ethnic cleansing - Part 2
Circassia, Genocide and Ethnic cleansing - Part 2
 
Ramazan hilal-2011
Ramazan hilal-2011Ramazan hilal-2011
Ramazan hilal-2011
 
Grammar book (complete)
Grammar book (complete)Grammar book (complete)
Grammar book (complete)
 
Aol baku address
Aol baku addressAol baku address
Aol baku address
 
Basic conversation 4
Basic conversation 4Basic conversation 4
Basic conversation 4
 
Cruzcerna
CruzcernaCruzcerna
Cruzcerna
 
Spanish powerpoint presentation
Spanish powerpoint presentationSpanish powerpoint presentation
Spanish powerpoint presentation
 
Issue 2 October 2010
Issue 2 October 2010Issue 2 October 2010
Issue 2 October 2010
 
Private sector - recommendations from AIGLIA2014
Private sector - recommendations from AIGLIA2014Private sector - recommendations from AIGLIA2014
Private sector - recommendations from AIGLIA2014
 
Hello
HelloHello
Hello
 
Notam 05 dez 14
Notam 05 dez 14Notam 05 dez 14
Notam 05 dez 14
 
Baloncesto
BaloncestoBaloncesto
Baloncesto
 
Transport Layer
Transport LayerTransport Layer
Transport Layer
 
IOS
IOSIOS
IOS
 
Традо питание по дошам
Традо питание по дошамТрадо питание по дошам
Традо питание по дошам
 
Lifestyle1
Lifestyle1Lifestyle1
Lifestyle1
 
5 of the largest warehouses
5 of the largest warehouses5 of the largest warehouses
5 of the largest warehouses
 

Similaire à Am 04 track1--salvatore orlando--openstack-apac-2012-final

Openstack Quantum yahoo meetup 1 23-13
Openstack Quantum yahoo meetup 1 23-13Openstack Quantum yahoo meetup 1 23-13
Openstack Quantum yahoo meetup 1 23-13
Dan Wendlandt
 
OpenStack 2012 fall summit observation - Quantum/SDN
OpenStack 2012 fall summit observation - Quantum/SDNOpenStack 2012 fall summit observation - Quantum/SDN
OpenStack 2012 fall summit observation - Quantum/SDN
Te-Yen Liu
 
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
Mark Hinkle
 
Windows server 8 hyper v networking (aidan finn)
Windows server 8 hyper v networking (aidan finn)Windows server 8 hyper v networking (aidan finn)
Windows server 8 hyper v networking (aidan finn)
hypervnu
 
Ryu: network operating system
Ryu: network operating systemRyu: network operating system
Ryu: network operating system
Isaku Yamahata
 

Similaire à Am 04 track1--salvatore orlando--openstack-apac-2012-final (20)

Network virtualization with open stack quantum
Network virtualization with open stack quantumNetwork virtualization with open stack quantum
Network virtualization with open stack quantum
 
OpenStack Quantum Intro (OS Meetup 3-26-12)
OpenStack Quantum Intro (OS Meetup 3-26-12)OpenStack Quantum Intro (OS Meetup 3-26-12)
OpenStack Quantum Intro (OS Meetup 3-26-12)
 
Openstack Quantum yahoo meetup 1 23-13
Openstack Quantum yahoo meetup 1 23-13Openstack Quantum yahoo meetup 1 23-13
Openstack Quantum yahoo meetup 1 23-13
 
OpenStack 2012 fall summit observation - Quantum/SDN
OpenStack 2012 fall summit observation - Quantum/SDNOpenStack 2012 fall summit observation - Quantum/SDN
OpenStack 2012 fall summit observation - Quantum/SDN
 
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
 
OpenStack Quantum
OpenStack QuantumOpenStack Quantum
OpenStack Quantum
 
Quantum (OpenStack Meetup Feb 9th, 2012)
Quantum (OpenStack Meetup Feb 9th, 2012)Quantum (OpenStack Meetup Feb 9th, 2012)
Quantum (OpenStack Meetup Feb 9th, 2012)
 
Quantum - Virtual networks for Openstack
Quantum - Virtual networks for OpenstackQuantum - Virtual networks for Openstack
Quantum - Virtual networks for Openstack
 
Quantum essex summary
Quantum essex summaryQuantum essex summary
Quantum essex summary
 
Networking is NOT Free: Lessons in Network Design
Networking is NOT Free: Lessons in Network DesignNetworking is NOT Free: Lessons in Network Design
Networking is NOT Free: Lessons in Network Design
 
Windows server 8 hyper v networking (aidan finn)
Windows server 8 hyper v networking (aidan finn)Windows server 8 hyper v networking (aidan finn)
Windows server 8 hyper v networking (aidan finn)
 
Prairie DevCon-What's New in Hyper-V in Windows Server "8" Beta - Part 2
Prairie DevCon-What's New in Hyper-V in Windows Server "8" Beta - Part 2Prairie DevCon-What's New in Hyper-V in Windows Server "8" Beta - Part 2
Prairie DevCon-What's New in Hyper-V in Windows Server "8" Beta - Part 2
 
Openstack Global Meetup
Openstack Global Meetup Openstack Global Meetup
Openstack Global Meetup
 
Windows Server 8 Hyper V Networking
Windows Server 8 Hyper V NetworkingWindows Server 8 Hyper V Networking
Windows Server 8 Hyper V Networking
 
Open stack networking_101_update_2014-os-meetups
Open stack networking_101_update_2014-os-meetupsOpen stack networking_101_update_2014-os-meetups
Open stack networking_101_update_2014-os-meetups
 
OpenStack and OpenFlow Demos
OpenStack and OpenFlow DemosOpenStack and OpenFlow Demos
OpenStack and OpenFlow Demos
 
Ryu: network operating system
Ryu: network operating systemRyu: network operating system
Ryu: network operating system
 
DPDK Summit - 08 Sept 2014 - Futurewei - Jun Xu - Revisit the IP Stack in Lin...
DPDK Summit - 08 Sept 2014 - Futurewei - Jun Xu - Revisit the IP Stack in Lin...DPDK Summit - 08 Sept 2014 - Futurewei - Jun Xu - Revisit the IP Stack in Lin...
DPDK Summit - 08 Sept 2014 - Futurewei - Jun Xu - Revisit the IP Stack in Lin...
 
Support of containerized workloads in ONAP
Support of containerized workloads in ONAPSupport of containerized workloads in ONAP
Support of containerized workloads in ONAP
 
Windows Server 2012 Hyper-V Networking Evolved
Windows Server 2012 Hyper-V Networking Evolved Windows Server 2012 Hyper-V Networking Evolved
Windows Server 2012 Hyper-V Networking Evolved
 

Plus de OpenCity Community

Plus de 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
 
云计算思考
云计算思考云计算思考
云计算思考
 
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
 
Cinder Status Openstack Shanghai
Cinder Status Openstack ShanghaiCinder Status Openstack Shanghai
Cinder Status Openstack Shanghai
 
2012 11 Openstack China
2012 11 Openstack China2012 11 Openstack China
2012 11 Openstack China
 

Dernier

EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
Earley Information Science
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
giselly40
 

Dernier (20)

presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 

Am 04 track1--salvatore orlando--openstack-apac-2012-final

  • 1. Quantum, network services for Openstack Salvatore Orlando sorlando@nicira.com Openstack Quantum core developer Twitter- @taturiello
  • 2. Caveats • Quantum is in its teenage years: there are lots of things that it WILL do, but doesn’t do yet; – nevertheless it has a great potential and energy – however it is a bit unruly and sometimes needs extra patience • The main focus of this talk is on users wishing to deploy Quantum in their cloud
  • 3. Outline • What is OpenStack? • Why Quantum? • What is Quantum? – API Overview – Plugin Architecture – Quantum in Openstack Folsom • Use Case: Nicira NVP Plugin – Network virtualization model • Questions
  • 5. What is OpenStack? “To produce the ubiquitous open source cloud computing platform that will meet the needs of public and private cloud providers regardless of size, by being simple to implement and massively scalable.” Allow anyone to automate IT provisioning in a public or private IaaS cloud that meets (and exceeds) the capabilities of Amazon EC2.
  • 6. Why is Openstack Compelling? Incredible cross-industry mindshare and momentum Real resource commitments from many companies: 200+ unique developers from 55+ companies in last 6-month release
  • 7. Openstack core Credits to Syed Armani http://www.youtube.com/watch?v =dD80PDDn6gw&context=C31ba4 d9ADOEgsToPDskJn_HO1uy2BQnr Gy-crqhnz HORIZON KEYSTONE NOVA GLANCE
  • 8. Who is Deploying OpenStack? Hosting Providers Carrier / Telco Large Enterprise Government More information: http://www.openstack.org
  • 9. 10,000 ft (3 km) Architecture View • Each service is a separate piece of software, includes: – A tenant-facing API that exposes logical abstractions for consuming/monitoring the service. – Pluggable backend to choose “best of breed’ implementations (open source or vendor proprietary). Generic OpenStack APIs Operator Selected Backends Compute API KVM XenServer Network API VLANs + IPtables Nicira NVP Tenant (GUI, CLI, Storage API EMC NFS API code)
  • 11. In the beginning.. *-as-a-Service Capability OpenStack Service Compute Nova Object Storage Swift Image Glance Identity Keystone Network ?
  • 12. Why Quantum? • Networking was sub-component of OpenStack Compute layer (Nova). • Two Key Problems: #1: No tenant control of networking. #2: Limited technology “baked in” to design.
  • 13. Problem #1: No Tenant Control To move enterprise apps to the cloud, tenants want to “copy and paste” their existing data center network topologies: – Ability to create “multi-tier” networks (e.g., web tier, app tier, db tier) – Control over IP addressing. – Ability to insert and configure your “You can have any color as long as its black.“ own services (e.g., firewall, IPS) - Henry Ford about the Model-T – VPN/Bridge to remote physical hosting or customer premises (“cloudbursting”).
  • 14. Why Quantum? Reason #1 On-demand Enterprise-Class Networking • Tenants can: – create multiple private networks – control IP addressing – monitor basic network status. • Quantum API extensions provide: – Advanced control + visibility: Security policies, Quality-of-Service, Build rich networks, Monitoring + Troubleshooting. customized to tenant needs. – Advanced Network Services: routers, Firewalls, VPN, IDS, etc.
  • 15. Problem #2: Technology Limitations • Cloud puts new stresses on networks: – High-density multi-tenancy, massive scale – Strict uptime requirements. – Integrate with legacy hosting environments / remote data centers. – VM mobility Who needs private – On-demand service insertion networks? • But Nova was limited to basic Trunking all VLANs VLAN model + Linux IPtables. is a great idea! - Stone Age Man
  • 16. Why Quantum? #2: Leveraging Advanced Technologies • New networking technologies are emerging to try and tackle these challenges. – Overlay tunneling: VXLAN, NVGRE, STT – Software-defined Networking (SDN) / OpenFlow – VPN-based solutions (e.g., E-VPN). – L2 Fabric solutions: FabricPath, Qfabric, etc. – Your Own Idea for virtual networking! • Quantum provides a “plugin” mechanism to enable different technologies (more later). Use advanced technologies to reach new heights. • Choice is a good thing!
  • 17. …and finally *-as-a-Service Capability OpenStack Service Compute Nova Object Storage Swift Image Glance Identity Keystone Network Quantum
  • 19. Quantum Architecture Generic OpenStack APIs Operator Selected Backends Compute API XenServer Network API Nicira NVP Tenant Tools (GUI, CLI, Storage API EMC API code) An eco-system of A generic tenant API A “plugin” architecture tools that leverage to create and with different back-end the Quantum API. configure “virtual “engines” networks”
  • 20. Basic API Abstractions VM1 VM2 virtual server Nova 10.0.0.2 10.0.0.3 virtual interface (VIF) virtual port Quantum Net1 L2 virtual network 10.0.0.0/24 Subnet (new!) “virtual networks” are fundamentally multi-tenant, just like virtual servers.
  • 21. Tenant view vs Provider view VM VM VM VM A1 A2 B1 B2 Tenant View Network A Network B Phy Srv 1 Phy Srv 2 Phy Srv 3 VM VM VM VM A1 B1 A2 B2 Hypervisor Hypervisor Hypervisor Provider View Data Centre Network
  • 22. Quantum Model: Dynamic Network Creation + Association TenantA-VM2 TenantA-VM3 TenantA-VM1 10.0.0.3 9.0.0.2 10.0.0.2 9.0.0.3 Tenant-A Net1 Tenant-A Net2 10.0.0.0/24 9.0.0.0/24 Public Net 88.0.0.0/18 • Tenant can use API to create many networks. • When booting a VM, define which network(s) it should connect to. • Can even plug-in instances from other services (e.g., a load-balancing service).
  • 23. Quantum API Extensions • Enables innovation in virtual networking. – Tenants can query API to programmatically discover supported extensions. – Overtime, extensions implemented by many plugins can become “core”. • Add properties on top of existing network/port abstractions: – QoS/SLA guarantees / limits – Security Filter Policies – port statistics / netflow • New Services – L3 forwarding, ACLs + NAT (“elastic” or “floating” IPs) – VPN connectivity between cloud and customer site, or another cloud datacenter.
  • 24. Example: Quantum + Extensions TenantA-VM2 TenantA-VM3 TenantA-VM1 10.0.0.3 10.0.1.2 10.0.0.2 9.0.0.3 TenantA-VM4 Tenant-A Net1 Tenant-A Net2 172.16.0.30 10.0.0.0/24 10.0.1.0/24 Tenant-A Net3 172.16.0.0/24 Not VPN necessarily a Tenant-A On VM! Premise Net Public Net 172.16.0.0/24 88.0.0.0/18
  • 25. Quantum Architecture Generic OpenStack APIs Operator Selected Backends Compute API XenServer Network API Nicira NVP Tenant Tools (GUI, CLI, Storage API EMC API code) An eco-system of A generic tenant API A “plugin” architecture tools that leverage to create and with different back-end the Quantum API. configure “virtual “engines” networks”
  • 26. Quantum “Plugins” • Different plugin “engines” present different trade-offs: – Free vs. Commercially Supported – Advanced Features (exposed as API extensions) – Scalability – High Availability (control & data plane) – Hypervisor Compatibility – Network HW Compat (vendor specific? Allow L3 scale-out?) – Manageability / troubleshooting • Cloud Operators weigh trade-offs, choose a plugin. • Note: Back-end technology hidden behind core Quantum API – Example: VLANs vs. tunneling
  • 27. Quantum Architecture (generic) API Clients Quantum Service Backend X Quantum API Tenant Create-net Scripts . Horizon . Plugin GUI . X Create- Orchestration Physical port virtual switch Code Network Nova Compute API Extensions Interfaces from Nova plug into a switch manages by Uniform API the Quantum plugin. for all clients
  • 28. Open Source and Commercial Quantum Plugins Basic open source plugins based on Open vSwitch, Linux Bridge, and Ryu network operating system exist The following vendors have publicly stated that they already have or are developing a Quantum plugin (others exist as well)
  • 29. Quantum Project Releases • Incubation release (OpenStack Essex, April ‘12) – v1 API, base L2 API abstractions – 5 plugins available. – In production at early adopters. • First “core” release (OpenStack Folsom, Oct. ‘12) – v2 API, with L2 + L3 API abstractions – Additional plugins available. – Quantum becomes “default” networking option for OpenStack.
  • 30. New in Folsom – Quantum API v2 • “merge” between Quantum v1 and Melange – API specification draft: http://wiki.openstack.org/Quantum/APIv2- specification • New resource: Subnet – IP address blocks for instances, IP gateway, dns nameservers, host routes and IP allocation pools • IP and MAC allocation for ports • Shared networks • “Provider” networks (API extension)
  • 31. New in Folsom – Interaction with nova • Nova-network not invoked anymore • Compute manager calls Quantum directly • Capabilities exposed by the “Quantum Manager” for nova network now provided by Quantum
  • 32. Changes in Nova/Quantum interaction
  • 33. New in Folsom – DHCP agent • Sends IP configuration to instances – IP address and default gateway – DNS nameservers – Host Routes • Configuration info fetched from Quantum database • Attaches to Quantum networks and listens for DHCP requests
  • 34. Quantum Case Study: Quantum Plugin for Nicira NVP
  • 35. Nicira NVP Network Virt Model • Edge virtualization in hypervisor (open vswitch) with overlay tunneling decouples logical + physical topology. – Flexibility designing Fabric (requires only IP unicast) • Can use traditional design, or Fat-tree/Clos • No requirement for L2 adjacency, large MAC/ACL tables in HW – Place/move any workload anywhere in the DC. • Control Plane work is Distributed across nodes within the NVP control cluster to provide scalability & fault tolerance. • Quantum Tenants can dynamically create/modify/monitor rich networks abstractions via Quantum API.
  • 36. Quantum w/NVP Architecture API Clients Quantum Service Nicira NVP Controller Quantum NVP Cluster NVP NVP NVP API Controller handles NO Plugin Controller Controller dataplane Tenant Create-net Cluster traffic. Scripts Create- . net . . Horizon . . Create-port Orchestration . Code Create- L3 Fabric OVS API port Extensions Nova Compute
  • 37. Thanks! Questions? Salvatore Orlando sorlando@nicira.com OpenStack Quantum core developer twitter - @taturiello