SlideShare une entreprise Scribd logo
1  sur  19
Télécharger pour lire hors ligne
OpenStack Networking Technical Deep Dive
Yves Fauser, System Engineer VMware NSBU
10/16/2013

© 2011 VMware Inc. All rights reserved
Agenda
§  Networking before Neutron
§  Nova-Networking modes (flat / flat-dhcp / vlan-dhcp)
§  OpenStack Networking with Neutron
§  Neutron Refresher
§  OVS Overview
§  Open Source OVS Plugin Overview
§  OVS-Plugin vs. VMware NSX Plugin
§  Nova-Metadata – Neutron Implementation

2
Networking before Neutron
Nova-Networking modes (flat / flat-dhcp / vlan-dhcp)
Drawbacks of Nova-Networking that led to Neutron

© 2011 VMware Inc. All rights reserved
OpenStack Networking before Neutron - Refresher
§  Nova has its own networking service –
nova-network. It was used before Neutron
§  Nova-network is still present today,
and can be used instead of Neutron
§  Nova-network does §  base L2 network provisioning
through Linux Bridge (brctl)
§  IP Address management for
Tenants (in SQL DB)

nova-console
(vnc/vmrc)

nova-api
(OS,EC2,Admin)

nova-compute

nova-cert

Libvirt, XenAPI, etc.

Nova
DB

Hypervisor
(KVM, Xen,
etc.)

Queue

novaconsoleauth

nova-metadata

nova-scheduler

§  configure DHCP and DNS
entries in dnsmasq
§  configure fw-policies and NAT
in IPTables (nova-compute)
§  Calls to network services are
done through the nova API

nova-volume

novanetwork

Volume-Provider
(iSCSI, LVM, etc.)

Network-Providers
(Linux-Bridge or OVS with
brcompat, dnsmasq, IPTables)

§  Nova-network only knows 3 basic Network-Models;
§  Flat & Flat DHCP – direct bridging of Instance to external eth. Interface
with and w/o DHCP
§  VLAN based – Every tenant gets a VLAN, DHCP enabled
4

Inspired by
Nova-Networking deployment modes - Flat
§  In flat mode all VMs are patched into the same bridge (normally the Linux Bridge)
§  All VM Traffic is directly bridged onto the physical transport network (or single VLAN)
(aka as ‘fixed network’)
§  DHCP and Default Gateway is provided externally, and is not done using OpenStack
components
§  All VMs in a project are bridged to the same network, there is no multi-tenancy
beside security groups (IPTables between VM interfaces and bridge)
Compute Node

Compute Node

Compute Node

nova-compute

nova-compute

nova-compute

hypervisor

hypervisor

hypervisor

IP Stack

Management
Network
(or VLAN)

5

Bridge 100

Transport
Network
(or VLAN)

VM VM

VM VM

VM VM
IP Stack

Bridge 100

WAN/
Internet

IP Stack

Bridge 100

DHCP Server
Nova-Networking deployment modes – Flat / DHCP
§  As in flat mode all VMs are patched into the same bridge and all VM traffic is directly
bridged onto the physical transport network (or single VLAN) – (aka as ‘fixed network’)
§  DHCP and Default Gateway is provided by OpenStack Networking – Through
‘dnsmasq’ (DHCP) and iptables/routing stack + NAT / floating-ip’s
§  All VMs in a project are bridged to the same network, there is no multi-tenancy beside
security groups (IPTables between VM interfaces and bridge)
Compute Node
+ Networking *

nova-netw. dnsmasq nova-compute
NAT &
floating
-IPs

WAN/
Internet

iptables/
routing

IP Stack

hypervisor

Compute Node

nova-compute

nova-compute

hypervisor

hypervisor
VM VM

VM VM

VM VM
Bridge 100

Compute Node

IP Stack

Bridge 100

IP Stack

Bridge 100

External
Network
(or VLAN)

* With ‘multi-host’, each compute node will also be a networking node
6

Internal
Network
(or VLAN)
Nova-Networking deployment modes – VLAN
§  Other than with the flat modes, each project has its own network that maps to a VLAN and
bridge that needs to be pre-configured on the physical network
§  VM Traffic is bridged through one bridge and VLAN per project onto the physical network
§  DHCP and Default Gateway is provided by OpenStack Networking – Through
‘dnsmasq’ (DHCP) and iptables/routing stack + NAT / floating-ip’s

Compute Node
+ Networking *

nova-netw. dnsmasq
dnsmasq nova-compute
NAT &
floating
-IPs

WAN/
Internet

iptables/
routing

IP Stack
External
Network
(or VLAN)

* With ‘multi-host’,
each compute node will also be a networking node
7

nova-compute

nova-compute

hypervisor

hypervisor
VM

hypervisor

Bridge 40

VLAN30

VM VM

VM VM

VM

Bridge 30

Compute Node

Compute Node

IP Stack

VLAN40

Br
30

VLAN30

VLAN Trunk

Br
40

IP Stack

VLAN40

Br
30

VLAN30

VLAN Trunk

Br
40

VLAN40

Internal
VLANs
OpenStack Networking with Neutron
OVS Overview
OVS-Plugin vs. VMware NSX Plugin

© 2011 VMware Inc. All rights reserved
OpenVSwitch (OVS)
Transport
Network

MGMT

eth1

eth0
user

kernel

Config/State DB

Configuration
Data Interface
(ovsdb, CLI, …)

ovs-vswitchd

Flows

br-int (flow table)

WEB

9

Tunnel Ports
(to Linux IP
Stack)

br-tun

ovsdb-server

Flow Data Interface
(OpenFlow, CLI, …

Linux IP stack + routing table
192.168.10.1

WEB

APP

APP
Neutron – Open Source OVS Plugin Architecture
§  The following components play a role in the open source OVS Plugin Architecture
§  Neutron-OVS-Agent: Receives tunnel & flow setup information from OVS-Plugin and programs
OVS to build tunnels and to steers traffic into those tunnels
§  Neutron-DHCP-Agent: Sets up dnsmasq in a namespace per configured network/subnet,
and enters mac/ip combination in dnsmasq dhcp lease file
§  Neutron-L3-Agent: Sets up iptables/routing/NAT Tables (routers) as directed by OVS Plugin
§  In most cases GRE overlay tunnels
are used, but flat and vlan modes
are also possible

NeutronNetwork-Node

N.-L3-Agent
NAT &
floating
-IPs

WAN/
Internet

N.-DHCP-Agent

iptables/
routing
iptables/
routing

N.-OVS-Agent

dnsmasq
dnsmasq

ovsdb/
ovsvsd

Compute Node

nova-compute

Neutron-Server + OVS-Plugin

Compute Node

nova-compute

ovsdb/
ovsvsd

hypervisor

External
Network
(or VLAN)

hypervisor
VM VM
br-int
br-tun

br-tun

br-tun

IP Stack

IP Stack

L2 in L3 (GRE)
Tunnel
Layer 3 Transport Network

10

VM VM

ovsdb/
ovsvsd

br-int

br-int
br-ex
IP Stack

N.-OVS-Agent

N.-OVS-Agent

Layer 3 Transport Net.
Open Source OVS Plugin / VMware NSX Plugin differences
§  With the VMware NSX Plugin (aka NVP Plugin) the following services are replaced by
VMware NSX components
§  OVS-Plugin: The OVS Plugin is exchanged by the NVP-Plugin
§  Neutron-OVS-Agent: Instead of the OVS-Agent, a centralized NVP controller cluster is used
§  Neutron-L3-Agent: Instead of the L3-Agent, a scale out cluster of NVP Layer3 Gateways is used
§  IPTables/Ebtables: Security is provided by native OpenVSwitch methods, controlled by the NVPController Cluster
NeutronCompute Node
Compute Node
§  GRE Tunneling is exchanged
Network-Node
with the more performing
STT technology
Neutron-Server + OVS NVP-Plugin
N.-L3-Agent
NAT &
floating
-IPs

WAN/
Internet

N.-DHCP-Agent

iptables/
routing
iptables/
routing

N.-OVS-Agent

dnsmasq
dnsmasq

ovsdb/
ovsvsd

External
Network
(or VLAN)

ovsdb/
ovsvsd

hypervisor
VM VM

br-tun
IP Stack

br-tun

ovsdb/
ovsvsd

hypervisor
VM VM
br-int
br-tun

IP Stack

L2 in L3 (GRE)
Tunnel
Layer 3 Transport Network

11

N.-OVS-Agent

N.-OVS-Agent

br-int

br-int
br-ex
IP Stack

nova-compute

nova-compute

Layer 3 Transport Net.
OpenVSwitch with VMware NSX
Transport
Network

MGMT

NSX
Controller
Cluster

eth1

eth0
TCP 6633
OpenFlow

TCP 6632
OVSDB

user

kernel

Linux IP stack + routing table
192.168.10.1

Config/State DB

br-0
Flows & Tunnel
Ports
(to Linux IP
Stack)

ovsdb-server

br-int (flow table)

ovs-vswitchd

WEB

12

WEB

APP

APP
Open Source OVS Plugin / VMware NSX Plugin differences
§  Centralized scale-out controller cluster controls all OpenVSwitches in all Compute- and
Network Nodes. It configures the tunnel interfaces and programs the flow tables of OVS
§  NSX L3 Gateway Service (scale-out) is taking over the L3 routing and NAT functions
§  NSX Service-Node relieves the Compute Nodes from the task of replicating broadcast,
unknown unicast and multicast traffic sourced by VMs
§  Security-Groups are implemented natively in OVS, instead of iptables/ebtables
NeutronNetwork-Node

NSX Controller
Cluster

Neutron-Server + NVP-Plugin

Compute Node

Compute Node

nova-compute

nova-compute

N.-DHCP-Agent

hypervisor

hypervisor
ovsdb/
ovsvsd

dnsmasq
dnsmasq

ovsdb/
ovsvsd

br-0
IP Stack

ovsdb/
ovsvsd

VM VM
br-int

br-int

br-int

WAN/
Internet

VM VM

br-0

br-0
IP Stack

IP Stack

Management
Network

NSX L3GW
+ NAT

13

Layer 3 Transport Network

NSX ServiceNode

L2 in L3 (STT) Tunnel

Layer 3 Transport Net.
Management & Operations
§  Tunnel status
§  Port-to-port
troubleshooting tool

§  Traceflow packet
injection

14
VMware NSX Port Connection Tool Demo

DEMO TIME

15
Management & Operations – Software Upgrades

§  Automated deployment
of new Version

§  Built in compatibility
verification

§  Rollback
§  Online Upgrade
(i.e. dataplane &
control plane services
stay up)

16
Nova Metadata Service in Folsom
§  Nova-metadata is used to enable the use of cloud-init enabled images
(https://help.ubuntu.com/community/CloudInit)

§  After getting an IP address the Instance contacts the well know IP 169.254.169.254
via HTTP and requests the needed metadata for the Instance
•  Some of the things cloud-init configures are:
•  setting a default locale,
hostname, etc.
•  Set up ephemeral mount points

•  Generate ssh private keys, and add ssh
keys to user's .ssh/authorized_keys so
they can log in

§  With neutron in Folsom, the quantum-dhcp-agent will do the following:
§  provides option 121 “classless static routes” - adds a static route to
169.254.169.254 pointing to the dhcp-agent host itself
§  IPTables on the dhcp-agent host NATs the request either to the local metadata
server on the dhcp-agent host, or to a remote metadata service
Novametadata

dhcpagent

Instance
HTTP req. to 169.254.169.254
next-hop = quantum-dhcp-agent IP
in Tennant-Net

Novametadata

NAT to local
nova-metadata ,or

Forward to remote
nova-metadata

§  !! Caveat: In Folsom there is no support for overlapping IPs, and no support of
namespaces if nova-metadata is used. In Grizzly this will change (see next Slide)
17
Nova Metadata Service in Grizzly
§  To address the limitations of nova-metadata in Folsom, the Grizzly release introduces two
new services on the network-node;
quantum-ns-metadata-proxy and quantum-metadata-proxy (http://tinyurl.com/a3n4ypl for details)
§  In Grizzly DHCP option 121 is not used
anymore. The L3GW will route the request to
169.254.169.254 to the ns-metadata-proxy
§  The ns-metadata-proxy parses the request
and forwards it internally to the metadataproxy with two new headers: ‘X-Forward-For’
and the ‘X-Quantum-Router-ID’. These
headers provide context to properly identify
the Instance that made the original request.
Only the metadata-proxy can reach hosts on
the management network
§  The metadata-proxy uses the two headers to
retrieve the device-id of the port that sent the
request by interrogating quantum server

Network Node

Node in
management network

Tenant router network
namespace

quantum-nsmetadata-proxy
nova-metadata
via UNIX domain
socket
quantummetadata-proxy

quantum-server

§  The metadata proxy uses the device-id received from quantum-server to construct the
‘X-Instance-id’ header, and sends the request to nova-metadata including this information
§  Nova-metadata then uses the ‘X-Instance-id’ header to identify the tenant, and to properly
service the request
18
Open stack networking_101_part-2_tech_deep_dive

Contenu connexe

Tendances

Troubleshooting Tracebacks
Troubleshooting TracebacksTroubleshooting Tracebacks
Troubleshooting TracebacksJames Denton
 
Open stack networking vlan, gre
Open stack networking   vlan, greOpen stack networking   vlan, gre
Open stack networking vlan, greSim Janghoon
 
Nova net-or-neutron-atlanta2014.pptx
Nova net-or-neutron-atlanta2014.pptxNova net-or-neutron-atlanta2014.pptx
Nova net-or-neutron-atlanta2014.pptxSomik Behera
 
Networking in OpenStack for non-networking people: Neutron, Open vSwitch and ...
Networking in OpenStack for non-networking people: Neutron, Open vSwitch and ...Networking in OpenStack for non-networking people: Neutron, Open vSwitch and ...
Networking in OpenStack for non-networking people: Neutron, Open vSwitch and ...Dave Neary
 
OpenStack Networking and Automation
OpenStack Networking and AutomationOpenStack Networking and Automation
OpenStack Networking and AutomationAdam Johnson
 
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
 
2014 OpenStack Summit - Neutron OVS to LinuxBridge Migration
2014 OpenStack Summit - Neutron OVS to LinuxBridge Migration2014 OpenStack Summit - Neutron OVS to LinuxBridge Migration
2014 OpenStack Summit - Neutron OVS to LinuxBridge MigrationJames Denton
 
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)Dan Wendlandt
 
Network virtualization with open stack quantum
Network virtualization with open stack quantumNetwork virtualization with open stack quantum
Network virtualization with open stack quantumMiguel Lavalle
 
Neutron behind the scenes
Neutron   behind the scenesNeutron   behind the scenes
Neutron behind the scenesinbroker
 
Openstack Basic with Neutron
Openstack Basic with NeutronOpenstack Basic with Neutron
Openstack Basic with NeutronKwonSun Bae
 
Overview of Distributed Virtual Router (DVR) in Openstack/Neutron
Overview of Distributed Virtual Router (DVR) in Openstack/NeutronOverview of Distributed Virtual Router (DVR) in Openstack/Neutron
Overview of Distributed Virtual Router (DVR) in Openstack/Neutronvivekkonnect
 
OVN - Basics and deep dive
OVN - Basics and deep diveOVN - Basics and deep dive
OVN - Basics and deep diveTrinath Somanchi
 
Open stack advanced_part
Open stack advanced_partOpen stack advanced_part
Open stack advanced_partlilliput12
 
Understanding Open vSwitch
Understanding Open vSwitch Understanding Open vSwitch
Understanding Open vSwitch YongKi Kim
 
Control Your Network ASICs, What Benefits switchdev Can Bring Us
Control Your Network ASICs, What Benefits switchdev Can Bring UsControl Your Network ASICs, What Benefits switchdev Can Bring Us
Control Your Network ASICs, What Benefits switchdev Can Bring UsHungWei Chiu
 
Pushing Packets - How do the ML2 Mechanism Drivers Stack Up
Pushing Packets - How do the ML2 Mechanism Drivers Stack UpPushing Packets - How do the ML2 Mechanism Drivers Stack Up
Pushing Packets - How do the ML2 Mechanism Drivers Stack UpJames Denton
 
OpenvSwitch Deep Dive
OpenvSwitch Deep DiveOpenvSwitch Deep Dive
OpenvSwitch Deep Diverajdeep
 
Openstack Networking Internals - first part
Openstack Networking Internals - first partOpenstack Networking Internals - first part
Openstack Networking Internals - first partlilliput12
 

Tendances (20)

Troubleshooting Tracebacks
Troubleshooting TracebacksTroubleshooting Tracebacks
Troubleshooting Tracebacks
 
Open stack networking vlan, gre
Open stack networking   vlan, greOpen stack networking   vlan, gre
Open stack networking vlan, gre
 
Nova net-or-neutron-atlanta2014.pptx
Nova net-or-neutron-atlanta2014.pptxNova net-or-neutron-atlanta2014.pptx
Nova net-or-neutron-atlanta2014.pptx
 
Networking in OpenStack for non-networking people: Neutron, Open vSwitch and ...
Networking in OpenStack for non-networking people: Neutron, Open vSwitch and ...Networking in OpenStack for non-networking people: Neutron, Open vSwitch and ...
Networking in OpenStack for non-networking people: Neutron, Open vSwitch and ...
 
OpenStack Networking and Automation
OpenStack Networking and AutomationOpenStack Networking and Automation
OpenStack Networking and Automation
 
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
 
2014 OpenStack Summit - Neutron OVS to LinuxBridge Migration
2014 OpenStack Summit - Neutron OVS to LinuxBridge Migration2014 OpenStack Summit - Neutron OVS to LinuxBridge Migration
2014 OpenStack Summit - Neutron OVS to LinuxBridge Migration
 
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)
 
Network virtualization with open stack quantum
Network virtualization with open stack quantumNetwork virtualization with open stack quantum
Network virtualization with open stack quantum
 
Neutron behind the scenes
Neutron   behind the scenesNeutron   behind the scenes
Neutron behind the scenes
 
Openstack Basic with Neutron
Openstack Basic with NeutronOpenstack Basic with Neutron
Openstack Basic with Neutron
 
Overview of Distributed Virtual Router (DVR) in Openstack/Neutron
Overview of Distributed Virtual Router (DVR) in Openstack/NeutronOverview of Distributed Virtual Router (DVR) in Openstack/Neutron
Overview of Distributed Virtual Router (DVR) in Openstack/Neutron
 
OVN - Basics and deep dive
OVN - Basics and deep diveOVN - Basics and deep dive
OVN - Basics and deep dive
 
Open stack advanced_part
Open stack advanced_partOpen stack advanced_part
Open stack advanced_part
 
Training open stack networking -neutron
Training open stack networking -neutronTraining open stack networking -neutron
Training open stack networking -neutron
 
Understanding Open vSwitch
Understanding Open vSwitch Understanding Open vSwitch
Understanding Open vSwitch
 
Control Your Network ASICs, What Benefits switchdev Can Bring Us
Control Your Network ASICs, What Benefits switchdev Can Bring UsControl Your Network ASICs, What Benefits switchdev Can Bring Us
Control Your Network ASICs, What Benefits switchdev Can Bring Us
 
Pushing Packets - How do the ML2 Mechanism Drivers Stack Up
Pushing Packets - How do the ML2 Mechanism Drivers Stack UpPushing Packets - How do the ML2 Mechanism Drivers Stack Up
Pushing Packets - How do the ML2 Mechanism Drivers Stack Up
 
OpenvSwitch Deep Dive
OpenvSwitch Deep DiveOpenvSwitch Deep Dive
OpenvSwitch Deep Dive
 
Openstack Networking Internals - first part
Openstack Networking Internals - first partOpenstack Networking Internals - first part
Openstack Networking Internals - first part
 

Similaire à Open stack networking_101_part-2_tech_deep_dive

Seamless migration from nova network to neutron in e bay production
Seamless migration from nova network to neutron in e bay productionSeamless migration from nova network to neutron in e bay production
Seamless migration from nova network to neutron in e bay productionChengyuan Li
 
OVHcloud Hosted Private Cloud Platform Network use cases with VMware NSX
OVHcloud Hosted Private Cloud Platform Network use cases with VMware NSXOVHcloud Hosted Private Cloud Platform Network use cases with VMware NSX
OVHcloud Hosted Private Cloud Platform Network use cases with VMware NSXOVHcloud
 
VMworld 2013: vSphere Networking and vCloud Networking Suite Best Practices a...
VMworld 2013: vSphere Networking and vCloud Networking Suite Best Practices a...VMworld 2013: vSphere Networking and vCloud Networking Suite Best Practices a...
VMworld 2013: vSphere Networking and vCloud Networking Suite Best Practices a...VMworld
 
Comparison between VMware and Open Stack Cloud
Comparison between VMware and Open Stack CloudComparison between VMware and Open Stack Cloud
Comparison between VMware and Open Stack CloudSaeed Siddik
 
PLNOG16: VXLAN Gateway, efektywny sposób połączenia świata wirtualnego z fizy...
PLNOG16: VXLAN Gateway, efektywny sposób połączenia świata wirtualnego z fizy...PLNOG16: VXLAN Gateway, efektywny sposób połączenia świata wirtualnego z fizy...
PLNOG16: VXLAN Gateway, efektywny sposób połączenia świata wirtualnego z fizy...PROIDEA
 
OpenStack and OpenContrail for FreeBSD platform by Michał Dubiel
OpenStack and OpenContrail for FreeBSD platform by Michał DubielOpenStack and OpenContrail for FreeBSD platform by Michał Dubiel
OpenStack and OpenContrail for FreeBSD platform by Michał Dubieleurobsdcon
 
Openstack Overview for Drupalcon Portland
Openstack Overview for Drupalcon Portland Openstack Overview for Drupalcon Portland
Openstack Overview for Drupalcon Portland Jason Ford
 
Docker Multi Host Networking, Rachit Arora, IBM
Docker Multi Host Networking, Rachit Arora, IBMDocker Multi Host Networking, Rachit Arora, IBM
Docker Multi Host Networking, Rachit Arora, IBMNeependra Khare
 
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
 
Arista Nuage meetup dublin 18-2
Arista Nuage meetup dublin 18-2Arista Nuage meetup dublin 18-2
Arista Nuage meetup dublin 18-2Patrick Lynchehaun
 
OpenStack Neutron Dragonflow l3 SDNmeetup
OpenStack Neutron Dragonflow l3 SDNmeetupOpenStack Neutron Dragonflow l3 SDNmeetup
OpenStack Neutron Dragonflow l3 SDNmeetupEran Gampel
 
Using Agilio SmartNICs for OpenStack Networking Acceleration
Using Agilio SmartNICs for OpenStack Networking AccelerationUsing Agilio SmartNICs for OpenStack Networking Acceleration
Using Agilio SmartNICs for OpenStack Networking AccelerationNetronome
 
OpenStack Networking
OpenStack NetworkingOpenStack Networking
OpenStack NetworkingIlya Shakhat
 
VMworld 2014: Advanced Topics & Future Directions in Network Virtualization w...
VMworld 2014: Advanced Topics & Future Directions in Network Virtualization w...VMworld 2014: Advanced Topics & Future Directions in Network Virtualization w...
VMworld 2014: Advanced Topics & Future Directions in Network Virtualization w...VMworld
 
Flexible NFV WAN interconnections with Neutron BGP VPN
 Flexible NFV WAN interconnections with Neutron BGP VPN Flexible NFV WAN interconnections with Neutron BGP VPN
Flexible NFV WAN interconnections with Neutron BGP VPNThomas Morin
 
VyOS Users Meeting #2, VyOSのVXLANの話
VyOS Users Meeting #2, VyOSのVXLANの話VyOS Users Meeting #2, VyOSのVXLANの話
VyOS Users Meeting #2, VyOSのVXLANの話upaa
 
VLANs in the Linux Kernel
VLANs in the Linux KernelVLANs in the Linux Kernel
VLANs in the Linux KernelKernel TLV
 

Similaire à Open stack networking_101_part-2_tech_deep_dive (20)

Seamless migration from nova network to neutron in e bay production
Seamless migration from nova network to neutron in e bay productionSeamless migration from nova network to neutron in e bay production
Seamless migration from nova network to neutron in e bay production
 
OVHcloud Hosted Private Cloud Platform Network use cases with VMware NSX
OVHcloud Hosted Private Cloud Platform Network use cases with VMware NSXOVHcloud Hosted Private Cloud Platform Network use cases with VMware NSX
OVHcloud Hosted Private Cloud Platform Network use cases with VMware NSX
 
VMworld 2013: vSphere Networking and vCloud Networking Suite Best Practices a...
VMworld 2013: vSphere Networking and vCloud Networking Suite Best Practices a...VMworld 2013: vSphere Networking and vCloud Networking Suite Best Practices a...
VMworld 2013: vSphere Networking and vCloud Networking Suite Best Practices a...
 
Comparison between VMware and Open Stack Cloud
Comparison between VMware and Open Stack CloudComparison between VMware and Open Stack Cloud
Comparison between VMware and Open Stack Cloud
 
PLNOG16: VXLAN Gateway, efektywny sposób połączenia świata wirtualnego z fizy...
PLNOG16: VXLAN Gateway, efektywny sposób połączenia świata wirtualnego z fizy...PLNOG16: VXLAN Gateway, efektywny sposób połączenia świata wirtualnego z fizy...
PLNOG16: VXLAN Gateway, efektywny sposób połączenia świata wirtualnego z fizy...
 
OpenStack and OpenContrail for FreeBSD platform by Michał Dubiel
OpenStack and OpenContrail for FreeBSD platform by Michał DubielOpenStack and OpenContrail for FreeBSD platform by Michał Dubiel
OpenStack and OpenContrail for FreeBSD platform by Michał Dubiel
 
Openstack Overview for Drupalcon Portland
Openstack Overview for Drupalcon Portland Openstack Overview for Drupalcon Portland
Openstack Overview for Drupalcon Portland
 
Docker Multi Host Networking, Rachit Arora, IBM
Docker Multi Host Networking, Rachit Arora, IBMDocker Multi Host Networking, Rachit Arora, IBM
Docker Multi Host Networking, Rachit Arora, IBM
 
Demystifying openvswitch
Demystifying openvswitchDemystifying openvswitch
Demystifying openvswitch
 
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...
 
NSX-MH
NSX-MHNSX-MH
NSX-MH
 
Arista Nuage meetup dublin 18-2
Arista Nuage meetup dublin 18-2Arista Nuage meetup dublin 18-2
Arista Nuage meetup dublin 18-2
 
Inf net2227 heath
Inf net2227 heathInf net2227 heath
Inf net2227 heath
 
OpenStack Neutron Dragonflow l3 SDNmeetup
OpenStack Neutron Dragonflow l3 SDNmeetupOpenStack Neutron Dragonflow l3 SDNmeetup
OpenStack Neutron Dragonflow l3 SDNmeetup
 
Using Agilio SmartNICs for OpenStack Networking Acceleration
Using Agilio SmartNICs for OpenStack Networking AccelerationUsing Agilio SmartNICs for OpenStack Networking Acceleration
Using Agilio SmartNICs for OpenStack Networking Acceleration
 
OpenStack Networking
OpenStack NetworkingOpenStack Networking
OpenStack Networking
 
VMworld 2014: Advanced Topics & Future Directions in Network Virtualization w...
VMworld 2014: Advanced Topics & Future Directions in Network Virtualization w...VMworld 2014: Advanced Topics & Future Directions in Network Virtualization w...
VMworld 2014: Advanced Topics & Future Directions in Network Virtualization w...
 
Flexible NFV WAN interconnections with Neutron BGP VPN
 Flexible NFV WAN interconnections with Neutron BGP VPN Flexible NFV WAN interconnections with Neutron BGP VPN
Flexible NFV WAN interconnections with Neutron BGP VPN
 
VyOS Users Meeting #2, VyOSのVXLANの話
VyOS Users Meeting #2, VyOSのVXLANの話VyOS Users Meeting #2, VyOSのVXLANの話
VyOS Users Meeting #2, VyOSのVXLANの話
 
VLANs in the Linux Kernel
VLANs in the Linux KernelVLANs in the Linux Kernel
VLANs in the Linux Kernel
 

Dernier

8377087607 Full Enjoy @24/7-CLEAN-Call Girls In Chhatarpur,
8377087607 Full Enjoy @24/7-CLEAN-Call Girls In Chhatarpur,8377087607 Full Enjoy @24/7-CLEAN-Call Girls In Chhatarpur,
8377087607 Full Enjoy @24/7-CLEAN-Call Girls In Chhatarpur,dollysharma2066
 
Call Girls In Andheri East Call US Pooja📞 9892124323 Book Hot And
Call Girls In Andheri East Call US Pooja📞 9892124323 Book Hot AndCall Girls In Andheri East Call US Pooja📞 9892124323 Book Hot And
Call Girls In Andheri East Call US Pooja📞 9892124323 Book Hot AndPooja Nehwal
 
9892124323, Call Girls in mumbai, Vashi Call Girls , Kurla Call girls
9892124323, Call Girls in mumbai, Vashi Call Girls , Kurla Call girls9892124323, Call Girls in mumbai, Vashi Call Girls , Kurla Call girls
9892124323, Call Girls in mumbai, Vashi Call Girls , Kurla Call girlsPooja Nehwal
 
Call Girls Anjuna beach Mariott Resort ₰8588052666
Call Girls Anjuna beach Mariott Resort ₰8588052666Call Girls Anjuna beach Mariott Resort ₰8588052666
Call Girls Anjuna beach Mariott Resort ₰8588052666nishakur201
 
Top Rated Pune Call Girls Tingre Nagar ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Tingre Nagar ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Tingre Nagar ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Tingre Nagar ⟟ 6297143586 ⟟ Call Me For Genuine Se...Call Girls in Nagpur High Profile
 
Reinventing Corporate Philanthropy_ Strategies for Meaningful Impact by Leko ...
Reinventing Corporate Philanthropy_ Strategies for Meaningful Impact by Leko ...Reinventing Corporate Philanthropy_ Strategies for Meaningful Impact by Leko ...
Reinventing Corporate Philanthropy_ Strategies for Meaningful Impact by Leko ...Leko Durda
 
call girls in candolim beach 9870370636] NORTH GOA ..
call girls in candolim beach 9870370636] NORTH GOA ..call girls in candolim beach 9870370636] NORTH GOA ..
call girls in candolim beach 9870370636] NORTH GOA ..nishakur201
 
CALL ON ➥8923113531 🔝Call Girls Aliganj Lucknow best sexual service
CALL ON ➥8923113531 🔝Call Girls Aliganj Lucknow best sexual serviceCALL ON ➥8923113531 🔝Call Girls Aliganj Lucknow best sexual service
CALL ON ➥8923113531 🔝Call Girls Aliganj Lucknow best sexual serviceanilsa9823
 
LC_YouSaidYes_NewBelieverBookletDone.pdf
LC_YouSaidYes_NewBelieverBookletDone.pdfLC_YouSaidYes_NewBelieverBookletDone.pdf
LC_YouSaidYes_NewBelieverBookletDone.pdfpastor83
 
Lilac Illustrated Social Psychology Presentation.pptx
Lilac Illustrated Social Psychology Presentation.pptxLilac Illustrated Social Psychology Presentation.pptx
Lilac Illustrated Social Psychology Presentation.pptxABMWeaklings
 
CALL ON ➥8923113531 🔝Call Girls Rajajipuram Lucknow best sexual service
CALL ON ➥8923113531 🔝Call Girls Rajajipuram Lucknow best sexual serviceCALL ON ➥8923113531 🔝Call Girls Rajajipuram Lucknow best sexual service
CALL ON ➥8923113531 🔝Call Girls Rajajipuram Lucknow best sexual serviceanilsa9823
 
CALL ON ➥8923113531 🔝Call Girls Mahanagar Lucknow best sexual service
CALL ON ➥8923113531 🔝Call Girls Mahanagar Lucknow best sexual serviceCALL ON ➥8923113531 🔝Call Girls Mahanagar Lucknow best sexual service
CALL ON ➥8923113531 🔝Call Girls Mahanagar Lucknow best sexual serviceanilsa9823
 
$ Love Spells^ 💎 (310) 882-6330 in West Virginia, WV | Psychic Reading Best B...
$ Love Spells^ 💎 (310) 882-6330 in West Virginia, WV | Psychic Reading Best B...$ Love Spells^ 💎 (310) 882-6330 in West Virginia, WV | Psychic Reading Best B...
$ Love Spells^ 💎 (310) 882-6330 in West Virginia, WV | Psychic Reading Best B...PsychicRuben LoveSpells
 
Independent Escorts in Lucknow (Adult Only) 👩🏽‍❤️‍💋‍👩🏼 8923113531 ♛ Escort S...
Independent Escorts in Lucknow  (Adult Only) 👩🏽‍❤️‍💋‍👩🏼 8923113531 ♛ Escort S...Independent Escorts in Lucknow  (Adult Only) 👩🏽‍❤️‍💋‍👩🏼 8923113531 ♛ Escort S...
Independent Escorts in Lucknow (Adult Only) 👩🏽‍❤️‍💋‍👩🏼 8923113531 ♛ Escort S...gurkirankumar98700
 
办理国外毕业证学位证《原版美国montana文凭》蒙大拿州立大学毕业证制作成绩单修改
办理国外毕业证学位证《原版美国montana文凭》蒙大拿州立大学毕业证制作成绩单修改办理国外毕业证学位证《原版美国montana文凭》蒙大拿州立大学毕业证制作成绩单修改
办理国外毕业证学位证《原版美国montana文凭》蒙大拿州立大学毕业证制作成绩单修改atducpo
 
Understanding Relationship Anarchy: A Guide to Liberating Love | CIO Women Ma...
Understanding Relationship Anarchy: A Guide to Liberating Love | CIO Women Ma...Understanding Relationship Anarchy: A Guide to Liberating Love | CIO Women Ma...
Understanding Relationship Anarchy: A Guide to Liberating Love | CIO Women Ma...CIOWomenMagazine
 
《塔夫斯大学毕业证成绩单购买》做Tufts文凭毕业证成绩单/伪造美国假文凭假毕业证书图片Q微信741003700《塔夫斯大学毕业证购买》《Tufts毕业文...
《塔夫斯大学毕业证成绩单购买》做Tufts文凭毕业证成绩单/伪造美国假文凭假毕业证书图片Q微信741003700《塔夫斯大学毕业证购买》《Tufts毕业文...《塔夫斯大学毕业证成绩单购买》做Tufts文凭毕业证成绩单/伪造美国假文凭假毕业证书图片Q微信741003700《塔夫斯大学毕业证购买》《Tufts毕业文...
《塔夫斯大学毕业证成绩单购买》做Tufts文凭毕业证成绩单/伪造美国假文凭假毕业证书图片Q微信741003700《塔夫斯大学毕业证购买》《Tufts毕业文...ur8mqw8e
 
文凭办理《原版美国USU学位证书》犹他州立大学毕业证制作成绩单修改
文凭办理《原版美国USU学位证书》犹他州立大学毕业证制作成绩单修改文凭办理《原版美国USU学位证书》犹他州立大学毕业证制作成绩单修改
文凭办理《原版美国USU学位证书》犹他州立大学毕业证制作成绩单修改atducpo
 
Lucknow 💋 High Class Call Girls Lucknow 10k @ I'm VIP Independent Escorts Gir...
Lucknow 💋 High Class Call Girls Lucknow 10k @ I'm VIP Independent Escorts Gir...Lucknow 💋 High Class Call Girls Lucknow 10k @ I'm VIP Independent Escorts Gir...
Lucknow 💋 High Class Call Girls Lucknow 10k @ I'm VIP Independent Escorts Gir...anilsa9823
 

Dernier (20)

8377087607 Full Enjoy @24/7-CLEAN-Call Girls In Chhatarpur,
8377087607 Full Enjoy @24/7-CLEAN-Call Girls In Chhatarpur,8377087607 Full Enjoy @24/7-CLEAN-Call Girls In Chhatarpur,
8377087607 Full Enjoy @24/7-CLEAN-Call Girls In Chhatarpur,
 
Call Girls In Andheri East Call US Pooja📞 9892124323 Book Hot And
Call Girls In Andheri East Call US Pooja📞 9892124323 Book Hot AndCall Girls In Andheri East Call US Pooja📞 9892124323 Book Hot And
Call Girls In Andheri East Call US Pooja📞 9892124323 Book Hot And
 
9892124323, Call Girls in mumbai, Vashi Call Girls , Kurla Call girls
9892124323, Call Girls in mumbai, Vashi Call Girls , Kurla Call girls9892124323, Call Girls in mumbai, Vashi Call Girls , Kurla Call girls
9892124323, Call Girls in mumbai, Vashi Call Girls , Kurla Call girls
 
Call Girls Anjuna beach Mariott Resort ₰8588052666
Call Girls Anjuna beach Mariott Resort ₰8588052666Call Girls Anjuna beach Mariott Resort ₰8588052666
Call Girls Anjuna beach Mariott Resort ₰8588052666
 
Top Rated Pune Call Girls Tingre Nagar ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Tingre Nagar ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Tingre Nagar ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Tingre Nagar ⟟ 6297143586 ⟟ Call Me For Genuine Se...
 
Reinventing Corporate Philanthropy_ Strategies for Meaningful Impact by Leko ...
Reinventing Corporate Philanthropy_ Strategies for Meaningful Impact by Leko ...Reinventing Corporate Philanthropy_ Strategies for Meaningful Impact by Leko ...
Reinventing Corporate Philanthropy_ Strategies for Meaningful Impact by Leko ...
 
call girls in candolim beach 9870370636] NORTH GOA ..
call girls in candolim beach 9870370636] NORTH GOA ..call girls in candolim beach 9870370636] NORTH GOA ..
call girls in candolim beach 9870370636] NORTH GOA ..
 
CALL ON ➥8923113531 🔝Call Girls Aliganj Lucknow best sexual service
CALL ON ➥8923113531 🔝Call Girls Aliganj Lucknow best sexual serviceCALL ON ➥8923113531 🔝Call Girls Aliganj Lucknow best sexual service
CALL ON ➥8923113531 🔝Call Girls Aliganj Lucknow best sexual service
 
LC_YouSaidYes_NewBelieverBookletDone.pdf
LC_YouSaidYes_NewBelieverBookletDone.pdfLC_YouSaidYes_NewBelieverBookletDone.pdf
LC_YouSaidYes_NewBelieverBookletDone.pdf
 
Lilac Illustrated Social Psychology Presentation.pptx
Lilac Illustrated Social Psychology Presentation.pptxLilac Illustrated Social Psychology Presentation.pptx
Lilac Illustrated Social Psychology Presentation.pptx
 
CALL ON ➥8923113531 🔝Call Girls Rajajipuram Lucknow best sexual service
CALL ON ➥8923113531 🔝Call Girls Rajajipuram Lucknow best sexual serviceCALL ON ➥8923113531 🔝Call Girls Rajajipuram Lucknow best sexual service
CALL ON ➥8923113531 🔝Call Girls Rajajipuram Lucknow best sexual service
 
CALL ON ➥8923113531 🔝Call Girls Mahanagar Lucknow best sexual service
CALL ON ➥8923113531 🔝Call Girls Mahanagar Lucknow best sexual serviceCALL ON ➥8923113531 🔝Call Girls Mahanagar Lucknow best sexual service
CALL ON ➥8923113531 🔝Call Girls Mahanagar Lucknow best sexual service
 
escort service sasti (*~Call Girls in Paschim Vihar Metro❤️9953056974
escort service  sasti (*~Call Girls in Paschim Vihar Metro❤️9953056974escort service  sasti (*~Call Girls in Paschim Vihar Metro❤️9953056974
escort service sasti (*~Call Girls in Paschim Vihar Metro❤️9953056974
 
$ Love Spells^ 💎 (310) 882-6330 in West Virginia, WV | Psychic Reading Best B...
$ Love Spells^ 💎 (310) 882-6330 in West Virginia, WV | Psychic Reading Best B...$ Love Spells^ 💎 (310) 882-6330 in West Virginia, WV | Psychic Reading Best B...
$ Love Spells^ 💎 (310) 882-6330 in West Virginia, WV | Psychic Reading Best B...
 
Independent Escorts in Lucknow (Adult Only) 👩🏽‍❤️‍💋‍👩🏼 8923113531 ♛ Escort S...
Independent Escorts in Lucknow  (Adult Only) 👩🏽‍❤️‍💋‍👩🏼 8923113531 ♛ Escort S...Independent Escorts in Lucknow  (Adult Only) 👩🏽‍❤️‍💋‍👩🏼 8923113531 ♛ Escort S...
Independent Escorts in Lucknow (Adult Only) 👩🏽‍❤️‍💋‍👩🏼 8923113531 ♛ Escort S...
 
办理国外毕业证学位证《原版美国montana文凭》蒙大拿州立大学毕业证制作成绩单修改
办理国外毕业证学位证《原版美国montana文凭》蒙大拿州立大学毕业证制作成绩单修改办理国外毕业证学位证《原版美国montana文凭》蒙大拿州立大学毕业证制作成绩单修改
办理国外毕业证学位证《原版美国montana文凭》蒙大拿州立大学毕业证制作成绩单修改
 
Understanding Relationship Anarchy: A Guide to Liberating Love | CIO Women Ma...
Understanding Relationship Anarchy: A Guide to Liberating Love | CIO Women Ma...Understanding Relationship Anarchy: A Guide to Liberating Love | CIO Women Ma...
Understanding Relationship Anarchy: A Guide to Liberating Love | CIO Women Ma...
 
《塔夫斯大学毕业证成绩单购买》做Tufts文凭毕业证成绩单/伪造美国假文凭假毕业证书图片Q微信741003700《塔夫斯大学毕业证购买》《Tufts毕业文...
《塔夫斯大学毕业证成绩单购买》做Tufts文凭毕业证成绩单/伪造美国假文凭假毕业证书图片Q微信741003700《塔夫斯大学毕业证购买》《Tufts毕业文...《塔夫斯大学毕业证成绩单购买》做Tufts文凭毕业证成绩单/伪造美国假文凭假毕业证书图片Q微信741003700《塔夫斯大学毕业证购买》《Tufts毕业文...
《塔夫斯大学毕业证成绩单购买》做Tufts文凭毕业证成绩单/伪造美国假文凭假毕业证书图片Q微信741003700《塔夫斯大学毕业证购买》《Tufts毕业文...
 
文凭办理《原版美国USU学位证书》犹他州立大学毕业证制作成绩单修改
文凭办理《原版美国USU学位证书》犹他州立大学毕业证制作成绩单修改文凭办理《原版美国USU学位证书》犹他州立大学毕业证制作成绩单修改
文凭办理《原版美国USU学位证书》犹他州立大学毕业证制作成绩单修改
 
Lucknow 💋 High Class Call Girls Lucknow 10k @ I'm VIP Independent Escorts Gir...
Lucknow 💋 High Class Call Girls Lucknow 10k @ I'm VIP Independent Escorts Gir...Lucknow 💋 High Class Call Girls Lucknow 10k @ I'm VIP Independent Escorts Gir...
Lucknow 💋 High Class Call Girls Lucknow 10k @ I'm VIP Independent Escorts Gir...
 

Open stack networking_101_part-2_tech_deep_dive

  • 1. OpenStack Networking Technical Deep Dive Yves Fauser, System Engineer VMware NSBU 10/16/2013 © 2011 VMware Inc. All rights reserved
  • 2. Agenda §  Networking before Neutron §  Nova-Networking modes (flat / flat-dhcp / vlan-dhcp) §  OpenStack Networking with Neutron §  Neutron Refresher §  OVS Overview §  Open Source OVS Plugin Overview §  OVS-Plugin vs. VMware NSX Plugin §  Nova-Metadata – Neutron Implementation 2
  • 3. Networking before Neutron Nova-Networking modes (flat / flat-dhcp / vlan-dhcp) Drawbacks of Nova-Networking that led to Neutron © 2011 VMware Inc. All rights reserved
  • 4. OpenStack Networking before Neutron - Refresher §  Nova has its own networking service – nova-network. It was used before Neutron §  Nova-network is still present today, and can be used instead of Neutron §  Nova-network does §  base L2 network provisioning through Linux Bridge (brctl) §  IP Address management for Tenants (in SQL DB) nova-console (vnc/vmrc) nova-api (OS,EC2,Admin) nova-compute nova-cert Libvirt, XenAPI, etc. Nova DB Hypervisor (KVM, Xen, etc.) Queue novaconsoleauth nova-metadata nova-scheduler §  configure DHCP and DNS entries in dnsmasq §  configure fw-policies and NAT in IPTables (nova-compute) §  Calls to network services are done through the nova API nova-volume novanetwork Volume-Provider (iSCSI, LVM, etc.) Network-Providers (Linux-Bridge or OVS with brcompat, dnsmasq, IPTables) §  Nova-network only knows 3 basic Network-Models; §  Flat & Flat DHCP – direct bridging of Instance to external eth. Interface with and w/o DHCP §  VLAN based – Every tenant gets a VLAN, DHCP enabled 4 Inspired by
  • 5. Nova-Networking deployment modes - Flat §  In flat mode all VMs are patched into the same bridge (normally the Linux Bridge) §  All VM Traffic is directly bridged onto the physical transport network (or single VLAN) (aka as ‘fixed network’) §  DHCP and Default Gateway is provided externally, and is not done using OpenStack components §  All VMs in a project are bridged to the same network, there is no multi-tenancy beside security groups (IPTables between VM interfaces and bridge) Compute Node Compute Node Compute Node nova-compute nova-compute nova-compute hypervisor hypervisor hypervisor IP Stack Management Network (or VLAN) 5 Bridge 100 Transport Network (or VLAN) VM VM VM VM VM VM IP Stack Bridge 100 WAN/ Internet IP Stack Bridge 100 DHCP Server
  • 6. Nova-Networking deployment modes – Flat / DHCP §  As in flat mode all VMs are patched into the same bridge and all VM traffic is directly bridged onto the physical transport network (or single VLAN) – (aka as ‘fixed network’) §  DHCP and Default Gateway is provided by OpenStack Networking – Through ‘dnsmasq’ (DHCP) and iptables/routing stack + NAT / floating-ip’s §  All VMs in a project are bridged to the same network, there is no multi-tenancy beside security groups (IPTables between VM interfaces and bridge) Compute Node + Networking * nova-netw. dnsmasq nova-compute NAT & floating -IPs WAN/ Internet iptables/ routing IP Stack hypervisor Compute Node nova-compute nova-compute hypervisor hypervisor VM VM VM VM VM VM Bridge 100 Compute Node IP Stack Bridge 100 IP Stack Bridge 100 External Network (or VLAN) * With ‘multi-host’, each compute node will also be a networking node 6 Internal Network (or VLAN)
  • 7. Nova-Networking deployment modes – VLAN §  Other than with the flat modes, each project has its own network that maps to a VLAN and bridge that needs to be pre-configured on the physical network §  VM Traffic is bridged through one bridge and VLAN per project onto the physical network §  DHCP and Default Gateway is provided by OpenStack Networking – Through ‘dnsmasq’ (DHCP) and iptables/routing stack + NAT / floating-ip’s Compute Node + Networking * nova-netw. dnsmasq dnsmasq nova-compute NAT & floating -IPs WAN/ Internet iptables/ routing IP Stack External Network (or VLAN) * With ‘multi-host’, each compute node will also be a networking node 7 nova-compute nova-compute hypervisor hypervisor VM hypervisor Bridge 40 VLAN30 VM VM VM VM VM Bridge 30 Compute Node Compute Node IP Stack VLAN40 Br 30 VLAN30 VLAN Trunk Br 40 IP Stack VLAN40 Br 30 VLAN30 VLAN Trunk Br 40 VLAN40 Internal VLANs
  • 8. OpenStack Networking with Neutron OVS Overview OVS-Plugin vs. VMware NSX Plugin © 2011 VMware Inc. All rights reserved
  • 9. OpenVSwitch (OVS) Transport Network MGMT eth1 eth0 user kernel Config/State DB Configuration Data Interface (ovsdb, CLI, …) ovs-vswitchd Flows br-int (flow table) WEB 9 Tunnel Ports (to Linux IP Stack) br-tun ovsdb-server Flow Data Interface (OpenFlow, CLI, … Linux IP stack + routing table 192.168.10.1 WEB APP APP
  • 10. Neutron – Open Source OVS Plugin Architecture §  The following components play a role in the open source OVS Plugin Architecture §  Neutron-OVS-Agent: Receives tunnel & flow setup information from OVS-Plugin and programs OVS to build tunnels and to steers traffic into those tunnels §  Neutron-DHCP-Agent: Sets up dnsmasq in a namespace per configured network/subnet, and enters mac/ip combination in dnsmasq dhcp lease file §  Neutron-L3-Agent: Sets up iptables/routing/NAT Tables (routers) as directed by OVS Plugin §  In most cases GRE overlay tunnels are used, but flat and vlan modes are also possible NeutronNetwork-Node N.-L3-Agent NAT & floating -IPs WAN/ Internet N.-DHCP-Agent iptables/ routing iptables/ routing N.-OVS-Agent dnsmasq dnsmasq ovsdb/ ovsvsd Compute Node nova-compute Neutron-Server + OVS-Plugin Compute Node nova-compute ovsdb/ ovsvsd hypervisor External Network (or VLAN) hypervisor VM VM br-int br-tun br-tun br-tun IP Stack IP Stack L2 in L3 (GRE) Tunnel Layer 3 Transport Network 10 VM VM ovsdb/ ovsvsd br-int br-int br-ex IP Stack N.-OVS-Agent N.-OVS-Agent Layer 3 Transport Net.
  • 11. Open Source OVS Plugin / VMware NSX Plugin differences §  With the VMware NSX Plugin (aka NVP Plugin) the following services are replaced by VMware NSX components §  OVS-Plugin: The OVS Plugin is exchanged by the NVP-Plugin §  Neutron-OVS-Agent: Instead of the OVS-Agent, a centralized NVP controller cluster is used §  Neutron-L3-Agent: Instead of the L3-Agent, a scale out cluster of NVP Layer3 Gateways is used §  IPTables/Ebtables: Security is provided by native OpenVSwitch methods, controlled by the NVPController Cluster NeutronCompute Node Compute Node §  GRE Tunneling is exchanged Network-Node with the more performing STT technology Neutron-Server + OVS NVP-Plugin N.-L3-Agent NAT & floating -IPs WAN/ Internet N.-DHCP-Agent iptables/ routing iptables/ routing N.-OVS-Agent dnsmasq dnsmasq ovsdb/ ovsvsd External Network (or VLAN) ovsdb/ ovsvsd hypervisor VM VM br-tun IP Stack br-tun ovsdb/ ovsvsd hypervisor VM VM br-int br-tun IP Stack L2 in L3 (GRE) Tunnel Layer 3 Transport Network 11 N.-OVS-Agent N.-OVS-Agent br-int br-int br-ex IP Stack nova-compute nova-compute Layer 3 Transport Net.
  • 12. OpenVSwitch with VMware NSX Transport Network MGMT NSX Controller Cluster eth1 eth0 TCP 6633 OpenFlow TCP 6632 OVSDB user kernel Linux IP stack + routing table 192.168.10.1 Config/State DB br-0 Flows & Tunnel Ports (to Linux IP Stack) ovsdb-server br-int (flow table) ovs-vswitchd WEB 12 WEB APP APP
  • 13. Open Source OVS Plugin / VMware NSX Plugin differences §  Centralized scale-out controller cluster controls all OpenVSwitches in all Compute- and Network Nodes. It configures the tunnel interfaces and programs the flow tables of OVS §  NSX L3 Gateway Service (scale-out) is taking over the L3 routing and NAT functions §  NSX Service-Node relieves the Compute Nodes from the task of replicating broadcast, unknown unicast and multicast traffic sourced by VMs §  Security-Groups are implemented natively in OVS, instead of iptables/ebtables NeutronNetwork-Node NSX Controller Cluster Neutron-Server + NVP-Plugin Compute Node Compute Node nova-compute nova-compute N.-DHCP-Agent hypervisor hypervisor ovsdb/ ovsvsd dnsmasq dnsmasq ovsdb/ ovsvsd br-0 IP Stack ovsdb/ ovsvsd VM VM br-int br-int br-int WAN/ Internet VM VM br-0 br-0 IP Stack IP Stack Management Network NSX L3GW + NAT 13 Layer 3 Transport Network NSX ServiceNode L2 in L3 (STT) Tunnel Layer 3 Transport Net.
  • 14. Management & Operations §  Tunnel status §  Port-to-port troubleshooting tool §  Traceflow packet injection 14
  • 15. VMware NSX Port Connection Tool Demo DEMO TIME 15
  • 16. Management & Operations – Software Upgrades §  Automated deployment of new Version §  Built in compatibility verification §  Rollback §  Online Upgrade (i.e. dataplane & control plane services stay up) 16
  • 17. Nova Metadata Service in Folsom §  Nova-metadata is used to enable the use of cloud-init enabled images (https://help.ubuntu.com/community/CloudInit) §  After getting an IP address the Instance contacts the well know IP 169.254.169.254 via HTTP and requests the needed metadata for the Instance •  Some of the things cloud-init configures are: •  setting a default locale, hostname, etc. •  Set up ephemeral mount points •  Generate ssh private keys, and add ssh keys to user's .ssh/authorized_keys so they can log in §  With neutron in Folsom, the quantum-dhcp-agent will do the following: §  provides option 121 “classless static routes” - adds a static route to 169.254.169.254 pointing to the dhcp-agent host itself §  IPTables on the dhcp-agent host NATs the request either to the local metadata server on the dhcp-agent host, or to a remote metadata service Novametadata dhcpagent Instance HTTP req. to 169.254.169.254 next-hop = quantum-dhcp-agent IP in Tennant-Net Novametadata NAT to local nova-metadata ,or Forward to remote nova-metadata §  !! Caveat: In Folsom there is no support for overlapping IPs, and no support of namespaces if nova-metadata is used. In Grizzly this will change (see next Slide) 17
  • 18. Nova Metadata Service in Grizzly §  To address the limitations of nova-metadata in Folsom, the Grizzly release introduces two new services on the network-node; quantum-ns-metadata-proxy and quantum-metadata-proxy (http://tinyurl.com/a3n4ypl for details) §  In Grizzly DHCP option 121 is not used anymore. The L3GW will route the request to 169.254.169.254 to the ns-metadata-proxy §  The ns-metadata-proxy parses the request and forwards it internally to the metadataproxy with two new headers: ‘X-Forward-For’ and the ‘X-Quantum-Router-ID’. These headers provide context to properly identify the Instance that made the original request. Only the metadata-proxy can reach hosts on the management network §  The metadata-proxy uses the two headers to retrieve the device-id of the port that sent the request by interrogating quantum server Network Node Node in management network Tenant router network namespace quantum-nsmetadata-proxy nova-metadata via UNIX domain socket quantummetadata-proxy quantum-server §  The metadata proxy uses the device-id received from quantum-server to construct the ‘X-Instance-id’ header, and sends the request to nova-metadata including this information §  Nova-metadata then uses the ‘X-Instance-id’ header to identify the tenant, and to properly service the request 18