SlideShare a Scribd company logo
1 of 26
Download to read offline
Nicira NVP Integration




Sunday, December 2, 12
About me

      » Hugo Trippaers
        – Email: htrippaers@schubergphilis.com
        – Twitter: @Spark404

      » I’ve been working in IT for over two decades, mainly at ISPs.
      » Mission Critical Engineer at Schuberg Philis for almost 6 years.
        – Responsible for the 100% availability of our customers application landscapes
        – Currently part of the internal development team




Sunday, December 2, 12
CloudStack and me

      » Schuberg Philis design for a Cloud offering
        – Flexible, Scalable etc etc
        – What about networking?
             • Nicira NVP solution


      » No CloudStack support for Nicira NVP on the roadmaps
        – What to do?
             • Ask for support from Nicira and Citrix
             • Find developer and do it, thats how OpenSource works




Sunday, December 2, 12
Design criteria for the integration

      » Transparent integration
        – Using Nicira NVP should be no different from using regular networks.
        – All code is to be part of CloudStack, no external modules.

      » Source code available as OpenSource




Sunday, December 2, 12
Phased approach

      » Phase one
        – Getting familiar with the CloudStack sources
        – L2 Networking (Logical Switch and Logical Switch Port)
        – API for configuration

      » Phase two
        – L3 Networking (Logical Routers and Gateway services)
        – UI elements for configuration
        – Support for KVM and VMWare?

      » Future?




Sunday, December 2, 12
Nicira NVP integration in CloudStack

      » Architecture




Sunday, December 2, 12
Nicira NVP integration in CloudStack

      » Nicira NVP plugin

                 Nicira NVP Plugin
          NVP                NVP
          Network-           Element
          Guru


           Nicira NVP Java API wrapper

                              Hypervisor
                         adjustments for
                          Vif tags




Sunday, December 2, 12
Nicira NVP integration in CloudStack




                                                                                  Nicira NVP Java API wrapper
                                                                                          Nicira NVP Plugin
                                             NVP Guru

                                             NVP Element




                                                           Hypervisor
                                                            adjustments for Vif




Sunday, December 2, 12
How does it work?

      » First of all what do we need
        – Nicira NVP Stack
        – XenServer hypervisors
        – CloudStack




                                       9
Sunday, December 2, 12
How does it work?

      » Nicira NVP and hypervisor configuration
        – Defining and configuring a transport zone




                                                      10
Sunday, December 2, 12
How does it work?

      » Nicira NVP and hypervisor configuration
        – Defining and configuring a transport zone
        – Linking the zone to the hypervisors




                                                      11
Sunday, December 2, 12
How does it work?

      » CloudStack configuration
        – Setup the Network
          Service Provider




                                   12
Sunday, December 2, 12
How does it work?

      » CloudStack configuration
        – Setup the Network Service Provider
        – Configure a Physical Network
        – Traffic tag links to
          “Integration Bridge”




                                               13
Sunday, December 2, 12
How does it work?

      » CloudStack configuration
        – Setup the Network Service Provider
        – Configure a Physical Network
        – Traffic tag links to
          “Integration Bridge”
                                               Only select Virtual Networking;
        – Configure Service Offerings             “Connectivity” in 4.0.0

             • L2 Features




                                                                                 14
Sunday, December 2, 12
How does it work?

      » CloudStack configuration
        – Setup the Network Service Provider
        – Configure a Physical Network            L3 Support for SourceNat,
                                               StaticNat and Port Forwarding.
        – Traffic tag links to
          “Integration Bridge”
        – Configure Service Offerings
             • L2 Features
             • L2 and L3 Features




                                                                                15
Sunday, December 2, 12
In Action; Provisioning networks

      » Tenant allocates a new network
        – Nothing happens yet, just a check

      » Tenant implements a new network (by starting first VM)
        – LogicalSwitch is created in the Nicira Controller




                                                                 16
Sunday, December 2, 12
In Action; Provisioning networks

      » Tenant allocates a new network
        – Nothing happens yet, just a check

      » Tenant implements a new network (by starting first VM)
        – LogicalSwitch is created in the Nicira Controller




                                                                 17
Sunday, December 2, 12
In Action; Starting Virtual Machines

      » Nicira NVP Element creates a port on the logical switch
        – Attachment type set to UUID with the UUID of the NIC (from CS)

      » Hypervisor Resource sets tags on the Vif with the UUID of the NIC
        – Attached to the “Integration Bridge”

      » Nicira NVP Controller matches those uuids and creates
        any required flows.




                                                                            18
Sunday, December 2, 12
In Action; Starting a Virtual Machine

      » Nicira NVP Element creates a port on the logical switch
        – Attachment type set to UUID with the UUID of the NIC (from CS)

      » Hypervisor Resource sets tags on the Vif with the UUID of the NIC

      » Nicira NVP matches those uuids and creates any required flows




                                                                            19
Sunday, December 2, 12
In Action; Start Routing Elements

      » Tenant implements a network
        – Offering with Virtual Networking and SourceNat
        – Nicira NVP Element creates Logical Router
             • inside port connected to Logical Switch
             • outside port connected to VLAN (via Gateway Service)
             • allocated public ip set on outside port
         – Nicira NVP configures “main” SourceNat rule




                                                                      20
Sunday, December 2, 12
In Action; Start Routing Elements

      » Tenant implements a network
        – Offering with Virtual Networking and SourceNat
        – Nicira NVP Element creates Logical Router
             • inside port connected to Logical Switch
             • outside port connected to VLAN (via Gateway Service)
             • allocated public ip set on outside port
         – Nicira NVP configures “main” SourceNat rule




                                                                      21
Sunday, December 2, 12
In Action; Static Nat and PortForwarding

      » Tenant updates either a rule for static nat or port forwarding
        – Requires a configured Logical Router
             • Nicira Nvp Element provisions DNAT rule
               – Difference between StaticNat and PF is one port or 0:65535
             • Nicira Nvp Element provisions SNAT rule
                – required for outgoing traffic
                – Nicira NVP picks most specific rule first (since 2.2.x)




                                                                             22
Sunday, December 2, 12
Under the hood; Troubleshooting

      » Checking consistency between Nicira NVP Manager and CloudStack
        – network broadcast uri
        – database references

      » References in the database
                – external_nicira_nvp_devices
                  • Lists all configured nicira devices on physical networks
                  • reference to host id
                – nicira_nvp_nic_map
                  • mapping between nic uuid and logical router port uuid
                – nicira_nvp_router_map
                  • mapping between router uuid and (guest) network id


                                                                               23
Sunday, December 2, 12
Summary

      » Available in 4.0.0
        – L2 networks (Logical Switches)
        – Configuration via API
        – Supports Nicira NVP version 2.1.x and 2.2.x
        – Supports XenServer hypervisors

      » Available in next release (and in the master branch)
        – L3 Routing
             • Source Nat, Static Nat and Port Forwarding
             • Configuration via the UI




                                                               24
Sunday, December 2, 12
Summary

      » Future plans
        – Support for multiple hypervisors
        – Support for bridged networks (Nicira NVP L2 Gateway)

      » More information
        – CloudStack Plugin Guide for the Nicira NVP Plugin (part of CloudStack documentation)
        – Nicira (http://nicira.com)

      » How to get involved?
        – Lacking code coverage with unittests
        – Use it!
        – Integration with other SDN solutions

                                                                                                 25
Sunday, December 2, 12
Thanks!




Sunday, December 2, 12

More Related Content

What's hot

La apuesta de Telefónica por la cloud privada
La apuesta de Telefónica por la cloud privadaLa apuesta de Telefónica por la cloud privada
La apuesta de Telefónica por la cloud privadaLibreCon
 
OpenStack Neutron Havana Overview - Oct 2013
OpenStack Neutron Havana Overview - Oct 2013OpenStack Neutron Havana Overview - Oct 2013
OpenStack Neutron Havana Overview - Oct 2013Edgar Magana
 
Nova net-or-neutron-atlanta2014.pptx
Nova net-or-neutron-atlanta2014.pptxNova net-or-neutron-atlanta2014.pptx
Nova net-or-neutron-atlanta2014.pptxSomik Behera
 
OpenStack networking (Neutron)
OpenStack networking (Neutron) OpenStack networking (Neutron)
OpenStack networking (Neutron) CREATE-NET
 
SDN in CloudStack
SDN in CloudStackSDN in CloudStack
SDN in CloudStackbuildacloud
 
Open stack networking_101_update_2014
Open stack networking_101_update_2014Open stack networking_101_update_2014
Open stack networking_101_update_2014yfauser
 
OpenStack Quantum: Cloud Carrier Summit 2012
OpenStack Quantum: Cloud Carrier Summit 2012OpenStack Quantum: Cloud Carrier Summit 2012
OpenStack Quantum: Cloud Carrier Summit 2012Dan Wendlandt
 
Openstack Neutron and SDN
Openstack Neutron and SDNOpenstack Neutron and SDN
Openstack Neutron and SDNinakipascual
 
SFBay OpenStack Meetup // Neutron and SDN in Production – Dec 3 2013
SFBay OpenStack Meetup // Neutron and SDN in Production – Dec 3 2013SFBay OpenStack Meetup // Neutron and SDN in Production – Dec 3 2013
SFBay OpenStack Meetup // Neutron and SDN in Production – Dec 3 2013Randy Bias
 
Agile Networking with OpenStack
Agile Networking with OpenStack Agile Networking with OpenStack
Agile Networking with OpenStack openstackcisco
 
Cloud Networking is not Virtual Networking - London VMUG 20130425
Cloud Networking is not Virtual Networking - London VMUG 20130425Cloud Networking is not Virtual Networking - London VMUG 20130425
Cloud Networking is not Virtual Networking - London VMUG 20130425Greg Ferro
 
OpenStack Networking
OpenStack NetworkingOpenStack Networking
OpenStack NetworkingIlya Shakhat
 
No sql & dq2 tracer service
No sql & dq2 tracer serviceNo sql & dq2 tracer service
No sql & dq2 tracer serviceZang Donal
 
From Nova-Network to Neutron and Beyond: A Look at OpenStack Networking
From Nova-Network to Neutron and Beyond: A Look at OpenStack NetworkingFrom Nova-Network to Neutron and Beyond: A Look at OpenStack Networking
From Nova-Network to Neutron and Beyond: A Look at OpenStack NetworkingCynthia Thomas
 
Scaling OpenStack Networking Beyond 4000 Nodes with Dragonflow - Eshed Gal-Or...
Scaling OpenStack Networking Beyond 4000 Nodes with Dragonflow - Eshed Gal-Or...Scaling OpenStack Networking Beyond 4000 Nodes with Dragonflow - Eshed Gal-Or...
Scaling OpenStack Networking Beyond 4000 Nodes with Dragonflow - Eshed Gal-Or...Cloud Native Day Tel Aviv
 
Quantum - The Network Mechanics
Quantum - The Network MechanicsQuantum - The Network Mechanics
Quantum - The Network MechanicsKiran Murari
 
BRKDCT-2445 Agile OpenStack Networking with Cisco Solutions-Cisco Live! US 20...
BRKDCT-2445 Agile OpenStack Networking with Cisco Solutions-Cisco Live! US 20...BRKDCT-2445 Agile OpenStack Networking with Cisco Solutions-Cisco Live! US 20...
BRKDCT-2445 Agile OpenStack Networking with Cisco Solutions-Cisco Live! US 20...Rohit Agarwalla
 

What's hot (20)

OpenStack Super Bootcamp.pdf
OpenStack Super Bootcamp.pdfOpenStack Super Bootcamp.pdf
OpenStack Super Bootcamp.pdf
 
La apuesta de Telefónica por la cloud privada
La apuesta de Telefónica por la cloud privadaLa apuesta de Telefónica por la cloud privada
La apuesta de Telefónica por la cloud privada
 
CloudStack and SDN
CloudStack and SDNCloudStack and SDN
CloudStack and SDN
 
OpenStack Neutron Havana Overview - Oct 2013
OpenStack Neutron Havana Overview - Oct 2013OpenStack Neutron Havana Overview - Oct 2013
OpenStack Neutron Havana Overview - Oct 2013
 
Nova net-or-neutron-atlanta2014.pptx
Nova net-or-neutron-atlanta2014.pptxNova net-or-neutron-atlanta2014.pptx
Nova net-or-neutron-atlanta2014.pptx
 
OpenStack networking (Neutron)
OpenStack networking (Neutron) OpenStack networking (Neutron)
OpenStack networking (Neutron)
 
SDN in CloudStack
SDN in CloudStackSDN in CloudStack
SDN in CloudStack
 
Open stack networking_101_update_2014
Open stack networking_101_update_2014Open stack networking_101_update_2014
Open stack networking_101_update_2014
 
BRKDCT-2445
BRKDCT-2445BRKDCT-2445
BRKDCT-2445
 
OpenStack Quantum: Cloud Carrier Summit 2012
OpenStack Quantum: Cloud Carrier Summit 2012OpenStack Quantum: Cloud Carrier Summit 2012
OpenStack Quantum: Cloud Carrier Summit 2012
 
Openstack Neutron and SDN
Openstack Neutron and SDNOpenstack Neutron and SDN
Openstack Neutron and SDN
 
SFBay OpenStack Meetup // Neutron and SDN in Production – Dec 3 2013
SFBay OpenStack Meetup // Neutron and SDN in Production – Dec 3 2013SFBay OpenStack Meetup // Neutron and SDN in Production – Dec 3 2013
SFBay OpenStack Meetup // Neutron and SDN in Production – Dec 3 2013
 
Agile Networking with OpenStack
Agile Networking with OpenStack Agile Networking with OpenStack
Agile Networking with OpenStack
 
Cloud Networking is not Virtual Networking - London VMUG 20130425
Cloud Networking is not Virtual Networking - London VMUG 20130425Cloud Networking is not Virtual Networking - London VMUG 20130425
Cloud Networking is not Virtual Networking - London VMUG 20130425
 
OpenStack Networking
OpenStack NetworkingOpenStack Networking
OpenStack Networking
 
No sql & dq2 tracer service
No sql & dq2 tracer serviceNo sql & dq2 tracer service
No sql & dq2 tracer service
 
From Nova-Network to Neutron and Beyond: A Look at OpenStack Networking
From Nova-Network to Neutron and Beyond: A Look at OpenStack NetworkingFrom Nova-Network to Neutron and Beyond: A Look at OpenStack Networking
From Nova-Network to Neutron and Beyond: A Look at OpenStack Networking
 
Scaling OpenStack Networking Beyond 4000 Nodes with Dragonflow - Eshed Gal-Or...
Scaling OpenStack Networking Beyond 4000 Nodes with Dragonflow - Eshed Gal-Or...Scaling OpenStack Networking Beyond 4000 Nodes with Dragonflow - Eshed Gal-Or...
Scaling OpenStack Networking Beyond 4000 Nodes with Dragonflow - Eshed Gal-Or...
 
Quantum - The Network Mechanics
Quantum - The Network MechanicsQuantum - The Network Mechanics
Quantum - The Network Mechanics
 
BRKDCT-2445 Agile OpenStack Networking with Cisco Solutions-Cisco Live! US 20...
BRKDCT-2445 Agile OpenStack Networking with Cisco Solutions-Cisco Live! US 20...BRKDCT-2445 Agile OpenStack Networking with Cisco Solutions-Cisco Live! US 20...
BRKDCT-2445 Agile OpenStack Networking with Cisco Solutions-Cisco Live! US 20...
 

Similar to CloudStack NVP Integration

Quantum - Virtual networks for Openstack
Quantum - Virtual networks for OpenstackQuantum - Virtual networks for Openstack
Quantum - Virtual networks for Openstacksalv_orlando
 
NetScaler and advanced networking in cloudstack
NetScaler and advanced networking in cloudstackNetScaler and advanced networking in cloudstack
NetScaler and advanced networking in cloudstackDeepak Garg
 
Developments to CloudStack’s SDN ecosystem: Integration with VMWare NSX 4 - P...
Developments to CloudStack’s SDN ecosystem: Integration with VMWare NSX 4 - P...Developments to CloudStack’s SDN ecosystem: Integration with VMWare NSX 4 - P...
Developments to CloudStack’s SDN ecosystem: Integration with VMWare NSX 4 - P...ShapeBlue
 
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...Dan Mihai Dumitriu
 
LINEʼs OpenStack Networking Challenge
LINEʼs OpenStack Networking ChallengeLINEʼs OpenStack Networking Challenge
LINEʼs OpenStack Networking ChallengeLINE Corporation
 
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/SDNTe-Yen Liu
 
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-meetupsyfauser
 
Multi tier-app-network-topology-neutron-final
Multi tier-app-network-topology-neutron-finalMulti tier-app-network-topology-neutron-final
Multi tier-app-network-topology-neutron-finalSadique Puthen
 
Nuage Networks, A Policy Driven Approach to SDN - Interop Tokyo 2014
Nuage Networks, A Policy Driven Approach to SDN - Interop Tokyo 2014Nuage Networks, A Policy Driven Approach to SDN - Interop Tokyo 2014
Nuage Networks, A Policy Driven Approach to SDN - Interop Tokyo 2014Scott Sneddon
 
Openstack Basic with Neutron
Openstack Basic with NeutronOpenstack Basic with Neutron
Openstack Basic with NeutronKwonSun Bae
 
Midokura OpenStack Meetup Taipei
Midokura OpenStack Meetup TaipeiMidokura OpenStack Meetup Taipei
Midokura OpenStack Meetup TaipeiDan Mihai Dumitriu
 
NSX: La Virtualizzazione di Rete e il Futuro della Sicurezza
NSX: La Virtualizzazione di Rete e il Futuro della SicurezzaNSX: La Virtualizzazione di Rete e il Futuro della Sicurezza
NSX: La Virtualizzazione di Rete e il Futuro della SicurezzaVMUG IT
 
ONUG Tutorial: Bridges and Tunnels Drive Through OpenStack Networking
ONUG Tutorial: Bridges and Tunnels Drive Through OpenStack NetworkingONUG Tutorial: Bridges and Tunnels Drive Through OpenStack Networking
ONUG Tutorial: Bridges and Tunnels Drive Through OpenStack Networkingmarkmcclain
 
3 Networking CloudStack Developer Day
3  Networking CloudStack Developer Day 3  Networking CloudStack Developer Day
3 Networking CloudStack Developer Day Kimihiko Kitase
 
Navigating OpenStack Networking
Navigating OpenStack NetworkingNavigating OpenStack Networking
Navigating OpenStack NetworkingPLUMgrid
 
[OpenStack Day in Korea 2015] Track 3-6 - Archiectural Overview of the Open S...
[OpenStack Day in Korea 2015] Track 3-6 - Archiectural Overview of the Open S...[OpenStack Day in Korea 2015] Track 3-6 - Archiectural Overview of the Open S...
[OpenStack Day in Korea 2015] Track 3-6 - Archiectural Overview of the Open S...OpenStack Korea Community
 
DevOops - Lessons Learned from an OpenStack Network Architect
DevOops - Lessons Learned from an OpenStack Network ArchitectDevOops - Lessons Learned from an OpenStack Network Architect
DevOops - Lessons Learned from an OpenStack Network ArchitectJames Denton
 

Similar to CloudStack NVP Integration (20)

SDN in CloudStack
SDN in CloudStackSDN in CloudStack
SDN in CloudStack
 
What's new in Neutron Juno
What's new in Neutron JunoWhat's new in Neutron Juno
What's new in Neutron Juno
 
Quantum - Virtual networks for Openstack
Quantum - Virtual networks for OpenstackQuantum - Virtual networks for Openstack
Quantum - Virtual networks for Openstack
 
NetScaler and advanced networking in cloudstack
NetScaler and advanced networking in cloudstackNetScaler and advanced networking in cloudstack
NetScaler and advanced networking in cloudstack
 
Developments to CloudStack’s SDN ecosystem: Integration with VMWare NSX 4 - P...
Developments to CloudStack’s SDN ecosystem: Integration with VMWare NSX 4 - P...Developments to CloudStack’s SDN ecosystem: Integration with VMWare NSX 4 - P...
Developments to CloudStack’s SDN ecosystem: Integration with VMWare NSX 4 - P...
 
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...
 
LINEʼs OpenStack Networking Challenge
LINEʼs OpenStack Networking ChallengeLINEʼs OpenStack Networking Challenge
LINEʼs OpenStack Networking Challenge
 
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
 
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
 
Multi tier-app-network-topology-neutron-final
Multi tier-app-network-topology-neutron-finalMulti tier-app-network-topology-neutron-final
Multi tier-app-network-topology-neutron-final
 
Nuage Networks, A Policy Driven Approach to SDN - Interop Tokyo 2014
Nuage Networks, A Policy Driven Approach to SDN - Interop Tokyo 2014Nuage Networks, A Policy Driven Approach to SDN - Interop Tokyo 2014
Nuage Networks, A Policy Driven Approach to SDN - Interop Tokyo 2014
 
Openstack Basic with Neutron
Openstack Basic with NeutronOpenstack Basic with Neutron
Openstack Basic with Neutron
 
OpenStack Quantum
OpenStack QuantumOpenStack Quantum
OpenStack Quantum
 
Midokura OpenStack Meetup Taipei
Midokura OpenStack Meetup TaipeiMidokura OpenStack Meetup Taipei
Midokura OpenStack Meetup Taipei
 
NSX: La Virtualizzazione di Rete e il Futuro della Sicurezza
NSX: La Virtualizzazione di Rete e il Futuro della SicurezzaNSX: La Virtualizzazione di Rete e il Futuro della Sicurezza
NSX: La Virtualizzazione di Rete e il Futuro della Sicurezza
 
ONUG Tutorial: Bridges and Tunnels Drive Through OpenStack Networking
ONUG Tutorial: Bridges and Tunnels Drive Through OpenStack NetworkingONUG Tutorial: Bridges and Tunnels Drive Through OpenStack Networking
ONUG Tutorial: Bridges and Tunnels Drive Through OpenStack Networking
 
3 Networking CloudStack Developer Day
3  Networking CloudStack Developer Day 3  Networking CloudStack Developer Day
3 Networking CloudStack Developer Day
 
Navigating OpenStack Networking
Navigating OpenStack NetworkingNavigating OpenStack Networking
Navigating OpenStack Networking
 
[OpenStack Day in Korea 2015] Track 3-6 - Archiectural Overview of the Open S...
[OpenStack Day in Korea 2015] Track 3-6 - Archiectural Overview of the Open S...[OpenStack Day in Korea 2015] Track 3-6 - Archiectural Overview of the Open S...
[OpenStack Day in Korea 2015] Track 3-6 - Archiectural Overview of the Open S...
 
DevOops - Lessons Learned from an OpenStack Network Architect
DevOops - Lessons Learned from an OpenStack Network ArchitectDevOops - Lessons Learned from an OpenStack Network Architect
DevOops - Lessons Learned from an OpenStack Network Architect
 

Recently uploaded

Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxLoriGlavin3
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfPrecisely
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxLoriGlavin3
 

Recently uploaded (20)

Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
 

CloudStack NVP Integration

  • 2. About me » Hugo Trippaers – Email: htrippaers@schubergphilis.com – Twitter: @Spark404 » I’ve been working in IT for over two decades, mainly at ISPs. » Mission Critical Engineer at Schuberg Philis for almost 6 years. – Responsible for the 100% availability of our customers application landscapes – Currently part of the internal development team Sunday, December 2, 12
  • 3. CloudStack and me » Schuberg Philis design for a Cloud offering – Flexible, Scalable etc etc – What about networking? • Nicira NVP solution » No CloudStack support for Nicira NVP on the roadmaps – What to do? • Ask for support from Nicira and Citrix • Find developer and do it, thats how OpenSource works Sunday, December 2, 12
  • 4. Design criteria for the integration » Transparent integration – Using Nicira NVP should be no different from using regular networks. – All code is to be part of CloudStack, no external modules. » Source code available as OpenSource Sunday, December 2, 12
  • 5. Phased approach » Phase one – Getting familiar with the CloudStack sources – L2 Networking (Logical Switch and Logical Switch Port) – API for configuration » Phase two – L3 Networking (Logical Routers and Gateway services) – UI elements for configuration – Support for KVM and VMWare? » Future? Sunday, December 2, 12
  • 6. Nicira NVP integration in CloudStack » Architecture Sunday, December 2, 12
  • 7. Nicira NVP integration in CloudStack » Nicira NVP plugin Nicira NVP Plugin NVP NVP Network- Element Guru Nicira NVP Java API wrapper Hypervisor adjustments for Vif tags Sunday, December 2, 12
  • 8. Nicira NVP integration in CloudStack Nicira NVP Java API wrapper Nicira NVP Plugin NVP Guru NVP Element Hypervisor adjustments for Vif Sunday, December 2, 12
  • 9. How does it work? » First of all what do we need – Nicira NVP Stack – XenServer hypervisors – CloudStack 9 Sunday, December 2, 12
  • 10. How does it work? » Nicira NVP and hypervisor configuration – Defining and configuring a transport zone 10 Sunday, December 2, 12
  • 11. How does it work? » Nicira NVP and hypervisor configuration – Defining and configuring a transport zone – Linking the zone to the hypervisors 11 Sunday, December 2, 12
  • 12. How does it work? » CloudStack configuration – Setup the Network Service Provider 12 Sunday, December 2, 12
  • 13. How does it work? » CloudStack configuration – Setup the Network Service Provider – Configure a Physical Network – Traffic tag links to “Integration Bridge” 13 Sunday, December 2, 12
  • 14. How does it work? » CloudStack configuration – Setup the Network Service Provider – Configure a Physical Network – Traffic tag links to “Integration Bridge” Only select Virtual Networking; – Configure Service Offerings “Connectivity” in 4.0.0 • L2 Features 14 Sunday, December 2, 12
  • 15. How does it work? » CloudStack configuration – Setup the Network Service Provider – Configure a Physical Network L3 Support for SourceNat, StaticNat and Port Forwarding. – Traffic tag links to “Integration Bridge” – Configure Service Offerings • L2 Features • L2 and L3 Features 15 Sunday, December 2, 12
  • 16. In Action; Provisioning networks » Tenant allocates a new network – Nothing happens yet, just a check » Tenant implements a new network (by starting first VM) – LogicalSwitch is created in the Nicira Controller 16 Sunday, December 2, 12
  • 17. In Action; Provisioning networks » Tenant allocates a new network – Nothing happens yet, just a check » Tenant implements a new network (by starting first VM) – LogicalSwitch is created in the Nicira Controller 17 Sunday, December 2, 12
  • 18. In Action; Starting Virtual Machines » Nicira NVP Element creates a port on the logical switch – Attachment type set to UUID with the UUID of the NIC (from CS) » Hypervisor Resource sets tags on the Vif with the UUID of the NIC – Attached to the “Integration Bridge” » Nicira NVP Controller matches those uuids and creates any required flows. 18 Sunday, December 2, 12
  • 19. In Action; Starting a Virtual Machine » Nicira NVP Element creates a port on the logical switch – Attachment type set to UUID with the UUID of the NIC (from CS) » Hypervisor Resource sets tags on the Vif with the UUID of the NIC » Nicira NVP matches those uuids and creates any required flows 19 Sunday, December 2, 12
  • 20. In Action; Start Routing Elements » Tenant implements a network – Offering with Virtual Networking and SourceNat – Nicira NVP Element creates Logical Router • inside port connected to Logical Switch • outside port connected to VLAN (via Gateway Service) • allocated public ip set on outside port – Nicira NVP configures “main” SourceNat rule 20 Sunday, December 2, 12
  • 21. In Action; Start Routing Elements » Tenant implements a network – Offering with Virtual Networking and SourceNat – Nicira NVP Element creates Logical Router • inside port connected to Logical Switch • outside port connected to VLAN (via Gateway Service) • allocated public ip set on outside port – Nicira NVP configures “main” SourceNat rule 21 Sunday, December 2, 12
  • 22. In Action; Static Nat and PortForwarding » Tenant updates either a rule for static nat or port forwarding – Requires a configured Logical Router • Nicira Nvp Element provisions DNAT rule – Difference between StaticNat and PF is one port or 0:65535 • Nicira Nvp Element provisions SNAT rule – required for outgoing traffic – Nicira NVP picks most specific rule first (since 2.2.x) 22 Sunday, December 2, 12
  • 23. Under the hood; Troubleshooting » Checking consistency between Nicira NVP Manager and CloudStack – network broadcast uri – database references » References in the database – external_nicira_nvp_devices • Lists all configured nicira devices on physical networks • reference to host id – nicira_nvp_nic_map • mapping between nic uuid and logical router port uuid – nicira_nvp_router_map • mapping between router uuid and (guest) network id 23 Sunday, December 2, 12
  • 24. Summary » Available in 4.0.0 – L2 networks (Logical Switches) – Configuration via API – Supports Nicira NVP version 2.1.x and 2.2.x – Supports XenServer hypervisors » Available in next release (and in the master branch) – L3 Routing • Source Nat, Static Nat and Port Forwarding • Configuration via the UI 24 Sunday, December 2, 12
  • 25. Summary » Future plans – Support for multiple hypervisors – Support for bridged networks (Nicira NVP L2 Gateway) » More information – CloudStack Plugin Guide for the Nicira NVP Plugin (part of CloudStack documentation) – Nicira (http://nicira.com) » How to get involved? – Lacking code coverage with unittests – Use it! – Integration with other SDN solutions 25 Sunday, December 2, 12