SlideShare ist ein Scribd-Unternehmen logo
1 von 41
Network Service in
               OpenStack Cloud

                           Yaohui Jin
                    email: jinyh@sjtu.edu.cn
                    Sina Weibo: @bright_jin
     (The slides will be shared in Sina Weipan & Slideshare )


                  Network & Information Center

© jinyh@sjtu
Acknowledgement

       Team: Dr. Xuan Luo, Pengfei Zhang, Xiaosheng Zuo,
        Zhixing Xu, Xinyu Xu, Jianwen Wei, Baoqing Huang, etc.
       Prof. Hongfang Yu and team with UESTC
       Prof. Jianping Wang with CityU HK
       Engineers, discussion and slides from Intel, SINA, IBM,
        Cisco, Dell, VMware/EMC, H3C, Huawei, IXIA, …
       OpenStack Community
       China OpenStack User Group (COSUG)
       China OpenStack Cloud League (COSCL)
       Technical blogs such as blog.ioshints.info, ipspace.net, …


© jinyh@sjtu                                                         2
About me


       上海交通大学 教授,以前做光通信的,现在改行
        做云计算了。。。 
       上海交通大学 网络信息中心 副主任,其实就是
        个苦逼的挨踢网管啊。。。 
       研究兴趣: 数据中心网络,海量流式数据分析,
        云计算架构




© jinyh@sjtu                     3
OpenStack in Academia
                            for Research & Operation
       USC, Information Science Institute
       Purdue University
       University of Melbourne
       San Diego Supercomputer Center
       Brookhaven National Lab., DOE
       Argonne National Lab., DOE
       European Organization for Nuclear Research (CERN)
       Shanghai Jiao Tong University
       University of Science & Technology of China
       University of Electrical Science & Technology of China
       ……
© jinyh@sjtu                                                     4
Agenda


       Introduction
       SDN and OpenFlow
       Network Virtualization
       Network Virtualization in OpenStack
       Our Work




© jinyh@sjtu                                  5
The Service Trend

       "Decoupling infrastructure management from service
        management can lead to innovation, new business
        models, and a reduction in the complexity of running
        services. It is happening in the world of computing, and
        is poised to happen in networking.“
                                                Jennifer Rexford
                                 Professor, Princeton University

                                Last month, VMware paid $1.2B
                                 to acquire Nicira for software
                                 defined networking (SDN).



© jinyh@sjtu                                                       6
Why is Nicira worth $1.2 billion?




© jinyh@sjtu                                       7
SDN and OpenFlow




© jinyh@sjtu
Software Defined Network (SDN)

       A network architecture in which the network control
        plane (OS) is decoupled from the physical topology
        using open protocols such as OpenFlow.




© jinyh@sjtu                                                  9
Flow Table (v1.1)

       Rules: Ethernet, IP, MPLS, TCP/UDP any combination,
        exact or wildcard
       Actions: Forward, Drop, Modify field (NAT)
       Statistics: Volume based billing, anti DDOS




© jinyh@sjtu                                                  10
OpenFlow Implementation


       Hypervisor Mode
              Open vSwitch (OVS): XEN, KVM, …
              OVS other features: security, visibility, QoS,
               automated control
       Hardware Mode
              OpenFlow Switch
              Hop by hop configuration




© jinyh@sjtu                                                    11
Reality Check

       “OpenFlow doesn’t let you do anything you couldn’t do on a
        network before” –Scott Shenker (Professor, UC Berkeley,
        OpenFlow co-inventor)
       Frames are still forwarded, packets are delivered to hosts.
       OpenFlow 1.3 was recently approved.
       Major vendors are participating - Cisco, Juniper, Brocade,
        Huawei, Ericsson, etc. It’s still early stage technology but
        commercial products are shipping.
       OpenFlow led by large companies Google/Yahoo/Verizon
        and lack of focus on practical applications in the enterprise.



© jinyh@sjtu                                                           12
OpenFlow Interop

       Fifteen Vendors Demonstrate OpenFlow Switches at
        Interop (May 8-12, 2011)




© jinyh@sjtu                                               13
Network Virtualization




© jinyh@sjtu
General Data Center Architecture




 Cloud management system allows us dynamically provisioning VMs and virtual storage.


© jinyh@sjtu                                                                    15
What customers really want?




          Virtual Network


                  Requirements
                  Multiple logical segments
                  Multi-tie applications
                  Load balancing and firewalling
                  Unlimited scalability and mobility

© jinyh@sjtu                                                     16
Multi-Tenant Isolation
       Making life easier for the cloud provider
              Customer VMs attached to “random” L3 subnets
              VM IP addresses allocated by the IaaS provider
              Predefined configurations or user-controlled firewalls
       Autonomous tenant address space
              Both MAC and IP addresses could overlap between two tenants, or
               even within the same tenant
              Each overlapping address space needs a separate segment




© jinyh@sjtu                                                                     17
Scalability

       Datacenter networks have got much bigger (and getting bigger still !!)
              Juniper’s Qfabric ~6000 ports, Cisco’s FabricPath over 10k ports
       Tenant number dramatically increase as the IaaS experiences rapid
        commoditization
              Forrester Research forecasts that public cloud today globally valued at
               $2.9B, projected to grow to $5.85B by 2015.
       Server virtualization increase demand on switch MAC address tables
              Physical with 2 MACs -> 100 VMs with 2 vNIC need 200+ MACs!




© jinyh@sjtu                                                                             18
Possible Solutions (1)

       VLANs per tenant
              limitations of VLAN-id range (Only 12bits ID = 4K)
              VLAN trunk is manually configured
              Spanning tree limits the size of the network
       L2 over L2
              vCDNI(VMware), Provider Bridging(Q-in-Q)
              Limitations in number of users (limited by VLAN-id range)
              Proliferation of VM MAC addresses in switches in the network
               (requiring larger table sizes in switches)
              Switches must support use of same MAC address in multiple
               VLANs (independent VLAN learning)



© jinyh@sjtu                                                                  19
Possible Solutions (2): L2 over IP

       Virtual eXtensible LAN (VXLAN)
              VMware, Arista, Broadcom, Cisco, Citrix, Red Hat
              VXLAN Network Identifier (VNI): 24 bits = 16M
              UDP encapsulation, new protocol
       Network Virtualization Generic Routing Encapsulation
        (NVGRE)
              Microsoft, Arista, Intel, Dell, HP, Broadcom, Emulex
              Virtual Subnet Identifier (VSID): 24 bits = 16M
              GRE tunneling, relies on existing protocol
       Stateless Transport Tunneling (STT)
              Nicira
              Context ID: 64 bits, TCP-like encapsulation

© jinyh@sjtu                                                          20
VXLAN/NVGRE: How it Works?


                                  without
                                  overlay




                                 using VXLAN



                                 using NVGRE

© jinyh@sjtu                                21
Dynamic MAC learning

       Dynamic MAC learning with L2 flooding over IP multicasting




         Flooding does not scale when fabric gets bigger.


© jinyh@sjtu                                                    22
Control Plane (Nicira)

       L2-over-IP with control plane
              OpenFlow-capable vSwitches
              IP tunnels (GRE, STT ...)
              MAC-to-IP mappings by OpenFlow
              Third-party physical devices
       Benefits
              No reliance on flooding
              No IP multicast in the core




© jinyh@sjtu                                                   23
Transitional Strategy
                             Depends on Your Business
      100s tenants, 100s servers: VLANs
      1000s tenants, 100s servers: vCDNI or Q-in-Q
      Few 1000s servers, many tenants: VXLAN/NVGRE/STT
      More than that: L2 over IP with control plane




       Open question: How to solve the co-existing scenarios in one cloud?
© jinyh@sjtu                                                                 24
Network Virtualization in
                 Openstack




© jinyh@sjtu
OpenStack Today

       Networking is embedded inside of Nova compute, and
        un-accessible to application developers
       Details and differences associated with network
        provisioning complicates a simple compute service
       Difficult to track changes in networking as Software-
        defined Networking (SDN) comes into play




© jinyh@sjtu                                                    26
With Quantum –
                        Networking becomes a Service
       Nova becomes simpler, easier to maintain and extend
       Developers have ability to create multiple networks for
        their own purposes (multi-tier apps)
       May support provisioning of both virtual and physical
        networks – differences captured through plugin’s




© jinyh@sjtu                                                      27
Quantum API interactions




© jinyh@sjtu                              28
Plug-in’s available today


       Open vSwitch
       Linux bridge
       Nicira NVP
       Cisco (Nexus switches and UCS VM-FEX)
       NTT Labs Ryu OpenFlow controller
       NEC OpenFlow
       Big Switch Floodlight



© jinyh@sjtu                                         29
Quantum in Horizon

       Create/delete private network
       Create “ports” and attach VM’s
       Assign IP address blocks (DHCP)




© jinyh@sjtu                                       30
Quantum OVS Plugin:
               VLAN solution with Open vSwitch




© jinyh@sjtu                                     31
OVS Plugin Flow Chart




© jinyh@sjtu                           32
Ryu Plugin:
               Overlay solution with Openflow




© jinyh@sjtu                                    33
Ryu Plugin Flow Chart




© jinyh@sjtu                           34
vCube: Virtual, Versatile, Visible
   Network Service for OpenStack Cloud




© jinyh@sjtu
Network Environment
       Data Center Network: 10 GE Switch (BNT&H3C) in 2 domains
       Control and Manage: GE Switch (DCRS)
       10GE connect to campus network
       Fat tree topology; L3: VRRP;
       L2: LACP+VLAG+MSTP
       Security control: SSH, NAT, ACL, VLAN
       NIC: Intel X520-DA2; Chelsio T420E-CR




© jinyh@sjtu                                                       36
Transition:Co-existing VLAN/GRE


       VLAN solution: Openstack + Open vSwitch




       GRE solution: Openstack + Ryu




© jinyh@sjtu                                         37
                                                      43
QoS in Virtual Network


       Bandwidth upper bound for VMs
              With only OVS : 200Mbit/s
              With OVS and virtio: 8Gbit/s
       Bandwidth guarantee with Openstack + OVS
              User defined rate limitation
              Differential service level for tenants
              High bandwidth utilization
              Stable performance under dynamic traffic




© jinyh@sjtu                                               38
Visible Virtual Network by sFlow

             Virtual   Physical               Virtual   Physical
             Machine   Server                 Switch    Switch



   CPU                            Unicast




   Disk                           Multicast




                                  Port
   Traffic
                                  Traffic



© jinyh@sjtu
© jinyh@sjtu                                                       39
                                                                    45
The Whole Picture




© jinyh@sjtu                       40
Thanks for your attention!


                  Weibo: @bright_jin




© jinyh@sjtu                           41

Weitere ähnliche Inhalte

Was ist angesagt?

Nicira chef webinar-merged
Nicira chef webinar-mergedNicira chef webinar-merged
Nicira chef webinar-merged
Stathy Touloumis
 
Getting Started with DDS in C++, Java and Scala
Getting Started with DDS in C++, Java and ScalaGetting Started with DDS in C++, Java and Scala
Getting Started with DDS in C++, Java and Scala
Angelo Corsaro
 
Application independent based multicast routing protocols in mobile ad hoc ne...
Application independent based multicast routing protocols in mobile ad hoc ne...Application independent based multicast routing protocols in mobile ad hoc ne...
Application independent based multicast routing protocols in mobile ad hoc ne...
Alexander Decker
 
08 sdn system intelligence short public beijing sdn conference - 130828
08 sdn system intelligence   short public beijing sdn conference - 13082808 sdn system intelligence   short public beijing sdn conference - 130828
08 sdn system intelligence short public beijing sdn conference - 130828
Mason Mei
 
Cloudsecurity
CloudsecurityCloudsecurity
Cloudsecurity
drewz lin
 

Was ist angesagt? (17)

Rise of Network Virtualization
Rise of Network VirtualizationRise of Network Virtualization
Rise of Network Virtualization
 
Nicira chef webinar-merged
Nicira chef webinar-mergedNicira chef webinar-merged
Nicira chef webinar-merged
 
DDS Everywhere
DDS EverywhereDDS Everywhere
DDS Everywhere
 
OMG DDS Tutorial - Part I
OMG DDS Tutorial - Part IOMG DDS Tutorial - Part I
OMG DDS Tutorial - Part I
 
High Performance Cyberinfrastructure Enables Data-Driven Science in the Glob...
High Performance Cyberinfrastructure Enables Data-Driven Science in the Glob...High Performance Cyberinfrastructure Enables Data-Driven Science in the Glob...
High Performance Cyberinfrastructure Enables Data-Driven Science in the Glob...
 
A Hitchhiker's Guide to the Inter-Cloud
A Hitchhiker's Guide to the Inter-CloudA Hitchhiker's Guide to the Inter-Cloud
A Hitchhiker's Guide to the Inter-Cloud
 
The OptIPuter and Its Applications
The OptIPuter and Its ApplicationsThe OptIPuter and Its Applications
The OptIPuter and Its Applications
 
Getting Started with DDS in C++, Java and Scala
Getting Started with DDS in C++, Java and ScalaGetting Started with DDS in C++, Java and Scala
Getting Started with DDS in C++, Java and Scala
 
Building IoT Applications with Vortex and the Intel Edison Starter Kit
Building IoT Applications with Vortex and the Intel Edison Starter KitBuilding IoT Applications with Vortex and the Intel Edison Starter Kit
Building IoT Applications with Vortex and the Intel Edison Starter Kit
 
Application independent based multicast routing protocols in mobile ad hoc ne...
Application independent based multicast routing protocols in mobile ad hoc ne...Application independent based multicast routing protocols in mobile ad hoc ne...
Application independent based multicast routing protocols in mobile ad hoc ne...
 
Cloud based Web Intelligence
Cloud based Web IntelligenceCloud based Web Intelligence
Cloud based Web Intelligence
 
Mist2012 panel discussion-ruo ando
Mist2012 panel discussion-ruo andoMist2012 panel discussion-ruo ando
Mist2012 panel discussion-ruo ando
 
The Data Distribution Service
The Data Distribution ServiceThe Data Distribution Service
The Data Distribution Service
 
java & .net titles
java & .net titlesjava & .net titles
java & .net titles
 
The next generation ethernet gangster (part 2)
The next generation ethernet gangster (part 2)The next generation ethernet gangster (part 2)
The next generation ethernet gangster (part 2)
 
08 sdn system intelligence short public beijing sdn conference - 130828
08 sdn system intelligence   short public beijing sdn conference - 13082808 sdn system intelligence   short public beijing sdn conference - 130828
08 sdn system intelligence short public beijing sdn conference - 130828
 
Cloudsecurity
CloudsecurityCloudsecurity
Cloudsecurity
 

Andere mochten auch

Cloud-based augmentation for mobile devices: Motivation, Taxonomy, and Open C...
Cloud-based augmentation for mobile devices: Motivation, Taxonomy, and Open C...Cloud-based augmentation for mobile devices: Motivation, Taxonomy, and Open C...
Cloud-based augmentation for mobile devices: Motivation, Taxonomy, and Open C...
Saeid Abolfazli
 
Multimedia01
Multimedia01Multimedia01
Multimedia01
Les Davy
 
Extensive sampling of basidiomycete genomes demonstrates inadequacy of the wh...
Extensive sampling of basidiomycete genomes demonstrates inadequacy of the wh...Extensive sampling of basidiomycete genomes demonstrates inadequacy of the wh...
Extensive sampling of basidiomycete genomes demonstrates inadequacy of the wh...
Gomez García
 
Assignment 3 - Certification in Dispute Management
Assignment 3 - Certification in Dispute ManagementAssignment 3 - Certification in Dispute Management
Assignment 3 - Certification in Dispute Management
Jyotpreet Kaur
 
9 cf141b2 f0a1-4f85-9355cf2c0a12c9c4
9 cf141b2 f0a1-4f85-9355cf2c0a12c9c49 cf141b2 f0a1-4f85-9355cf2c0a12c9c4
9 cf141b2 f0a1-4f85-9355cf2c0a12c9c4
Carlos Carvalho
 
Film opening lessons sep 2013
Film opening lessons sep 2013Film opening lessons sep 2013
Film opening lessons sep 2013
NShuttle
 
Java swing tips
Java swing tipsJava swing tips
Java swing tips
Tuan Ngo
 
First Day
First Day First Day
First Day
jmori1
 
Mba724 s4 2 writing up the final report
Mba724 s4 2 writing up the final reportMba724 s4 2 writing up the final report
Mba724 s4 2 writing up the final report
Rachel Chung
 

Andere mochten auch (20)

Cloud-based augmentation for mobile devices: Motivation, Taxonomy, and Open C...
Cloud-based augmentation for mobile devices: Motivation, Taxonomy, and Open C...Cloud-based augmentation for mobile devices: Motivation, Taxonomy, and Open C...
Cloud-based augmentation for mobile devices: Motivation, Taxonomy, and Open C...
 
Multimedia01
Multimedia01Multimedia01
Multimedia01
 
Extensive sampling of basidiomycete genomes demonstrates inadequacy of the wh...
Extensive sampling of basidiomycete genomes demonstrates inadequacy of the wh...Extensive sampling of basidiomycete genomes demonstrates inadequacy of the wh...
Extensive sampling of basidiomycete genomes demonstrates inadequacy of the wh...
 
SystemsOverview
SystemsOverviewSystemsOverview
SystemsOverview
 
AWS for everyone - 「今」からはじめるAWS@JAWS-UG 東北
AWS for everyone - 「今」からはじめるAWS@JAWS-UG 東北AWS for everyone - 「今」からはじめるAWS@JAWS-UG 東北
AWS for everyone - 「今」からはじめるAWS@JAWS-UG 東北
 
Уригард
УригардУригард
Уригард
 
Assignment 3 - Certification in Dispute Management
Assignment 3 - Certification in Dispute ManagementAssignment 3 - Certification in Dispute Management
Assignment 3 - Certification in Dispute Management
 
9 cf141b2 f0a1-4f85-9355cf2c0a12c9c4
9 cf141b2 f0a1-4f85-9355cf2c0a12c9c49 cf141b2 f0a1-4f85-9355cf2c0a12c9c4
9 cf141b2 f0a1-4f85-9355cf2c0a12c9c4
 
On bueno iniziativa 996
On bueno iniziativa   996On bueno iniziativa   996
On bueno iniziativa 996
 
Film opening lessons sep 2013
Film opening lessons sep 2013Film opening lessons sep 2013
Film opening lessons sep 2013
 
Java swing tips
Java swing tipsJava swing tips
Java swing tips
 
Compare mysql5.1.50 mysql5.5.8
Compare mysql5.1.50 mysql5.5.8Compare mysql5.1.50 mysql5.5.8
Compare mysql5.1.50 mysql5.5.8
 
First Day
First Day First Day
First Day
 
1interview1 golda
1interview1 golda1interview1 golda
1interview1 golda
 
RODOVIAS RS-ANÁLISE ZERO HORA NOV/2011 A MARÇO/2013-PARTE II
RODOVIAS RS-ANÁLISE ZERO HORA NOV/2011 A MARÇO/2013-PARTE IIRODOVIAS RS-ANÁLISE ZERO HORA NOV/2011 A MARÇO/2013-PARTE II
RODOVIAS RS-ANÁLISE ZERO HORA NOV/2011 A MARÇO/2013-PARTE II
 
MAINSA
MAINSAMAINSA
MAINSA
 
Mba724 s4 2 writing up the final report
Mba724 s4 2 writing up the final reportMba724 s4 2 writing up the final report
Mba724 s4 2 writing up the final report
 
De verschillende beveiligingsrisico’s van mobiele toepassingen en Devices
De verschillende beveiligingsrisico’s van mobiele toepassingen en DevicesDe verschillende beveiligingsrisico’s van mobiele toepassingen en Devices
De verschillende beveiligingsrisico’s van mobiele toepassingen en Devices
 
Tourism English 3
Tourism English 3Tourism English 3
Tourism English 3
 
BIRTE-13-Kawashima
BIRTE-13-KawashimaBIRTE-13-Kawashima
BIRTE-13-Kawashima
 

Ähnlich wie Keynote -金耀辉--network service in open stack cloud-osap2012_jinyh_v4

Open stack china_201109_sjtu_jinyh
Open stack china_201109_sjtu_jinyhOpen stack china_201109_sjtu_jinyh
Open stack china_201109_sjtu_jinyh
OpenCity Community
 
Software-Defined Networking(SDN):A New Approach to Networking
Software-Defined Networking(SDN):A New Approach to NetworkingSoftware-Defined Networking(SDN):A New Approach to Networking
Software-Defined Networking(SDN):A New Approach to Networking
Anju Ann
 
Cloudstack conference open_contrail v4
Cloudstack conference open_contrail v4Cloudstack conference open_contrail v4
Cloudstack conference open_contrail v4
ozkan01
 
Multicloud as the Next Generation of Cloud Infrastructure
Multicloud as the Next Generation of Cloud Infrastructure Multicloud as the Next Generation of Cloud Infrastructure
Multicloud as the Next Generation of Cloud Infrastructure
Brad Eckert
 

Ähnlich wie Keynote -金耀辉--network service in open stack cloud-osap2012_jinyh_v4 (20)

Future Internet: Managing Innovation and Testbed
Future Internet: Managing Innovation and TestbedFuture Internet: Managing Innovation and Testbed
Future Internet: Managing Innovation and Testbed
 
PLNOG 8: Ivan Pepelnjak - Data Center Fabrics - What Really Matters
PLNOG 8: Ivan Pepelnjak - Data Center Fabrics - What Really Matters PLNOG 8: Ivan Pepelnjak - Data Center Fabrics - What Really Matters
PLNOG 8: Ivan Pepelnjak - Data Center Fabrics - What Really Matters
 
MidoNet Overview - OpenStack and SDN integration
MidoNet Overview - OpenStack and SDN integrationMidoNet Overview - OpenStack and SDN integration
MidoNet Overview - OpenStack and SDN integration
 
Open stack china_201109_sjtu_jinyh
Open stack china_201109_sjtu_jinyhOpen stack china_201109_sjtu_jinyh
Open stack china_201109_sjtu_jinyh
 
Brocade Ethernet Fabrics and the ODDC
Brocade Ethernet Fabrics and the ODDCBrocade Ethernet Fabrics and the ODDC
Brocade Ethernet Fabrics and the ODDC
 
Network Virtualization
Network VirtualizationNetwork Virtualization
Network Virtualization
 
Software-Defined Networking(SDN):A New Approach to Networking
Software-Defined Networking(SDN):A New Approach to NetworkingSoftware-Defined Networking(SDN):A New Approach to Networking
Software-Defined Networking(SDN):A New Approach to Networking
 
Midokura Enterprise MidoNet Overview
Midokura Enterprise MidoNet Overview Midokura Enterprise MidoNet Overview
Midokura Enterprise MidoNet Overview
 
Why sdn
Why sdnWhy sdn
Why sdn
 
PLNOG 8: Ivan Pepelnjak - Cloud Networking - From Theory to Practice
PLNOG 8: Ivan Pepelnjak - Cloud Networking - From Theory to Practice PLNOG 8: Ivan Pepelnjak - Cloud Networking - From Theory to Practice
PLNOG 8: Ivan Pepelnjak - Cloud Networking - From Theory to Practice
 
Towards the extinction of mega data centres? To which extent should the Clou...
 Towards the extinction of mega data centres? To which extent should the Clou... Towards the extinction of mega data centres? To which extent should the Clou...
Towards the extinction of mega data centres? To which extent should the Clou...
 
Sdn primer pdf
Sdn primer pdfSdn primer pdf
Sdn primer pdf
 
Midokura OpenStack Day Korea Talk: MidoNet Open Source Network Virtualization...
Midokura OpenStack Day Korea Talk: MidoNet Open Source Network Virtualization...Midokura OpenStack Day Korea Talk: MidoNet Open Source Network Virtualization...
Midokura OpenStack Day Korea Talk: MidoNet Open Source Network Virtualization...
 
Acronym Soup – NFV, SDN, OVN and VNF
Acronym Soup – NFV, SDN, OVN and VNFAcronym Soup – NFV, SDN, OVN and VNF
Acronym Soup – NFV, SDN, OVN and VNF
 
Virtualization of motes, gateways and networks new.pptx
Virtualization of motes, gateways and networks new.pptxVirtualization of motes, gateways and networks new.pptx
Virtualization of motes, gateways and networks new.pptx
 
Cloudstack conference open_contrail v4
Cloudstack conference open_contrail v4Cloudstack conference open_contrail v4
Cloudstack conference open_contrail v4
 
SDN 101: Software Defined Networking Course - Sameh Zaghloul/IBM - 2014
SDN 101: Software Defined Networking Course - Sameh Zaghloul/IBM - 2014SDN 101: Software Defined Networking Course - Sameh Zaghloul/IBM - 2014
SDN 101: Software Defined Networking Course - Sameh Zaghloul/IBM - 2014
 
Software Defined Networks
Software Defined NetworksSoftware Defined Networks
Software Defined Networks
 
Multicloud as the Next Generation of Cloud Infrastructure
Multicloud as the Next Generation of Cloud Infrastructure Multicloud as the Next Generation of Cloud Infrastructure
Multicloud as the Next Generation of Cloud Infrastructure
 
Sdn03
Sdn03Sdn03
Sdn03
 

Mehr von OpenCity 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
 
Quantum Networks
Quantum NetworksQuantum Networks
Quantum Networks
 
云计算思考
云计算思考云计算思考
云计算思考
 
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
 

Kürzlich hochgeladen

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 

Kürzlich hochgeladen (20)

[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
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...
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
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
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
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?
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 

Keynote -金耀辉--network service in open stack cloud-osap2012_jinyh_v4

  • 1. Network Service in OpenStack Cloud Yaohui Jin email: jinyh@sjtu.edu.cn Sina Weibo: @bright_jin (The slides will be shared in Sina Weipan & Slideshare ) Network & Information Center © jinyh@sjtu
  • 2. Acknowledgement  Team: Dr. Xuan Luo, Pengfei Zhang, Xiaosheng Zuo, Zhixing Xu, Xinyu Xu, Jianwen Wei, Baoqing Huang, etc.  Prof. Hongfang Yu and team with UESTC  Prof. Jianping Wang with CityU HK  Engineers, discussion and slides from Intel, SINA, IBM, Cisco, Dell, VMware/EMC, H3C, Huawei, IXIA, …  OpenStack Community  China OpenStack User Group (COSUG)  China OpenStack Cloud League (COSCL)  Technical blogs such as blog.ioshints.info, ipspace.net, … © jinyh@sjtu 2
  • 3. About me  上海交通大学 教授,以前做光通信的,现在改行 做云计算了。。。   上海交通大学 网络信息中心 副主任,其实就是 个苦逼的挨踢网管啊。。。   研究兴趣: 数据中心网络,海量流式数据分析, 云计算架构 © jinyh@sjtu 3
  • 4. OpenStack in Academia for Research & Operation  USC, Information Science Institute  Purdue University  University of Melbourne  San Diego Supercomputer Center  Brookhaven National Lab., DOE  Argonne National Lab., DOE  European Organization for Nuclear Research (CERN)  Shanghai Jiao Tong University  University of Science & Technology of China  University of Electrical Science & Technology of China  …… © jinyh@sjtu 4
  • 5. Agenda  Introduction  SDN and OpenFlow  Network Virtualization  Network Virtualization in OpenStack  Our Work © jinyh@sjtu 5
  • 6. The Service Trend  "Decoupling infrastructure management from service management can lead to innovation, new business models, and a reduction in the complexity of running services. It is happening in the world of computing, and is poised to happen in networking.“ Jennifer Rexford Professor, Princeton University  Last month, VMware paid $1.2B to acquire Nicira for software defined networking (SDN). © jinyh@sjtu 6
  • 7. Why is Nicira worth $1.2 billion? © jinyh@sjtu 7
  • 8. SDN and OpenFlow © jinyh@sjtu
  • 9. Software Defined Network (SDN)  A network architecture in which the network control plane (OS) is decoupled from the physical topology using open protocols such as OpenFlow. © jinyh@sjtu 9
  • 10. Flow Table (v1.1)  Rules: Ethernet, IP, MPLS, TCP/UDP any combination, exact or wildcard  Actions: Forward, Drop, Modify field (NAT)  Statistics: Volume based billing, anti DDOS © jinyh@sjtu 10
  • 11. OpenFlow Implementation  Hypervisor Mode  Open vSwitch (OVS): XEN, KVM, …  OVS other features: security, visibility, QoS, automated control  Hardware Mode  OpenFlow Switch  Hop by hop configuration © jinyh@sjtu 11
  • 12. Reality Check  “OpenFlow doesn’t let you do anything you couldn’t do on a network before” –Scott Shenker (Professor, UC Berkeley, OpenFlow co-inventor)  Frames are still forwarded, packets are delivered to hosts.  OpenFlow 1.3 was recently approved.  Major vendors are participating - Cisco, Juniper, Brocade, Huawei, Ericsson, etc. It’s still early stage technology but commercial products are shipping.  OpenFlow led by large companies Google/Yahoo/Verizon and lack of focus on practical applications in the enterprise. © jinyh@sjtu 12
  • 13. OpenFlow Interop  Fifteen Vendors Demonstrate OpenFlow Switches at Interop (May 8-12, 2011) © jinyh@sjtu 13
  • 15. General Data Center Architecture Cloud management system allows us dynamically provisioning VMs and virtual storage. © jinyh@sjtu 15
  • 16. What customers really want? Virtual Network  Requirements  Multiple logical segments  Multi-tie applications  Load balancing and firewalling  Unlimited scalability and mobility © jinyh@sjtu 16
  • 17. Multi-Tenant Isolation  Making life easier for the cloud provider  Customer VMs attached to “random” L3 subnets  VM IP addresses allocated by the IaaS provider  Predefined configurations or user-controlled firewalls  Autonomous tenant address space  Both MAC and IP addresses could overlap between two tenants, or even within the same tenant  Each overlapping address space needs a separate segment © jinyh@sjtu 17
  • 18. Scalability  Datacenter networks have got much bigger (and getting bigger still !!)  Juniper’s Qfabric ~6000 ports, Cisco’s FabricPath over 10k ports  Tenant number dramatically increase as the IaaS experiences rapid commoditization  Forrester Research forecasts that public cloud today globally valued at $2.9B, projected to grow to $5.85B by 2015.  Server virtualization increase demand on switch MAC address tables  Physical with 2 MACs -> 100 VMs with 2 vNIC need 200+ MACs! © jinyh@sjtu 18
  • 19. Possible Solutions (1)  VLANs per tenant  limitations of VLAN-id range (Only 12bits ID = 4K)  VLAN trunk is manually configured  Spanning tree limits the size of the network  L2 over L2  vCDNI(VMware), Provider Bridging(Q-in-Q)  Limitations in number of users (limited by VLAN-id range)  Proliferation of VM MAC addresses in switches in the network (requiring larger table sizes in switches)  Switches must support use of same MAC address in multiple VLANs (independent VLAN learning) © jinyh@sjtu 19
  • 20. Possible Solutions (2): L2 over IP  Virtual eXtensible LAN (VXLAN)  VMware, Arista, Broadcom, Cisco, Citrix, Red Hat  VXLAN Network Identifier (VNI): 24 bits = 16M  UDP encapsulation, new protocol  Network Virtualization Generic Routing Encapsulation (NVGRE)  Microsoft, Arista, Intel, Dell, HP, Broadcom, Emulex  Virtual Subnet Identifier (VSID): 24 bits = 16M  GRE tunneling, relies on existing protocol  Stateless Transport Tunneling (STT)  Nicira  Context ID: 64 bits, TCP-like encapsulation © jinyh@sjtu 20
  • 21. VXLAN/NVGRE: How it Works? without overlay using VXLAN using NVGRE © jinyh@sjtu 21
  • 22. Dynamic MAC learning  Dynamic MAC learning with L2 flooding over IP multicasting Flooding does not scale when fabric gets bigger. © jinyh@sjtu 22
  • 23. Control Plane (Nicira)  L2-over-IP with control plane  OpenFlow-capable vSwitches  IP tunnels (GRE, STT ...)  MAC-to-IP mappings by OpenFlow  Third-party physical devices  Benefits  No reliance on flooding  No IP multicast in the core © jinyh@sjtu 23
  • 24. Transitional Strategy Depends on Your Business  100s tenants, 100s servers: VLANs  1000s tenants, 100s servers: vCDNI or Q-in-Q  Few 1000s servers, many tenants: VXLAN/NVGRE/STT  More than that: L2 over IP with control plane Open question: How to solve the co-existing scenarios in one cloud? © jinyh@sjtu 24
  • 25. Network Virtualization in Openstack © jinyh@sjtu
  • 26. OpenStack Today  Networking is embedded inside of Nova compute, and un-accessible to application developers  Details and differences associated with network provisioning complicates a simple compute service  Difficult to track changes in networking as Software- defined Networking (SDN) comes into play © jinyh@sjtu 26
  • 27. With Quantum – Networking becomes a Service  Nova becomes simpler, easier to maintain and extend  Developers have ability to create multiple networks for their own purposes (multi-tier apps)  May support provisioning of both virtual and physical networks – differences captured through plugin’s © jinyh@sjtu 27
  • 29. Plug-in’s available today  Open vSwitch  Linux bridge  Nicira NVP  Cisco (Nexus switches and UCS VM-FEX)  NTT Labs Ryu OpenFlow controller  NEC OpenFlow  Big Switch Floodlight © jinyh@sjtu 29
  • 30. Quantum in Horizon  Create/delete private network  Create “ports” and attach VM’s  Assign IP address blocks (DHCP) © jinyh@sjtu 30
  • 31. Quantum OVS Plugin: VLAN solution with Open vSwitch © jinyh@sjtu 31
  • 32. OVS Plugin Flow Chart © jinyh@sjtu 32
  • 33. Ryu Plugin: Overlay solution with Openflow © jinyh@sjtu 33
  • 34. Ryu Plugin Flow Chart © jinyh@sjtu 34
  • 35. vCube: Virtual, Versatile, Visible Network Service for OpenStack Cloud © jinyh@sjtu
  • 36. Network Environment  Data Center Network: 10 GE Switch (BNT&H3C) in 2 domains  Control and Manage: GE Switch (DCRS)  10GE connect to campus network  Fat tree topology; L3: VRRP;  L2: LACP+VLAG+MSTP  Security control: SSH, NAT, ACL, VLAN  NIC: Intel X520-DA2; Chelsio T420E-CR © jinyh@sjtu 36
  • 37. Transition:Co-existing VLAN/GRE  VLAN solution: Openstack + Open vSwitch  GRE solution: Openstack + Ryu © jinyh@sjtu 37 43
  • 38. QoS in Virtual Network  Bandwidth upper bound for VMs  With only OVS : 200Mbit/s  With OVS and virtio: 8Gbit/s  Bandwidth guarantee with Openstack + OVS  User defined rate limitation  Differential service level for tenants  High bandwidth utilization  Stable performance under dynamic traffic © jinyh@sjtu 38
  • 39. Visible Virtual Network by sFlow Virtual Physical Virtual Physical Machine Server Switch Switch CPU Unicast Disk Multicast Port Traffic Traffic © jinyh@sjtu © jinyh@sjtu 39 45
  • 40. The Whole Picture © jinyh@sjtu 40
  • 41. Thanks for your attention! Weibo: @bright_jin © jinyh@sjtu 41