SlideShare ist ein Scribd-Unternehmen logo
1 von 47
Downloaden Sie, um offline zu lesen
OpenStack
Networking
Mirantis, 2013Ilya Shakhat
● What is OpenStack
● Nova network
● (Quantum) OpenStack Networking
● Open vSwitch
● Load balancing as a service
Agenda
● Open source system for building scalable private and public
clouds
● Launched in 2010 by NASA and Rackspace, now 150+
companies, >9000 people, 87 countries
● A collection of “cloud services”
● Each service includes:
○ A tenant-facing API that exposes logical abstractions for
consuming the service.
○ One or more backend implementations of that API
What is OpenStack?
● What is OpenStack
● Nova network
● (Quantum) OpenStack Networking
● Open vSwitch
● Load balancing as a service
Agenda
Very easy to configure
Different managers (network providers):
● FlatManager
● FlatDHCPManager
● VlanManager
Nova Network
● Network bridge
● 'dnsmasq' DHCP server
● Bridge as default gw
Limitations:
● Single L2 domain and ARP space,
no tenant isolation
● Single IP pool
Flat Network
Flat Network Deployment
● Network bridge
● Vlan interface over physical
interface
Limitations:
● Scaling limit in 4k vlan tags
● Vlans are configured manually
on switch by admin
● May have issues with overlapping MACs
Vlan Network
Vlan Network Deployment
● Networking is too tied to Nova
● Two Key Problems:
1: Limited technology
2: Tenants want to replicate rich
enterprise network topologies
Why new module?
VLANs are Great!
- Stone Age Man
Issues:
● VLANs is the only way of doing multi-tenancy
● Only Linux bridge supported (no ACLs, QoS, monitoring)
● Network controller is single point of failure
Solution:
● Software-defined Networking (SDN) / OpenFlow
● Overlay tunneling: VXLAN, NVGRE, STT
● Fabric solutions: FabricPath, Qfabric, etc.
● Pluggable mechanism via common API to enable different
vendor technologies
Limited technologies
Issues:
● No way to control topology nor create “multi-tier” networks
● No control over IP addressing
● No way to insert own services (e.g. firewall, IPS)
Solution:
● API for managing multiple private networks, IP addressing
● API extensions to control: security policies, quality-of-service,
monitoring
● Service plugins such as firewall, intrusion detection, VPN
Tenants want control
OpenStack Modules .. before
Compute
Storage
Network
Nova
Swift (Objects)
Glance (Images)
*-as-a-Service Capability OpenStack Service
Cinder (Block)
Identity Keystone
OpenStack Modules .. now
Compute
Storage
Network
Nova
Swift (Objects)
Glance (Images)
*-as-a-Service Capability OpenStack Service
Quantum
Cinder (Block)
Identity Keystone
● What is OpenStack
● Nova network
● (Quantum) OpenStack Networking
● Open vSwitch
● Load balancing as a service
Agenda
● API to build rich networking topologies
● Extensible via plugins (may support virtual
networks, hardware or mixed)
● More capabilities (QoS, security groups)
● Platform for services (LBaaS, FWaaS, etc)
Welcome Quantum*!
* urgently renamed to OpenStack Networking due to trademark violation
Quantum Architecture
Core REST API Extension REST API Extension REST API
AuthN/AuthZ
Core Plugin (vendor-specific)
DB agent
Service Plugin
DB agent
Core Plugin Interface
Service Plugin
Interface
Network Node
quantum-l3-agent
quantum-dhcp-agent
quantum-*plugin-agent
quantum-metadata-agent
quantum-lbaas-agent
Compute Node
quantum-*plugin-agent
nova-compute
Cloud Controller
nova-api
nova-scheduler
keystone
quantum-server
rabbotmq
mysql
Compute Node
quantum-*plugin-agent
nova-compute
Compute Node
quantum-*plugin-agent
nova-compute
data network
management network
Quantum Deployment
external network
Internet
Core API objects
● Port - a point of attachment to network
● Network - isolated L2 network segment
● Subnet - associates a block of IP addresses with network
L3 extension objects
● Router - gateway between networks
● Floating IP - static mapping from public IP in external network
to private IP in local
Quantum Objects
Quantum Object Relations
port network subnet
floating ip router
VM
L3
L2
● Big Switch Networks
● Brocade
● Cisco
● Hyper-V
● Linux Bridge
● Meta Plugin
Core Plugins
● Midokura Midonet
● NEC OpenFlow
● Nicira NVP
● Open vSwitch
● PLUMgrid
● Ryu OpenFlow
● Programmable packet forwarding and network
topology configuration
● An external ‘controller’ component sets up flows
and/or topologies for network traffic
● Particularly suitable for virtual networking in
massively scalable environments
Software Defined Networks
● What is OpenStack
● Nova network
● (Quantum) OpenStack Networking
● Open vSwitch
● Load balancing as a service
Agenda
● Open source programmable virtual switch
● Supports OpenFlow, 802.1Q VLANs, LACP, STP
● Supports KVM and Xen
● OVS is the basis for different SDN/network virtualization
platforms
● Flexible controller in user-space
● Fast datapath in kernel
Open vSwitch
● Port may have more than one interface
● IEEE 802.1Q support attaching VLAN tags to interfaces
● Packets are forwarded by flow
● Fine-grained ACLs and QoS (L2-L4 matching, actions)
● Centralized control via OpenFlow
● Works on Xen, KVM, VirtualBox
Open vSwitch Concepts
Open vSwitch Tools
ovs-vswitchd - daemon that implements a switch with help of
kernel module
ovsdb-server - database server
ovs-vsctl - utility for working with the configuration
ovs-appctl - tool for controlling Open vSwitch daemon
ovs-dpctl - datapath management utility
ovs-controller - simple OpenFlow controller
ovs-ofctl - OpenFlow switch management utility
ovs-pki - utility for managing public-key infrastructure
Example: logical view
VM1
10.0.0.3
VM2
10.0.0.4
VM3
12.0.0.3
VM4
12.0.0.4
Tenant A router
10.0.0.1
30.0.0.2
Tenant B router
12.0.0.1
30.0.0.3
Tenant A Tenant B
External router
Internet
Example: physical view
VM1
10.0.0.3
VM3
12.0.0.3
VM2
10.0.0.4
VM4
12.0.0.4
Compute Node 1 Compute Node 2
br-intbr-int
eth1eth0 eth1eth0
mgmt network
data network
br-ex br-ex
Let's Start (with example)!
We have:
● tenant A and network (10.0.0.0/24)
● router that wires private network with external
● DCHP enabled (quantum port is create)
Commands we need:
● brctl show - to show all bridges
● ovs-vsctl show - to show all interfaces
● ip netns exec - to show contents of namespace
● quantum port-list, quantum net-list
ovs-vsctl show
Bridge br-int
Port "qr-9b80a882-55"
tag: 1
Interface "qr-9b80a882-55"
type: internal
Port "tap66a249f1-bf"
tag: 1
Interface "tap66a249f1-bf"
type: internal
Port br-int
Interface br-int
type: internal
Bridge br-ex
Port "qg-e41c368d-a8"
Interface "qg-e41c368d-a8"
type: internal
Port br-ex
Interface br-ex
type: internal
internal interface
of router
port of DHCP
server
external interface
of router
brctl show
bridge name bridge id STP enabled interfaces
br-ex 0000.6eed69b21a4b no qg-e41c368d-a8
br-int 0000.f68d58076046 no qr-9b80a882-55
tap66a249f1-bf
Let's Rock!
Expand the configuration:
● Launch VM in tenant A (10.0.0.3)
● Create network for tenant B (12.0.0.0/24)
with DHCP enabled (12.0.0.2)
but without router
● Launch VM in tenant B (12.0.0.3)
logical view
VM1
10.0.0.3
VM3
12.0.0.3
Tenant A router
10.0.0.1
172.18.7.3
Tenant A Tenant B
External router
Internet
ovs-vsctl show
Bridge br-int
Port "qvo8b0b577a-2c"
tag: 1
Interface "qvo8b0b577a-2c"
Port "qr-9b80a882-55"
tag: 1
Interface "qr-9b80a882-55"
type: internal
Port "tap66a249f1-bf"
tag: 1
Interface "tap66a249f1-bf"
type: internal
Port "qvo4a744a65-92"
tag: 2
Interface "qvo4a744a65-92"
Port "tap3aa4a560-d2"
tag: 2
Interface "tap3aa4a560-d2"
type: internal
Port br-int
Interface br-int
type: internal
interface for VM
in tenant A
interface for VM
in tenant B
interface of
DHCP server
in tenant B
physical view
VM
10.0.0.3
VM
12.0.0.3
Compute Node 1
eth0
br-ex
DHCP
10.0.0.2
DHCP
12.0.0.2
Router
10.0.0.1
br-int
brctl show
bridge name bridge id STP enabled interfaces
br-ex 0000.6eed69b21a4b no qg-e41c368d-a8
br-int 0000.f68d58076046 no qr-9b80a882-55
qvo4a744a65-92
qvo8b0b577a-2c
tap3aa4a560-d2
tap66a249f1-bf
qbr4a744a65-92 8000.7a95a8a2b9bd no qvb4a744a65-92
tap4a744a65-92
qbr8b0b577a-2c 8000.de84d986f61e no qvb8b0b577a-2c
tap8b0b577a-2c
one bridge for VM
(created by VIF driver in Nova)
ip netns
List of namespaces. There's one namespace per DHCP port and
per router port
qdhcp-9a7e9331-2508-4615-889b-b99a6f260eef
qdhcp-1b2101e0-cefa-4347-a581-e1f1f02215a1
qrouter-0e0e2e6e-a60b-4808-b914-8f45cae02b2e
qdhcp-9a7e... qdhcp-1b21... qrouter-0e0e...
12.0.0.2 10.0.0.2 10.0.0.1 172.18.7.3
ip netns exec <> ifconfig
Show interfaces for namespace associated with router
qg-e41c368d-a8 Link encap:Ethernet HWaddr fa:16:3e:27:a1:85
inet addr:172.18.7.3 Bcast:172.18.76.135 Mask:255.255.255.248
inet6 addr: fe80::f816:3eff:fe27:a185/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:60 errors:0 dropped:0 overruns:0 frame:0
TX packets:69 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:6608 (6.6 KB) TX bytes:5298 (5.2 KB)
qr-9b80a882-55 Link encap:Ethernet HWaddr fa:16:3e:9e:ed:50
inet addr:10.0.0.1 Bcast:10.0.0.255 Mask:255.255.255.0
inet6 addr: fe80::f816:3eff:fe9e:ed50/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:18878 errors:0 dropped:0 overruns:0 frame:0
TX packets:3958 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:3269696 (3.2 MB) TX bytes:349880 (349.8 KB)
● What is OpenStack
● Nova network
● (Quantum) OpenStack Networking
● Open vSwitch
● Load balancing as a service
Agenda
● Unified API for load balancing
● Features:
○ LB between services on VMs
○ configurable LB methods (e.g. round-robin)
○ session persistence
○ health monitoring (TCP, HTTP)
● Reference implementation based on HAProxy
Load Balancing as a Service
LBaaS Architecture
Plugin
Agent HAProxy process
RPC
REST API
DB
Extension
python-quantumclient
Horizon
Quantum
Pool
LBaaS Model
Member Member
VM A
10.0.0.4:80
VM B
10.0.0.5:80
Vip (10.0.0.10:80)
Health
Monitor
Subnet
Subnet
LBaaS Wiring
VM A Load Balancer
Router
10.0.0.1010.0.0.4
VM B
10.0.0.5
External Traffic
Internal Trafficfloating ip
172.0.0.10
1. Create pool
2. Create members (1 per VM / service)
3. Create vip for the pool
4. (opt.) Create health monitor and
associate with Pool
LBaaS Workflow
LBaaS UI
Havana Release:
● More services: firewall-as-a-service, vpn-as-a-
service
● Multi-host DHCP agent (analog to Nova)
● IPv6 support for L3 services
Provide API for every service in the network!
Future of OpenStack Networking
Q&A

Weitere ähnliche Inhalte

Was ist angesagt?

SDN Fundamentals - short presentation
SDN Fundamentals -  short presentationSDN Fundamentals -  short presentation
SDN Fundamentals - short presentationAzhar Khuwaja
 
Overview of kubernetes network functions
Overview of kubernetes network functionsOverview of kubernetes network functions
Overview of kubernetes network functionsHungWei Chiu
 
Introduction to CNI (Container Network Interface)
Introduction to CNI (Container Network Interface)Introduction to CNI (Container Network Interface)
Introduction to CNI (Container Network Interface)HungWei Chiu
 
OpenStack Architecture
OpenStack ArchitectureOpenStack Architecture
OpenStack ArchitectureMirantis
 
How to build a Kubernetes networking solution from scratch
How to build a Kubernetes networking solution from scratchHow to build a Kubernetes networking solution from scratch
How to build a Kubernetes networking solution from scratchAll Things Open
 
[242]open stack neutron dataplane 구현
[242]open stack neutron   dataplane 구현[242]open stack neutron   dataplane 구현
[242]open stack neutron dataplane 구현NAVER D2
 
Reverse proxy & web cache with NGINX, HAProxy and Varnish
Reverse proxy & web cache with NGINX, HAProxy and VarnishReverse proxy & web cache with NGINX, HAProxy and Varnish
Reverse proxy & web cache with NGINX, HAProxy and VarnishEl Mahdi Benzekri
 
OVN - Basics and deep dive
OVN - Basics and deep diveOVN - Basics and deep dive
OVN - Basics and deep diveTrinath Somanchi
 
EBPF and Linux Networking
EBPF and Linux NetworkingEBPF and Linux Networking
EBPF and Linux NetworkingPLUMgrid
 
The Basic Introduction of Open vSwitch
The Basic Introduction of Open vSwitchThe Basic Introduction of Open vSwitch
The Basic Introduction of Open vSwitchTe-Yen Liu
 
Openstack Neutron, interconnections with BGP/MPLS VPNs
Openstack Neutron, interconnections with BGP/MPLS VPNsOpenstack Neutron, interconnections with BGP/MPLS VPNs
Openstack Neutron, interconnections with BGP/MPLS VPNsThomas Morin
 
Networking in Docker
Networking in DockerNetworking in Docker
Networking in DockerKnoldus Inc.
 
Openstack zun,virtual kubelet
Openstack zun,virtual kubeletOpenstack zun,virtual kubelet
Openstack zun,virtual kubeletChanyeol yoon
 
OpenStack networking
OpenStack networkingOpenStack networking
OpenStack networkingSim Janghoon
 
MP BGP-EVPN 실전기술-1편(개념잡기)
MP BGP-EVPN 실전기술-1편(개념잡기)MP BGP-EVPN 실전기술-1편(개념잡기)
MP BGP-EVPN 실전기술-1편(개념잡기)JuHwan Lee
 
SDN & NFV Introduction - Open Source Data Center Networking
SDN & NFV Introduction - Open Source Data Center NetworkingSDN & NFV Introduction - Open Source Data Center Networking
SDN & NFV Introduction - Open Source Data Center NetworkingThomas Graf
 
debugging openstack neutron /w openvswitch
debugging openstack neutron /w openvswitchdebugging openstack neutron /w openvswitch
debugging openstack neutron /w openvswitch어형 이
 

Was ist angesagt? (20)

SDN Fundamentals - short presentation
SDN Fundamentals -  short presentationSDN Fundamentals -  short presentation
SDN Fundamentals - short presentation
 
Overview of kubernetes network functions
Overview of kubernetes network functionsOverview of kubernetes network functions
Overview of kubernetes network functions
 
Introduction to CNI (Container Network Interface)
Introduction to CNI (Container Network Interface)Introduction to CNI (Container Network Interface)
Introduction to CNI (Container Network Interface)
 
OpenStack Architecture
OpenStack ArchitectureOpenStack Architecture
OpenStack Architecture
 
How to build a Kubernetes networking solution from scratch
How to build a Kubernetes networking solution from scratchHow to build a Kubernetes networking solution from scratch
How to build a Kubernetes networking solution from scratch
 
[242]open stack neutron dataplane 구현
[242]open stack neutron   dataplane 구현[242]open stack neutron   dataplane 구현
[242]open stack neutron dataplane 구현
 
Reverse proxy & web cache with NGINX, HAProxy and Varnish
Reverse proxy & web cache with NGINX, HAProxy and VarnishReverse proxy & web cache with NGINX, HAProxy and Varnish
Reverse proxy & web cache with NGINX, HAProxy and Varnish
 
OVN - Basics and deep dive
OVN - Basics and deep diveOVN - Basics and deep dive
OVN - Basics and deep dive
 
EBPF and Linux Networking
EBPF and Linux NetworkingEBPF and Linux Networking
EBPF and Linux Networking
 
The Basic Introduction of Open vSwitch
The Basic Introduction of Open vSwitchThe Basic Introduction of Open vSwitch
The Basic Introduction of Open vSwitch
 
Drive into calico architecture
Drive into calico architectureDrive into calico architecture
Drive into calico architecture
 
Openstack Neutron, interconnections with BGP/MPLS VPNs
Openstack Neutron, interconnections with BGP/MPLS VPNsOpenstack Neutron, interconnections with BGP/MPLS VPNs
Openstack Neutron, interconnections with BGP/MPLS VPNs
 
Networking in Docker
Networking in DockerNetworking in Docker
Networking in Docker
 
Openstack zun,virtual kubelet
Openstack zun,virtual kubeletOpenstack zun,virtual kubelet
Openstack zun,virtual kubelet
 
OpenStack networking
OpenStack networkingOpenStack networking
OpenStack networking
 
MP BGP-EVPN 실전기술-1편(개념잡기)
MP BGP-EVPN 실전기술-1편(개념잡기)MP BGP-EVPN 실전기술-1편(개념잡기)
MP BGP-EVPN 실전기술-1편(개념잡기)
 
Meetup 23 - 02 - OVN - The future of networking in OpenStack
Meetup 23 - 02 - OVN - The future of networking in OpenStackMeetup 23 - 02 - OVN - The future of networking in OpenStack
Meetup 23 - 02 - OVN - The future of networking in OpenStack
 
SDN & NFV Introduction - Open Source Data Center Networking
SDN & NFV Introduction - Open Source Data Center NetworkingSDN & NFV Introduction - Open Source Data Center Networking
SDN & NFV Introduction - Open Source Data Center Networking
 
debugging openstack neutron /w openvswitch
debugging openstack neutron /w openvswitchdebugging openstack neutron /w openvswitch
debugging openstack neutron /w openvswitch
 
OVS v OVS-DPDK
OVS v OVS-DPDKOVS v OVS-DPDK
OVS v OVS-DPDK
 

Andere mochten auch

Vxlan frame format and forwarding
Vxlan frame format and forwardingVxlan frame format and forwarding
Vxlan frame format and forwardingMohammed Umair
 
Quantum firewall as a service open stack havana design summit, portland 2013
Quantum firewall as a service   open stack havana design summit, portland 2013Quantum firewall as a service   open stack havana design summit, portland 2013
Quantum firewall as a service open stack havana design summit, portland 2013Sumit Naiksatam
 
Nova network, the dirty details 041613
Nova network, the dirty details 041613Nova network, the dirty details 041613
Nova network, the dirty details 041613OpenStack Foundation
 
Basics of firewall, ebtables, arptables and iptables
Basics of firewall, ebtables, arptables and iptablesBasics of firewall, ebtables, arptables and iptables
Basics of firewall, ebtables, arptables and iptablesPrzemysław Piotrowski
 
OpenStack Scale-out Networking Architecture
OpenStack Scale-out Networking ArchitectureOpenStack Scale-out Networking Architecture
OpenStack Scale-out Networking ArchitectureRandy Bias
 
OpenStack Neutron Havana Overview - Oct 2013
OpenStack Neutron Havana Overview - Oct 2013OpenStack Neutron Havana Overview - Oct 2013
OpenStack Neutron Havana Overview - Oct 2013Edgar Magana
 
Openstack Basic with Neutron
Openstack Basic with NeutronOpenstack Basic with Neutron
Openstack Basic with NeutronKwonSun Bae
 
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
 
Virtualized network with openvswitch
Virtualized network with openvswitchVirtualized network with openvswitch
Virtualized network with openvswitchSim Janghoon
 
Designing Teams for Emerging Challenges
Designing Teams for Emerging ChallengesDesigning Teams for Emerging Challenges
Designing Teams for Emerging ChallengesAaron Irizarry
 

Andere mochten auch (11)

Introduction to vxlan
Introduction to vxlanIntroduction to vxlan
Introduction to vxlan
 
Vxlan frame format and forwarding
Vxlan frame format and forwardingVxlan frame format and forwarding
Vxlan frame format and forwarding
 
Quantum firewall as a service open stack havana design summit, portland 2013
Quantum firewall as a service   open stack havana design summit, portland 2013Quantum firewall as a service   open stack havana design summit, portland 2013
Quantum firewall as a service open stack havana design summit, portland 2013
 
Nova network, the dirty details 041613
Nova network, the dirty details 041613Nova network, the dirty details 041613
Nova network, the dirty details 041613
 
Basics of firewall, ebtables, arptables and iptables
Basics of firewall, ebtables, arptables and iptablesBasics of firewall, ebtables, arptables and iptables
Basics of firewall, ebtables, arptables and iptables
 
OpenStack Scale-out Networking Architecture
OpenStack Scale-out Networking ArchitectureOpenStack Scale-out Networking Architecture
OpenStack Scale-out Networking Architecture
 
OpenStack Neutron Havana Overview - Oct 2013
OpenStack Neutron Havana Overview - Oct 2013OpenStack Neutron Havana Overview - Oct 2013
OpenStack Neutron Havana Overview - Oct 2013
 
Openstack Basic with Neutron
Openstack Basic with NeutronOpenstack Basic with Neutron
Openstack Basic with Neutron
 
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
 
Virtualized network with openvswitch
Virtualized network with openvswitchVirtualized network with openvswitch
Virtualized network with openvswitch
 
Designing Teams for Emerging Challenges
Designing Teams for Emerging ChallengesDesigning Teams for Emerging Challenges
Designing Teams for Emerging Challenges
 

Ähnlich wie OpenStack Networking Mirantis 2013

Quantum - Virtual networks for Openstack
Quantum - Virtual networks for OpenstackQuantum - Virtual networks for Openstack
Quantum - Virtual networks for Openstacksalv_orlando
 
Quantum grizzly summit
Quantum   grizzly summitQuantum   grizzly summit
Quantum grizzly summitDan Wendlandt
 
Quantum PTL Update - Grizzly Summit.pptx
Quantum PTL Update - Grizzly Summit.pptxQuantum PTL Update - Grizzly Summit.pptx
Quantum PTL Update - Grizzly Summit.pptxOpenStack Foundation
 
What's new in OpenStack Liberty
What's new in OpenStack LibertyWhat's new in OpenStack Liberty
What's new in OpenStack LibertyMichael Solberg
 
Openstack Quantum yahoo meetup 1 23-13
Openstack Quantum yahoo meetup 1 23-13Openstack Quantum yahoo meetup 1 23-13
Openstack Quantum yahoo meetup 1 23-13Dan Wendlandt
 
CloudKC: Evolution of Network Virtualization
CloudKC: Evolution of Network VirtualizationCloudKC: Evolution of Network Virtualization
CloudKC: Evolution of Network VirtualizationCynthia Thomas
 
OpenStack Quantum: Cloud Carrier Summit 2012
OpenStack Quantum: Cloud Carrier Summit 2012OpenStack Quantum: Cloud Carrier Summit 2012
OpenStack Quantum: Cloud Carrier Summit 2012Dan Wendlandt
 
Quantum for Cloud Operators - Folsom Conference
Quantum for Cloud Operators  - Folsom Conference Quantum for Cloud Operators  - Folsom Conference
Quantum for Cloud Operators - Folsom Conference Dan Wendlandt
 
June Boston openStack Summit: Preparing quantum for the data center
June Boston openStack Summit: Preparing quantum for the data centerJune Boston openStack Summit: Preparing quantum for the data center
June Boston openStack Summit: Preparing quantum for the data centerKamesh Pemmaraju
 
Harmonia open iris_basic_v0.1
Harmonia open iris_basic_v0.1Harmonia open iris_basic_v0.1
Harmonia open iris_basic_v0.1Yongyoon Shin
 
Nvp deep dive_session_cee-day
Nvp deep dive_session_cee-dayNvp deep dive_session_cee-day
Nvp deep dive_session_cee-dayyfauser
 
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
 
Openstack meetup-pune-aug22-overview
Openstack meetup-pune-aug22-overviewOpenstack meetup-pune-aug22-overview
Openstack meetup-pune-aug22-overviewrajdeep
 
Quantum Folsom Summit Developer Overview
Quantum Folsom Summit Developer OverviewQuantum Folsom Summit Developer Overview
Quantum Folsom Summit Developer OverviewDan Wendlandt
 
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
 
Open stack networking_101_update_2014
Open stack networking_101_update_2014Open stack networking_101_update_2014
Open stack networking_101_update_2014yfauser
 
OpenStack Networking and Automation
OpenStack Networking and AutomationOpenStack Networking and Automation
OpenStack Networking and AutomationAdam Johnson
 
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
 

Ähnlich wie OpenStack Networking Mirantis 2013 (20)

Quantum - Virtual networks for Openstack
Quantum - Virtual networks for OpenstackQuantum - Virtual networks for Openstack
Quantum - Virtual networks for Openstack
 
Quantum grizzly summit
Quantum   grizzly summitQuantum   grizzly summit
Quantum grizzly summit
 
Quantum PTL Update - Grizzly Summit.pptx
Quantum PTL Update - Grizzly Summit.pptxQuantum PTL Update - Grizzly Summit.pptx
Quantum PTL Update - Grizzly Summit.pptx
 
What's new in OpenStack Liberty
What's new in OpenStack LibertyWhat's new in OpenStack Liberty
What's new in OpenStack Liberty
 
Openstack Quantum yahoo meetup 1 23-13
Openstack Quantum yahoo meetup 1 23-13Openstack Quantum yahoo meetup 1 23-13
Openstack Quantum yahoo meetup 1 23-13
 
CloudKC: Evolution of Network Virtualization
CloudKC: Evolution of Network VirtualizationCloudKC: Evolution of Network Virtualization
CloudKC: Evolution of Network Virtualization
 
OpenStack Quantum: Cloud Carrier Summit 2012
OpenStack Quantum: Cloud Carrier Summit 2012OpenStack Quantum: Cloud Carrier Summit 2012
OpenStack Quantum: Cloud Carrier Summit 2012
 
Quantum for Cloud Operators - Folsom Conference
Quantum for Cloud Operators  - Folsom Conference Quantum for Cloud Operators  - Folsom Conference
Quantum for Cloud Operators - Folsom Conference
 
June Boston openStack Summit: Preparing quantum for the data center
June Boston openStack Summit: Preparing quantum for the data centerJune Boston openStack Summit: Preparing quantum for the data center
June Boston openStack Summit: Preparing quantum for the data center
 
Harmonia open iris_basic_v0.1
Harmonia open iris_basic_v0.1Harmonia open iris_basic_v0.1
Harmonia open iris_basic_v0.1
 
Simplify Networking for Containers
Simplify Networking for ContainersSimplify Networking for Containers
Simplify Networking for Containers
 
Nvp deep dive_session_cee-day
Nvp deep dive_session_cee-dayNvp deep dive_session_cee-day
Nvp deep dive_session_cee-day
 
CloudStack and SDN
CloudStack and SDNCloudStack and SDN
CloudStack and SDN
 
OpenStack Quantum Intro (OS Meetup 3-26-12)
OpenStack Quantum Intro (OS Meetup 3-26-12)OpenStack Quantum Intro (OS Meetup 3-26-12)
OpenStack Quantum Intro (OS Meetup 3-26-12)
 
Openstack meetup-pune-aug22-overview
Openstack meetup-pune-aug22-overviewOpenstack meetup-pune-aug22-overview
Openstack meetup-pune-aug22-overview
 
Quantum Folsom Summit Developer Overview
Quantum Folsom Summit Developer OverviewQuantum Folsom Summit Developer Overview
Quantum Folsom Summit Developer Overview
 
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
 
Open stack networking_101_update_2014
Open stack networking_101_update_2014Open stack networking_101_update_2014
Open stack networking_101_update_2014
 
OpenStack Networking and Automation
OpenStack Networking and AutomationOpenStack Networking and Automation
OpenStack Networking and Automation
 
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
 

Mehr von Ilya Shakhat

Distributed tracing in OpenStack
Distributed tracing in OpenStackDistributed tracing in OpenStack
Distributed tracing in OpenStackIlya Shakhat
 
OpenStack reliability metrics
OpenStack reliability metricsOpenStack reliability metrics
OpenStack reliability metricsIlya Shakhat
 
Intro to os-faults library
Intro to os-faults libraryIntro to os-faults library
Intro to os-faults libraryIlya Shakhat
 
OpenStack Networking LBaaS
OpenStack Networking LBaaSOpenStack Networking LBaaS
OpenStack Networking LBaaSIlya Shakhat
 

Mehr von Ilya Shakhat (6)

Distributed tracing in OpenStack
Distributed tracing in OpenStackDistributed tracing in OpenStack
Distributed tracing in OpenStack
 
OpenStack reliability metrics
OpenStack reliability metricsOpenStack reliability metrics
OpenStack reliability metrics
 
Intro to os-faults library
Intro to os-faults libraryIntro to os-faults library
Intro to os-faults library
 
Shaker
ShakerShaker
Shaker
 
Stackalytics
StackalyticsStackalytics
Stackalytics
 
OpenStack Networking LBaaS
OpenStack Networking LBaaSOpenStack Networking LBaaS
OpenStack Networking LBaaS
 

Kürzlich hochgeladen

"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
 
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
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024The Digital Insurer
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
Vector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesVector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesZilliz
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embeddingZilliz
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Wonjun Hwang
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
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
 

Kürzlich hochgeladen (20)

"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
 
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
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
Vector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesVector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector Databases
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embedding
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
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?
 

OpenStack Networking Mirantis 2013

  • 2. ● What is OpenStack ● Nova network ● (Quantum) OpenStack Networking ● Open vSwitch ● Load balancing as a service Agenda
  • 3. ● Open source system for building scalable private and public clouds ● Launched in 2010 by NASA and Rackspace, now 150+ companies, >9000 people, 87 countries ● A collection of “cloud services” ● Each service includes: ○ A tenant-facing API that exposes logical abstractions for consuming the service. ○ One or more backend implementations of that API What is OpenStack?
  • 4. ● What is OpenStack ● Nova network ● (Quantum) OpenStack Networking ● Open vSwitch ● Load balancing as a service Agenda
  • 5. Very easy to configure Different managers (network providers): ● FlatManager ● FlatDHCPManager ● VlanManager Nova Network
  • 6. ● Network bridge ● 'dnsmasq' DHCP server ● Bridge as default gw Limitations: ● Single L2 domain and ARP space, no tenant isolation ● Single IP pool Flat Network
  • 8. ● Network bridge ● Vlan interface over physical interface Limitations: ● Scaling limit in 4k vlan tags ● Vlans are configured manually on switch by admin ● May have issues with overlapping MACs Vlan Network
  • 10. ● Networking is too tied to Nova ● Two Key Problems: 1: Limited technology 2: Tenants want to replicate rich enterprise network topologies Why new module? VLANs are Great! - Stone Age Man
  • 11. Issues: ● VLANs is the only way of doing multi-tenancy ● Only Linux bridge supported (no ACLs, QoS, monitoring) ● Network controller is single point of failure Solution: ● Software-defined Networking (SDN) / OpenFlow ● Overlay tunneling: VXLAN, NVGRE, STT ● Fabric solutions: FabricPath, Qfabric, etc. ● Pluggable mechanism via common API to enable different vendor technologies Limited technologies
  • 12. Issues: ● No way to control topology nor create “multi-tier” networks ● No control over IP addressing ● No way to insert own services (e.g. firewall, IPS) Solution: ● API for managing multiple private networks, IP addressing ● API extensions to control: security policies, quality-of-service, monitoring ● Service plugins such as firewall, intrusion detection, VPN Tenants want control
  • 13. OpenStack Modules .. before Compute Storage Network Nova Swift (Objects) Glance (Images) *-as-a-Service Capability OpenStack Service Cinder (Block) Identity Keystone
  • 14. OpenStack Modules .. now Compute Storage Network Nova Swift (Objects) Glance (Images) *-as-a-Service Capability OpenStack Service Quantum Cinder (Block) Identity Keystone
  • 15. ● What is OpenStack ● Nova network ● (Quantum) OpenStack Networking ● Open vSwitch ● Load balancing as a service Agenda
  • 16. ● API to build rich networking topologies ● Extensible via plugins (may support virtual networks, hardware or mixed) ● More capabilities (QoS, security groups) ● Platform for services (LBaaS, FWaaS, etc) Welcome Quantum*! * urgently renamed to OpenStack Networking due to trademark violation
  • 17. Quantum Architecture Core REST API Extension REST API Extension REST API AuthN/AuthZ Core Plugin (vendor-specific) DB agent Service Plugin DB agent Core Plugin Interface Service Plugin Interface
  • 18. Network Node quantum-l3-agent quantum-dhcp-agent quantum-*plugin-agent quantum-metadata-agent quantum-lbaas-agent Compute Node quantum-*plugin-agent nova-compute Cloud Controller nova-api nova-scheduler keystone quantum-server rabbotmq mysql Compute Node quantum-*plugin-agent nova-compute Compute Node quantum-*plugin-agent nova-compute data network management network Quantum Deployment external network Internet
  • 19. Core API objects ● Port - a point of attachment to network ● Network - isolated L2 network segment ● Subnet - associates a block of IP addresses with network L3 extension objects ● Router - gateway between networks ● Floating IP - static mapping from public IP in external network to private IP in local Quantum Objects
  • 20. Quantum Object Relations port network subnet floating ip router VM L3 L2
  • 21. ● Big Switch Networks ● Brocade ● Cisco ● Hyper-V ● Linux Bridge ● Meta Plugin Core Plugins ● Midokura Midonet ● NEC OpenFlow ● Nicira NVP ● Open vSwitch ● PLUMgrid ● Ryu OpenFlow
  • 22. ● Programmable packet forwarding and network topology configuration ● An external ‘controller’ component sets up flows and/or topologies for network traffic ● Particularly suitable for virtual networking in massively scalable environments Software Defined Networks
  • 23. ● What is OpenStack ● Nova network ● (Quantum) OpenStack Networking ● Open vSwitch ● Load balancing as a service Agenda
  • 24. ● Open source programmable virtual switch ● Supports OpenFlow, 802.1Q VLANs, LACP, STP ● Supports KVM and Xen ● OVS is the basis for different SDN/network virtualization platforms ● Flexible controller in user-space ● Fast datapath in kernel Open vSwitch
  • 25. ● Port may have more than one interface ● IEEE 802.1Q support attaching VLAN tags to interfaces ● Packets are forwarded by flow ● Fine-grained ACLs and QoS (L2-L4 matching, actions) ● Centralized control via OpenFlow ● Works on Xen, KVM, VirtualBox Open vSwitch Concepts
  • 26. Open vSwitch Tools ovs-vswitchd - daemon that implements a switch with help of kernel module ovsdb-server - database server ovs-vsctl - utility for working with the configuration ovs-appctl - tool for controlling Open vSwitch daemon ovs-dpctl - datapath management utility ovs-controller - simple OpenFlow controller ovs-ofctl - OpenFlow switch management utility ovs-pki - utility for managing public-key infrastructure
  • 27. Example: logical view VM1 10.0.0.3 VM2 10.0.0.4 VM3 12.0.0.3 VM4 12.0.0.4 Tenant A router 10.0.0.1 30.0.0.2 Tenant B router 12.0.0.1 30.0.0.3 Tenant A Tenant B External router Internet
  • 28. Example: physical view VM1 10.0.0.3 VM3 12.0.0.3 VM2 10.0.0.4 VM4 12.0.0.4 Compute Node 1 Compute Node 2 br-intbr-int eth1eth0 eth1eth0 mgmt network data network br-ex br-ex
  • 29. Let's Start (with example)! We have: ● tenant A and network (10.0.0.0/24) ● router that wires private network with external ● DCHP enabled (quantum port is create) Commands we need: ● brctl show - to show all bridges ● ovs-vsctl show - to show all interfaces ● ip netns exec - to show contents of namespace ● quantum port-list, quantum net-list
  • 30. ovs-vsctl show Bridge br-int Port "qr-9b80a882-55" tag: 1 Interface "qr-9b80a882-55" type: internal Port "tap66a249f1-bf" tag: 1 Interface "tap66a249f1-bf" type: internal Port br-int Interface br-int type: internal Bridge br-ex Port "qg-e41c368d-a8" Interface "qg-e41c368d-a8" type: internal Port br-ex Interface br-ex type: internal internal interface of router port of DHCP server external interface of router
  • 31. brctl show bridge name bridge id STP enabled interfaces br-ex 0000.6eed69b21a4b no qg-e41c368d-a8 br-int 0000.f68d58076046 no qr-9b80a882-55 tap66a249f1-bf
  • 32. Let's Rock! Expand the configuration: ● Launch VM in tenant A (10.0.0.3) ● Create network for tenant B (12.0.0.0/24) with DHCP enabled (12.0.0.2) but without router ● Launch VM in tenant B (12.0.0.3)
  • 33. logical view VM1 10.0.0.3 VM3 12.0.0.3 Tenant A router 10.0.0.1 172.18.7.3 Tenant A Tenant B External router Internet
  • 34. ovs-vsctl show Bridge br-int Port "qvo8b0b577a-2c" tag: 1 Interface "qvo8b0b577a-2c" Port "qr-9b80a882-55" tag: 1 Interface "qr-9b80a882-55" type: internal Port "tap66a249f1-bf" tag: 1 Interface "tap66a249f1-bf" type: internal Port "qvo4a744a65-92" tag: 2 Interface "qvo4a744a65-92" Port "tap3aa4a560-d2" tag: 2 Interface "tap3aa4a560-d2" type: internal Port br-int Interface br-int type: internal interface for VM in tenant A interface for VM in tenant B interface of DHCP server in tenant B
  • 35. physical view VM 10.0.0.3 VM 12.0.0.3 Compute Node 1 eth0 br-ex DHCP 10.0.0.2 DHCP 12.0.0.2 Router 10.0.0.1 br-int
  • 36. brctl show bridge name bridge id STP enabled interfaces br-ex 0000.6eed69b21a4b no qg-e41c368d-a8 br-int 0000.f68d58076046 no qr-9b80a882-55 qvo4a744a65-92 qvo8b0b577a-2c tap3aa4a560-d2 tap66a249f1-bf qbr4a744a65-92 8000.7a95a8a2b9bd no qvb4a744a65-92 tap4a744a65-92 qbr8b0b577a-2c 8000.de84d986f61e no qvb8b0b577a-2c tap8b0b577a-2c one bridge for VM (created by VIF driver in Nova)
  • 37. ip netns List of namespaces. There's one namespace per DHCP port and per router port qdhcp-9a7e9331-2508-4615-889b-b99a6f260eef qdhcp-1b2101e0-cefa-4347-a581-e1f1f02215a1 qrouter-0e0e2e6e-a60b-4808-b914-8f45cae02b2e qdhcp-9a7e... qdhcp-1b21... qrouter-0e0e... 12.0.0.2 10.0.0.2 10.0.0.1 172.18.7.3
  • 38. ip netns exec <> ifconfig Show interfaces for namespace associated with router qg-e41c368d-a8 Link encap:Ethernet HWaddr fa:16:3e:27:a1:85 inet addr:172.18.7.3 Bcast:172.18.76.135 Mask:255.255.255.248 inet6 addr: fe80::f816:3eff:fe27:a185/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:60 errors:0 dropped:0 overruns:0 frame:0 TX packets:69 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:6608 (6.6 KB) TX bytes:5298 (5.2 KB) qr-9b80a882-55 Link encap:Ethernet HWaddr fa:16:3e:9e:ed:50 inet addr:10.0.0.1 Bcast:10.0.0.255 Mask:255.255.255.0 inet6 addr: fe80::f816:3eff:fe9e:ed50/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:18878 errors:0 dropped:0 overruns:0 frame:0 TX packets:3958 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:3269696 (3.2 MB) TX bytes:349880 (349.8 KB)
  • 39. ● What is OpenStack ● Nova network ● (Quantum) OpenStack Networking ● Open vSwitch ● Load balancing as a service Agenda
  • 40. ● Unified API for load balancing ● Features: ○ LB between services on VMs ○ configurable LB methods (e.g. round-robin) ○ session persistence ○ health monitoring (TCP, HTTP) ● Reference implementation based on HAProxy Load Balancing as a Service
  • 41. LBaaS Architecture Plugin Agent HAProxy process RPC REST API DB Extension python-quantumclient Horizon Quantum
  • 42. Pool LBaaS Model Member Member VM A 10.0.0.4:80 VM B 10.0.0.5:80 Vip (10.0.0.10:80) Health Monitor Subnet Subnet
  • 43. LBaaS Wiring VM A Load Balancer Router 10.0.0.1010.0.0.4 VM B 10.0.0.5 External Traffic Internal Trafficfloating ip 172.0.0.10
  • 44. 1. Create pool 2. Create members (1 per VM / service) 3. Create vip for the pool 4. (opt.) Create health monitor and associate with Pool LBaaS Workflow
  • 46. Havana Release: ● More services: firewall-as-a-service, vpn-as-a- service ● Multi-host DHCP agent (analog to Nova) ● IPv6 support for L3 services Provide API for every service in the network! Future of OpenStack Networking
  • 47. Q&A