SlideShare a Scribd company logo
1 of 12
Neutron 
Distributed Virtual Router 
Edgar Magana 
Cloud Operations Architect
Acknowledgments 
Big Thanks to Great Developers in OpenStack 
Community & OpenStack Foundation. 
Information presented here are sourced from my own 
experience as OpenStack developer/user and from 
OpenStack Foundation Documents & Community. 
Views and Technical points expressed here are 
solely presenter’s and doesn’t reflect his employer 
views/positions or OpenStack Foundation in anyway.
Networking Status (Neutron) 
 nova-network Parity 
– Feature parity with nova-network in progress 
– Initial migration path -- initial path for nova-network deprecation 
 L3 Enhancements 
– Multiple L3 agents 
– HA through plugins & keepalived 
– Each router created is assigned to 2 or more agents 
 IPv6 
– Next generation of IP routing 
– 2001:0db8:85a3:0042:1000:8a2e:0370:7334 rather than 10.28.255.168 
– Address assignment 
– SLAAC 
– Stateful DHCP 
– Stateless DHCP 
– Router advertisement through RADVD
Networking Status (Neutron) 
 DVR 
– Uses L3 HA 
– Removes bottleneck in east-west traffic 
– Shares OVS route information across virtual routers 
– One-hop traffic for VMs on different hypervisors 
– Requires OVS on ML2 plugin 
 New plugins/Drivers 
– OpenContrail plugin 
– A10 Networks LBaaS driver 
– Arista L3 routing plugin 
– Big Switch L3 routing plugin 
– Brocade L3 routing plugin 
– Cisco APIC ML2 Driver (including a L3 routing plugin) 
– Cisco CSR L3 routing plugin 
– Freescale SDN ML2 Mechanism
OpenStack Networking Deployment
Network Node Internals
DVR Support in Juno 
 The new Enhanced L3 Agent can operate in 3 different modes: 
1. Legacy (default for backward compatibility) 
 Centralized routing only 
 Runs on Network Nodes 
2. DVR 
 Supports distributed routing 
 Runs on Compute Nodes 
3. DVR_SNAT 
 Supports legacy centralized routing, DVR and centralized SNAT 
 Runs on either Network/Service Node or Compute Nodes 
 Each mode adds new support for certain features while continuing to support 
the other features but is dependent on the l3-agent scheduler.
Neutron – DVR Config Options 
 neutron.conf 
[DEFAULT] 
router_distributed = False (True = DVR mode) 
dvr_base_mac = fa:16:3f:00:00:00 
 ovs_neutron_plugin.ini 
[agent] 
enable_distributed_routing = False (True = The l2 agent runs in DVR mode) 
 l3_agent.ini 
[DEFAULT] 
agent_mode = legacy 
 dvr 
 dvr_snat
DVR – Devstack Multi-Node 
Controller/Network(SNAT) 
HOST_IP=172.16.232.137 
disable_service n-net 
enable_service neutron 
enable_service tempest 
enable_service q-svc 
enable_service q-agt 
enable_service q-dhcp 
enable_service q-l3 
enable_service q-meta 
enable_service n-cpu 
MYSQL_PASSWORD=nova 
RABBIT_PASSWORD=nova 
SERVICE_TOKEN=nova 
SERVICE_PASSWORD=nova 
ADMIN_PASSWORD=nova 
LOGDAYS=1 
Q_PLUGIN=ml2 
ENABLE_TENANT_TUNNELS=True 
TENANT_TUNNEL_RANGE=50:100 
Q_ML2_TENANT_NETWORK_TYPE=vxlan 
Q_DVR_MODE=dvr_snat 
VNCSERVER_LISTEN=$HOST_IP 
VNCSERVER_PROXYCLIENT_ADDRESS=$HOST_IP 
MULTI_HOST=1 
Compute/Routing 
HOST_IP=172.16.232.138 
SERVICE_HOST=172.16.232.137 
MYSQL_HOST=$SERVICE_HOST 
RABBIT_HOST=$SERVICE_HOST 
GLANCE_HOSTPORT=$SERVICE_HOST:9292 
MYSQL_PASSWORD=nova 
ADMIN_PASSWORD=nova 
SERVICE_PASSWORD=nova 
SERVICE_TOKEN=nova 
RABBIT_PASSWORD=nova 
ENABLED_SERVICES=n-cpu,neutron,n-novnc,q-agt,q-l3 
Q_PLUGIN=ml2 
ENABLE_TENANT_TUNNELS=True 
TENANT_TUNNEL_RANGE=50:100 
Q_ML2_TENANT_NETWORK_TYPE=vxlan 
Q_DVR_MODE=dvr 
VNCSERVER_LISTEN=$HOST_IP 
VNCSERVER_PROXYCLIENT_ADDRESS=$HOST_IP 
MULTI_HOST=1
IP Network Namespaces 
After creating a few networks and routers: 
openstack-dev:~/devstack$ sudo ip netns 
qdhcp-2e9facd9-92d3-4d71-9c80-6d3992b6751b 
qdhcp-ea73f4b4-d753-4d2b-9089-e0dc65cfea2b 
qrouter-c64a1a02-6425-4252-ba89-3146647c564f 
snat-375d717f-afd3-4427-878d-4c38303e40f2 
qrouter-375d717f-afd3-4427-878d-4c38303e40f2 
openstack-dev-compute:~/devstack$ sudo ip netns 
qrouter-c64a1a02-6425-4252-ba89-3146647c564f
DVR in Action 
LEGEND 
Tenant 1 has two Networks - RED & GREEN 
Tenant 2 has one Network - ORANGE 
11. Deliver to VM 2: 
srcMac = green-Mac, destMac = VM2, Network = green 
IR 
IR 
vm1 vm3 
vm6 vm7 1. Data frame with 
srcMac = VM1, destMac = red-Mac, Network = red 
br-int-cn1 
4. Set destMac: 
srcMac = VM1, destMac = VM2, Network = green 
5. Set srcMac: 
srcMac = green-Mac, destMac = VM2, Network = green 
br-tun-cn1 
vm2 vm4 
br-int-cn2 
br-tun-cn2 
vm5 
Data Network 
2. br-int forwards to IR 
10. Swap in Gateway Mac: 
srcMac = green-Mac, destMac = VM2, Network = green 
9. Usual Virtual switching 
srcMac = dvr-cn1-Mac, destMac = VM2, Network = green 
3. Change network: 
srcMac = VM1, destMac = red-Mac, Network = green 
6. Dec TTL and fwd: 
srcMac = green-Mac, destMac = VM2, Network = green 
7. Swap out Gateway Mac: 
srcMac = dvr-cn1-Mac, destMac = VM2, Network = green 
8. Usual Virtual switching : 
srcMac = dvr-cn1-Mac, destMac = VM2, Network = green 
source: HP Neutron Team
Thank you! 
Details: 
https://etherpad.openstack.org/p/kilo-summit-ops-dvr 
http://www.slideshare.net/emaganap 
twitter: emaganap

More Related Content

What's hot

OpenStack Neutron Liberty Updates
OpenStack Neutron Liberty UpdatesOpenStack Neutron Liberty Updates
OpenStack Neutron Liberty Updatesmestery
 
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 in Action 4! Emilien Macchi & Sylvain Afchain - What's new in neutr...
OpenStack in Action 4! Emilien Macchi & Sylvain Afchain - What's new in neutr...OpenStack in Action 4! Emilien Macchi & Sylvain Afchain - What's new in neutr...
OpenStack in Action 4! Emilien Macchi & Sylvain Afchain - What's new in neutr...eNovance
 
Neutron high availability open stack architecture openstack israel event 2015
Neutron high availability  open stack architecture   openstack israel event 2015Neutron high availability  open stack architecture   openstack israel event 2015
Neutron high availability open stack architecture openstack israel event 2015Arthur Berezin
 
ONUG Tutorial: Bridges and Tunnels Drive Through OpenStack Networking
ONUG Tutorial: Bridges and Tunnels Drive Through OpenStack NetworkingONUG Tutorial: Bridges and Tunnels Drive Through OpenStack Networking
ONUG Tutorial: Bridges and Tunnels Drive Through OpenStack Networkingmarkmcclain
 
Accelerating SDN Applications with Open Source Network Overlays
Accelerating SDN Applications with Open Source Network OverlaysAccelerating SDN Applications with Open Source Network Overlays
Accelerating SDN Applications with Open Source Network OverlaysCumulus Networks
 
Open stack networking vlan, gre
Open stack networking   vlan, greOpen stack networking   vlan, gre
Open stack networking vlan, greSim Janghoon
 
OpenContrail Cloudwatt Feedback
OpenContrail Cloudwatt FeedbackOpenContrail Cloudwatt Feedback
OpenContrail Cloudwatt Feedbackethuleau
 
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
 
OpenContrail deployment experience
OpenContrail deployment experienceOpenContrail deployment experience
OpenContrail deployment experienceJakub Pavlik
 
Open stack ha design & deployment kilo
Open stack ha design & deployment   kiloOpen stack ha design & deployment   kilo
Open stack ha design & deployment kiloSteven Li
 
Open stack networking_101_update_2014
Open stack networking_101_update_2014Open stack networking_101_update_2014
Open stack networking_101_update_2014yfauser
 
Orchestration tool roundup kubernetes vs. docker vs. heat vs. terra form vs...
Orchestration tool roundup   kubernetes vs. docker vs. heat vs. terra form vs...Orchestration tool roundup   kubernetes vs. docker vs. heat vs. terra form vs...
Orchestration tool roundup kubernetes vs. docker vs. heat vs. terra form vs...Nati Shalom
 
Introduction to Software Defined Networking and OpenStack Neutron
Introduction to Software Defined Networking and OpenStack NeutronIntroduction to Software Defined Networking and OpenStack Neutron
Introduction to Software Defined Networking and OpenStack NeutronSana Khan
 
Simplifying the OpenStack and Kubernetes network stack with Romana
Simplifying the OpenStack and Kubernetes network stack with RomanaSimplifying the OpenStack and Kubernetes network stack with Romana
Simplifying the OpenStack and Kubernetes network stack with RomanaJuergen Brendel
 
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 networking - Neutron deep dive with PLUMgrid
OpenStack networking - Neutron deep dive with PLUMgridOpenStack networking - Neutron deep dive with PLUMgrid
OpenStack networking - Neutron deep dive with PLUMgridKamesh Pemmaraju
 

What's hot (20)

OpenStack Neutron Liberty Updates
OpenStack Neutron Liberty UpdatesOpenStack Neutron Liberty Updates
OpenStack Neutron Liberty Updates
 
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 in Action 4! Emilien Macchi & Sylvain Afchain - What's new in neutr...
OpenStack in Action 4! Emilien Macchi & Sylvain Afchain - What's new in neutr...OpenStack in Action 4! Emilien Macchi & Sylvain Afchain - What's new in neutr...
OpenStack in Action 4! Emilien Macchi & Sylvain Afchain - What's new in neutr...
 
Neutron high availability open stack architecture openstack israel event 2015
Neutron high availability  open stack architecture   openstack israel event 2015Neutron high availability  open stack architecture   openstack israel event 2015
Neutron high availability open stack architecture openstack israel event 2015
 
ONUG Tutorial: Bridges and Tunnels Drive Through OpenStack Networking
ONUG Tutorial: Bridges and Tunnels Drive Through OpenStack NetworkingONUG Tutorial: Bridges and Tunnels Drive Through OpenStack Networking
ONUG Tutorial: Bridges and Tunnels Drive Through OpenStack Networking
 
Accelerating SDN Applications with Open Source Network Overlays
Accelerating SDN Applications with Open Source Network OverlaysAccelerating SDN Applications with Open Source Network Overlays
Accelerating SDN Applications with Open Source Network Overlays
 
Open stack networking vlan, gre
Open stack networking   vlan, greOpen stack networking   vlan, gre
Open stack networking vlan, gre
 
OpenContrail Cloudwatt Feedback
OpenContrail Cloudwatt FeedbackOpenContrail Cloudwatt Feedback
OpenContrail Cloudwatt Feedback
 
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
 
VPNaaS in Neutron
VPNaaS in NeutronVPNaaS in Neutron
VPNaaS in Neutron
 
OpenStack Neutron behind the Scenes
OpenStack Neutron behind the ScenesOpenStack Neutron behind the Scenes
OpenStack Neutron behind the Scenes
 
OpenContrail deployment experience
OpenContrail deployment experienceOpenContrail deployment experience
OpenContrail deployment experience
 
Open stack ha design & deployment kilo
Open stack ha design & deployment   kiloOpen stack ha design & deployment   kilo
Open stack ha design & deployment kilo
 
Open stack networking_101_update_2014
Open stack networking_101_update_2014Open stack networking_101_update_2014
Open stack networking_101_update_2014
 
Orchestration tool roundup kubernetes vs. docker vs. heat vs. terra form vs...
Orchestration tool roundup   kubernetes vs. docker vs. heat vs. terra form vs...Orchestration tool roundup   kubernetes vs. docker vs. heat vs. terra form vs...
Orchestration tool roundup kubernetes vs. docker vs. heat vs. terra form vs...
 
Introduction to Software Defined Networking and OpenStack Neutron
Introduction to Software Defined Networking and OpenStack NeutronIntroduction to Software Defined Networking and OpenStack Neutron
Introduction to Software Defined Networking and OpenStack Neutron
 
MidoNet deep dive
MidoNet deep diveMidoNet deep dive
MidoNet deep dive
 
Simplifying the OpenStack and Kubernetes network stack with Romana
Simplifying the OpenStack and Kubernetes network stack with RomanaSimplifying the OpenStack and Kubernetes network stack with Romana
Simplifying the OpenStack and Kubernetes network stack with Romana
 
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 networking - Neutron deep dive with PLUMgrid
OpenStack networking - Neutron deep dive with PLUMgridOpenStack networking - Neutron deep dive with PLUMgrid
OpenStack networking - Neutron deep dive with PLUMgrid
 

Viewers also liked

第20回 OpenStack勉強会 Neutron Deep Dive - DVR
第20回 OpenStack勉強会 Neutron Deep Dive - DVR第20回 OpenStack勉強会 Neutron Deep Dive - DVR
第20回 OpenStack勉強会 Neutron Deep Dive - DVRToru Makabe
 
epic-apm-toward-a-better-apm-model-for-the-application-economy
epic-apm-toward-a-better-apm-model-for-the-application-economyepic-apm-toward-a-better-apm-model-for-the-application-economy
epic-apm-toward-a-better-apm-model-for-the-application-economyScott Edwards
 
Open contrail slides for BANV meetup
Open contrail slides for BANV meetupOpen contrail slides for BANV meetup
Open contrail slides for BANV meetupScott Edwards
 
OpenStack networking juno l3 h-a, dvr
OpenStack networking   juno l3 h-a, dvrOpenStack networking   juno l3 h-a, dvr
OpenStack networking juno l3 h-a, dvrSim Janghoon
 
Contrail Deep-dive - Cloud Network Services at Scale
Contrail Deep-dive - Cloud Network Services at ScaleContrail Deep-dive - Cloud Network Services at Scale
Contrail Deep-dive - Cloud Network Services at ScaleMarketingArrowECS_CZ
 
OpenStack & OpenContrail in Production
OpenStack & OpenContrail in ProductionOpenStack & OpenContrail in Production
OpenStack & OpenContrail in ProductionEdgar Magana
 
Inside Architecture of Neutron
Inside Architecture of NeutronInside Architecture of Neutron
Inside Architecture of Neutronmarkmcclain
 
OpenStack Best Practices and Considerations - terasky tech day
OpenStack Best Practices and Considerations  - terasky tech dayOpenStack Best Practices and Considerations  - terasky tech day
OpenStack Best Practices and Considerations - terasky tech dayArthur Berezin
 
OpenStack Neutron Tutorial
OpenStack Neutron TutorialOpenStack Neutron Tutorial
OpenStack Neutron Tutorialmestery
 
[2016 11월 세미나] Kakao 프라이빗 클라우드와 컨테이너 기반 서비스 런칭기
[2016 11월 세미나] Kakao 프라이빗 클라우드와 컨테이너 기반 서비스 런칭기[2016 11월 세미나] Kakao 프라이빗 클라우드와 컨테이너 기반 서비스 런칭기
[2016 11월 세미나] Kakao 프라이빗 클라우드와 컨테이너 기반 서비스 런칭기OpenStack Korea Community
 
[OpenStack 스터디] OpenStack With Contrail
[OpenStack 스터디] OpenStack With Contrail[OpenStack 스터디] OpenStack With Contrail
[OpenStack 스터디] OpenStack With ContrailOpenStack Korea Community
 

Viewers also liked (12)

第20回 OpenStack勉強会 Neutron Deep Dive - DVR
第20回 OpenStack勉強会 Neutron Deep Dive - DVR第20回 OpenStack勉強会 Neutron Deep Dive - DVR
第20回 OpenStack勉強会 Neutron Deep Dive - DVR
 
epic-apm-toward-a-better-apm-model-for-the-application-economy
epic-apm-toward-a-better-apm-model-for-the-application-economyepic-apm-toward-a-better-apm-model-for-the-application-economy
epic-apm-toward-a-better-apm-model-for-the-application-economy
 
Open contrail slides for BANV meetup
Open contrail slides for BANV meetupOpen contrail slides for BANV meetup
Open contrail slides for BANV meetup
 
Contrail Basics
Contrail BasicsContrail Basics
Contrail Basics
 
OpenStack networking juno l3 h-a, dvr
OpenStack networking   juno l3 h-a, dvrOpenStack networking   juno l3 h-a, dvr
OpenStack networking juno l3 h-a, dvr
 
Contrail Deep-dive - Cloud Network Services at Scale
Contrail Deep-dive - Cloud Network Services at ScaleContrail Deep-dive - Cloud Network Services at Scale
Contrail Deep-dive - Cloud Network Services at Scale
 
OpenStack & OpenContrail in Production
OpenStack & OpenContrail in ProductionOpenStack & OpenContrail in Production
OpenStack & OpenContrail in Production
 
Inside Architecture of Neutron
Inside Architecture of NeutronInside Architecture of Neutron
Inside Architecture of Neutron
 
OpenStack Best Practices and Considerations - terasky tech day
OpenStack Best Practices and Considerations  - terasky tech dayOpenStack Best Practices and Considerations  - terasky tech day
OpenStack Best Practices and Considerations - terasky tech day
 
OpenStack Neutron Tutorial
OpenStack Neutron TutorialOpenStack Neutron Tutorial
OpenStack Neutron Tutorial
 
[2016 11월 세미나] Kakao 프라이빗 클라우드와 컨테이너 기반 서비스 런칭기
[2016 11월 세미나] Kakao 프라이빗 클라우드와 컨테이너 기반 서비스 런칭기[2016 11월 세미나] Kakao 프라이빗 클라우드와 컨테이너 기반 서비스 런칭기
[2016 11월 세미나] Kakao 프라이빗 클라우드와 컨테이너 기반 서비스 런칭기
 
[OpenStack 스터디] OpenStack With Contrail
[OpenStack 스터디] OpenStack With Contrail[OpenStack 스터디] OpenStack With Contrail
[OpenStack 스터디] OpenStack With Contrail
 

Similar to Neutron DVR

Experiences in Providing Secure Mult-Tenant Lustre Access to OpenStack
Experiences in Providing Secure Mult-Tenant Lustre Access to OpenStackExperiences in Providing Secure Mult-Tenant Lustre Access to OpenStack
Experiences in Providing Secure Mult-Tenant Lustre Access to OpenStackinside-BigData.com
 
Enabling a Secure Multi-Tenant Environment for HPC
Enabling a Secure Multi-Tenant Environment for HPCEnabling a Secure Multi-Tenant Environment for HPC
Enabling a Secure Multi-Tenant Environment for HPCinside-BigData.com
 
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
 
Multihomed Linux router
Multihomed Linux routerMultihomed Linux router
Multihomed Linux routerMarian Marinov
 
PLNOG 13: Nicolai van der Smagt: SDN
PLNOG 13: Nicolai van der Smagt: SDNPLNOG 13: Nicolai van der Smagt: SDN
PLNOG 13: Nicolai van der Smagt: SDNPROIDEA
 
See what happened with real time kvm when building real time cloud pezhang@re...
See what happened with real time kvm when building real time cloud pezhang@re...See what happened with real time kvm when building real time cloud pezhang@re...
See what happened with real time kvm when building real time cloud pezhang@re...LinuxCon ContainerCon CloudOpen China
 
[OpenStack 하반기 스터디] HA using DVR
[OpenStack 하반기 스터디] HA using DVR[OpenStack 하반기 스터디] HA using DVR
[OpenStack 하반기 스터디] HA using DVROpenStack Korea Community
 
Routed networks sydney
Routed networks sydneyRouted networks sydney
Routed networks sydneyMiguel Lavalle
 
OSDC 2016 - An Introduction to Software Defined Networking (SDN) by Martin Lo...
OSDC 2016 - An Introduction to Software Defined Networking (SDN) by Martin Lo...OSDC 2016 - An Introduction to Software Defined Networking (SDN) by Martin Lo...
OSDC 2016 - An Introduction to Software Defined Networking (SDN) by Martin Lo...NETWAYS
 
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
 
Network Virtualization & Software-defined Networking
Network Virtualization & Software-defined NetworkingNetwork Virtualization & Software-defined Networking
Network Virtualization & Software-defined NetworkingDigicomp Academy AG
 
[OpenStack 하반기 스터디] Interoperability with ML2: LinuxBridge, OVS and SDN
[OpenStack 하반기 스터디] Interoperability with ML2: LinuxBridge, OVS and SDN[OpenStack 하반기 스터디] Interoperability with ML2: LinuxBridge, OVS and SDN
[OpenStack 하반기 스터디] Interoperability with ML2: LinuxBridge, OVS and SDNOpenStack Korea Community
 
20151222_Interoperability with ML2: LinuxBridge, OVS and SDN
20151222_Interoperability with ML2: LinuxBridge, OVS and SDN20151222_Interoperability with ML2: LinuxBridge, OVS and SDN
20151222_Interoperability with ML2: LinuxBridge, OVS and SDNSungman Jang
 
Disruptive IP Networking with Intel DPDK on Linux
Disruptive IP Networking with Intel DPDK on LinuxDisruptive IP Networking with Intel DPDK on Linux
Disruptive IP Networking with Intel DPDK on LinuxNaoto MATSUMOTO
 
Secure lustre on openstack
Secure lustre on openstackSecure lustre on openstack
Secure lustre on openstackJames Beal
 

Similar to Neutron DVR (20)

Experiences in Providing Secure Mult-Tenant Lustre Access to OpenStack
Experiences in Providing Secure Mult-Tenant Lustre Access to OpenStackExperiences in Providing Secure Mult-Tenant Lustre Access to OpenStack
Experiences in Providing Secure Mult-Tenant Lustre Access to OpenStack
 
Enabling a Secure Multi-Tenant Environment for HPC
Enabling a Secure Multi-Tenant Environment for HPCEnabling a Secure Multi-Tenant Environment for HPC
Enabling a Secure Multi-Tenant Environment for HPC
 
SDN in CloudStack
SDN in CloudStackSDN in CloudStack
SDN in CloudStack
 
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
 
Multihomed Linux router
Multihomed Linux routerMultihomed Linux router
Multihomed Linux router
 
PLNOG 13: Nicolai van der Smagt: SDN
PLNOG 13: Nicolai van der Smagt: SDNPLNOG 13: Nicolai van der Smagt: SDN
PLNOG 13: Nicolai van der Smagt: SDN
 
Opencontrail network virtualization
Opencontrail network virtualizationOpencontrail network virtualization
Opencontrail network virtualization
 
What's new in Neutron Juno
What's new in Neutron JunoWhat's new in Neutron Juno
What's new in Neutron Juno
 
See what happened with real time kvm when building real time cloud pezhang@re...
See what happened with real time kvm when building real time cloud pezhang@re...See what happened with real time kvm when building real time cloud pezhang@re...
See what happened with real time kvm when building real time cloud pezhang@re...
 
[OpenStack 하반기 스터디] HA using DVR
[OpenStack 하반기 스터디] HA using DVR[OpenStack 하반기 스터디] HA using DVR
[OpenStack 하반기 스터디] HA using DVR
 
Routed networks sydney
Routed networks sydneyRouted networks sydney
Routed networks sydney
 
Ha nsf notes
Ha nsf notesHa nsf notes
Ha nsf notes
 
OSDC 2016 - An Introduction to Software Defined Networking (SDN) by Martin Lo...
OSDC 2016 - An Introduction to Software Defined Networking (SDN) by Martin Lo...OSDC 2016 - An Introduction to Software Defined Networking (SDN) by Martin Lo...
OSDC 2016 - An Introduction to Software Defined Networking (SDN) by Martin Lo...
 
Ducat
DucatDucat
Ducat
 
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
 
Network Virtualization & Software-defined Networking
Network Virtualization & Software-defined NetworkingNetwork Virtualization & Software-defined Networking
Network Virtualization & Software-defined Networking
 
[OpenStack 하반기 스터디] Interoperability with ML2: LinuxBridge, OVS and SDN
[OpenStack 하반기 스터디] Interoperability with ML2: LinuxBridge, OVS and SDN[OpenStack 하반기 스터디] Interoperability with ML2: LinuxBridge, OVS and SDN
[OpenStack 하반기 스터디] Interoperability with ML2: LinuxBridge, OVS and SDN
 
20151222_Interoperability with ML2: LinuxBridge, OVS and SDN
20151222_Interoperability with ML2: LinuxBridge, OVS and SDN20151222_Interoperability with ML2: LinuxBridge, OVS and SDN
20151222_Interoperability with ML2: LinuxBridge, OVS and SDN
 
Disruptive IP Networking with Intel DPDK on Linux
Disruptive IP Networking with Intel DPDK on LinuxDisruptive IP Networking with Intel DPDK on Linux
Disruptive IP Networking with Intel DPDK on Linux
 
Secure lustre on openstack
Secure lustre on openstackSecure lustre on openstack
Secure lustre on openstack
 

More from Edgar Magana

OpenContrail at Workday - Security Policies Use Case
OpenContrail at Workday - Security Policies Use CaseOpenContrail at Workday - Security Policies Use Case
OpenContrail at Workday - Security Policies Use CaseEdgar Magana
 
OpenStack @ Workday - CI/CD
OpenStack @ Workday - CI/CDOpenStack @ Workday - CI/CD
OpenStack @ Workday - CI/CDEdgar Magana
 
SDN Symposium - Cybera
SDN Symposium - CyberaSDN Symposium - Cybera
SDN Symposium - CyberaEdgar Magana
 
Cloud computing and OpenStack
Cloud computing and OpenStackCloud computing and OpenStack
Cloud computing and OpenStackEdgar Magana
 
The Battle of the distros - OS Summit Atlanta2014
The Battle of the distros - OS Summit Atlanta2014The Battle of the distros - OS Summit Atlanta2014
The Battle of the distros - OS Summit Atlanta2014Edgar Magana
 
OpenStack Neutron Havana Overview - Oct 2013
OpenStack Neutron Havana Overview - Oct 2013OpenStack Neutron Havana Overview - Oct 2013
OpenStack Neutron Havana Overview - Oct 2013Edgar Magana
 

More from Edgar Magana (6)

OpenContrail at Workday - Security Policies Use Case
OpenContrail at Workday - Security Policies Use CaseOpenContrail at Workday - Security Policies Use Case
OpenContrail at Workday - Security Policies Use Case
 
OpenStack @ Workday - CI/CD
OpenStack @ Workday - CI/CDOpenStack @ Workday - CI/CD
OpenStack @ Workday - CI/CD
 
SDN Symposium - Cybera
SDN Symposium - CyberaSDN Symposium - Cybera
SDN Symposium - Cybera
 
Cloud computing and OpenStack
Cloud computing and OpenStackCloud computing and OpenStack
Cloud computing and OpenStack
 
The Battle of the distros - OS Summit Atlanta2014
The Battle of the distros - OS Summit Atlanta2014The Battle of the distros - OS Summit Atlanta2014
The Battle of the distros - OS Summit Atlanta2014
 
OpenStack Neutron Havana Overview - Oct 2013
OpenStack Neutron Havana Overview - Oct 2013OpenStack Neutron Havana Overview - Oct 2013
OpenStack Neutron Havana Overview - Oct 2013
 

Recently uploaded

Instrumentation, measurement and control of bio process parameters ( Temperat...
Instrumentation, measurement and control of bio process parameters ( Temperat...Instrumentation, measurement and control of bio process parameters ( Temperat...
Instrumentation, measurement and control of bio process parameters ( Temperat...121011101441
 
Comparative study of High-rise Building Using ETABS,SAP200 and SAFE., SAFE an...
Comparative study of High-rise Building Using ETABS,SAP200 and SAFE., SAFE an...Comparative study of High-rise Building Using ETABS,SAP200 and SAFE., SAFE an...
Comparative study of High-rise Building Using ETABS,SAP200 and SAFE., SAFE an...Erbil Polytechnic University
 
Correctly Loading Incremental Data at Scale
Correctly Loading Incremental Data at ScaleCorrectly Loading Incremental Data at Scale
Correctly Loading Incremental Data at ScaleAlluxio, Inc.
 
Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...VICTOR MAESTRE RAMIREZ
 
Mine Environment II Lab_MI10448MI__________.pptx
Mine Environment II Lab_MI10448MI__________.pptxMine Environment II Lab_MI10448MI__________.pptx
Mine Environment II Lab_MI10448MI__________.pptxRomil Mishra
 
Autonomous emergency braking system (aeb) ppt.ppt
Autonomous emergency braking system (aeb) ppt.pptAutonomous emergency braking system (aeb) ppt.ppt
Autonomous emergency braking system (aeb) ppt.pptbibisarnayak0
 
multiple access in wireless communication
multiple access in wireless communicationmultiple access in wireless communication
multiple access in wireless communicationpanditadesh123
 
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)Dr SOUNDIRARAJ N
 
Risk Management in Engineering Construction Project
Risk Management in Engineering Construction ProjectRisk Management in Engineering Construction Project
Risk Management in Engineering Construction ProjectErbil Polytechnic University
 
Ch10-Global Supply Chain - Cadena de Suministro.pdf
Ch10-Global Supply Chain - Cadena de Suministro.pdfCh10-Global Supply Chain - Cadena de Suministro.pdf
Ch10-Global Supply Chain - Cadena de Suministro.pdfChristianCDAM
 
Class 1 | NFPA 72 | Overview Fire Alarm System
Class 1 | NFPA 72 | Overview Fire Alarm SystemClass 1 | NFPA 72 | Overview Fire Alarm System
Class 1 | NFPA 72 | Overview Fire Alarm Systemirfanmechengr
 
Engineering Drawing section of solid
Engineering Drawing     section of solidEngineering Drawing     section of solid
Engineering Drawing section of solidnamansinghjarodiya
 
Research Methodology for Engineering pdf
Research Methodology for Engineering pdfResearch Methodology for Engineering pdf
Research Methodology for Engineering pdfCaalaaAbdulkerim
 
home automation using Arduino by Aditya Prasad
home automation using Arduino by Aditya Prasadhome automation using Arduino by Aditya Prasad
home automation using Arduino by Aditya Prasadaditya806802
 
Internet of things -Arshdeep Bahga .pptx
Internet of things -Arshdeep Bahga .pptxInternet of things -Arshdeep Bahga .pptx
Internet of things -Arshdeep Bahga .pptxVelmuruganTECE
 
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdfCCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdfAsst.prof M.Gokilavani
 
Indian Dairy Industry Present Status and.ppt
Indian Dairy Industry Present Status and.pptIndian Dairy Industry Present Status and.ppt
Indian Dairy Industry Present Status and.pptMadan Karki
 
Earthing details of Electrical Substation
Earthing details of Electrical SubstationEarthing details of Electrical Substation
Earthing details of Electrical Substationstephanwindworld
 

Recently uploaded (20)

Instrumentation, measurement and control of bio process parameters ( Temperat...
Instrumentation, measurement and control of bio process parameters ( Temperat...Instrumentation, measurement and control of bio process parameters ( Temperat...
Instrumentation, measurement and control of bio process parameters ( Temperat...
 
Comparative study of High-rise Building Using ETABS,SAP200 and SAFE., SAFE an...
Comparative study of High-rise Building Using ETABS,SAP200 and SAFE., SAFE an...Comparative study of High-rise Building Using ETABS,SAP200 and SAFE., SAFE an...
Comparative study of High-rise Building Using ETABS,SAP200 and SAFE., SAFE an...
 
Correctly Loading Incremental Data at Scale
Correctly Loading Incremental Data at ScaleCorrectly Loading Incremental Data at Scale
Correctly Loading Incremental Data at Scale
 
Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...
 
Mine Environment II Lab_MI10448MI__________.pptx
Mine Environment II Lab_MI10448MI__________.pptxMine Environment II Lab_MI10448MI__________.pptx
Mine Environment II Lab_MI10448MI__________.pptx
 
Design and analysis of solar grass cutter.pdf
Design and analysis of solar grass cutter.pdfDesign and analysis of solar grass cutter.pdf
Design and analysis of solar grass cutter.pdf
 
Autonomous emergency braking system (aeb) ppt.ppt
Autonomous emergency braking system (aeb) ppt.pptAutonomous emergency braking system (aeb) ppt.ppt
Autonomous emergency braking system (aeb) ppt.ppt
 
multiple access in wireless communication
multiple access in wireless communicationmultiple access in wireless communication
multiple access in wireless communication
 
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
 
Risk Management in Engineering Construction Project
Risk Management in Engineering Construction ProjectRisk Management in Engineering Construction Project
Risk Management in Engineering Construction Project
 
young call girls in Green Park🔝 9953056974 🔝 escort Service
young call girls in Green Park🔝 9953056974 🔝 escort Serviceyoung call girls in Green Park🔝 9953056974 🔝 escort Service
young call girls in Green Park🔝 9953056974 🔝 escort Service
 
Ch10-Global Supply Chain - Cadena de Suministro.pdf
Ch10-Global Supply Chain - Cadena de Suministro.pdfCh10-Global Supply Chain - Cadena de Suministro.pdf
Ch10-Global Supply Chain - Cadena de Suministro.pdf
 
Class 1 | NFPA 72 | Overview Fire Alarm System
Class 1 | NFPA 72 | Overview Fire Alarm SystemClass 1 | NFPA 72 | Overview Fire Alarm System
Class 1 | NFPA 72 | Overview Fire Alarm System
 
Engineering Drawing section of solid
Engineering Drawing     section of solidEngineering Drawing     section of solid
Engineering Drawing section of solid
 
Research Methodology for Engineering pdf
Research Methodology for Engineering pdfResearch Methodology for Engineering pdf
Research Methodology for Engineering pdf
 
home automation using Arduino by Aditya Prasad
home automation using Arduino by Aditya Prasadhome automation using Arduino by Aditya Prasad
home automation using Arduino by Aditya Prasad
 
Internet of things -Arshdeep Bahga .pptx
Internet of things -Arshdeep Bahga .pptxInternet of things -Arshdeep Bahga .pptx
Internet of things -Arshdeep Bahga .pptx
 
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdfCCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
 
Indian Dairy Industry Present Status and.ppt
Indian Dairy Industry Present Status and.pptIndian Dairy Industry Present Status and.ppt
Indian Dairy Industry Present Status and.ppt
 
Earthing details of Electrical Substation
Earthing details of Electrical SubstationEarthing details of Electrical Substation
Earthing details of Electrical Substation
 

Neutron DVR

  • 1. Neutron Distributed Virtual Router Edgar Magana Cloud Operations Architect
  • 2. Acknowledgments Big Thanks to Great Developers in OpenStack Community & OpenStack Foundation. Information presented here are sourced from my own experience as OpenStack developer/user and from OpenStack Foundation Documents & Community. Views and Technical points expressed here are solely presenter’s and doesn’t reflect his employer views/positions or OpenStack Foundation in anyway.
  • 3. Networking Status (Neutron)  nova-network Parity – Feature parity with nova-network in progress – Initial migration path -- initial path for nova-network deprecation  L3 Enhancements – Multiple L3 agents – HA through plugins & keepalived – Each router created is assigned to 2 or more agents  IPv6 – Next generation of IP routing – 2001:0db8:85a3:0042:1000:8a2e:0370:7334 rather than 10.28.255.168 – Address assignment – SLAAC – Stateful DHCP – Stateless DHCP – Router advertisement through RADVD
  • 4. Networking Status (Neutron)  DVR – Uses L3 HA – Removes bottleneck in east-west traffic – Shares OVS route information across virtual routers – One-hop traffic for VMs on different hypervisors – Requires OVS on ML2 plugin  New plugins/Drivers – OpenContrail plugin – A10 Networks LBaaS driver – Arista L3 routing plugin – Big Switch L3 routing plugin – Brocade L3 routing plugin – Cisco APIC ML2 Driver (including a L3 routing plugin) – Cisco CSR L3 routing plugin – Freescale SDN ML2 Mechanism
  • 7. DVR Support in Juno  The new Enhanced L3 Agent can operate in 3 different modes: 1. Legacy (default for backward compatibility)  Centralized routing only  Runs on Network Nodes 2. DVR  Supports distributed routing  Runs on Compute Nodes 3. DVR_SNAT  Supports legacy centralized routing, DVR and centralized SNAT  Runs on either Network/Service Node or Compute Nodes  Each mode adds new support for certain features while continuing to support the other features but is dependent on the l3-agent scheduler.
  • 8. Neutron – DVR Config Options  neutron.conf [DEFAULT] router_distributed = False (True = DVR mode) dvr_base_mac = fa:16:3f:00:00:00  ovs_neutron_plugin.ini [agent] enable_distributed_routing = False (True = The l2 agent runs in DVR mode)  l3_agent.ini [DEFAULT] agent_mode = legacy  dvr  dvr_snat
  • 9. DVR – Devstack Multi-Node Controller/Network(SNAT) HOST_IP=172.16.232.137 disable_service n-net enable_service neutron enable_service tempest enable_service q-svc enable_service q-agt enable_service q-dhcp enable_service q-l3 enable_service q-meta enable_service n-cpu MYSQL_PASSWORD=nova RABBIT_PASSWORD=nova SERVICE_TOKEN=nova SERVICE_PASSWORD=nova ADMIN_PASSWORD=nova LOGDAYS=1 Q_PLUGIN=ml2 ENABLE_TENANT_TUNNELS=True TENANT_TUNNEL_RANGE=50:100 Q_ML2_TENANT_NETWORK_TYPE=vxlan Q_DVR_MODE=dvr_snat VNCSERVER_LISTEN=$HOST_IP VNCSERVER_PROXYCLIENT_ADDRESS=$HOST_IP MULTI_HOST=1 Compute/Routing HOST_IP=172.16.232.138 SERVICE_HOST=172.16.232.137 MYSQL_HOST=$SERVICE_HOST RABBIT_HOST=$SERVICE_HOST GLANCE_HOSTPORT=$SERVICE_HOST:9292 MYSQL_PASSWORD=nova ADMIN_PASSWORD=nova SERVICE_PASSWORD=nova SERVICE_TOKEN=nova RABBIT_PASSWORD=nova ENABLED_SERVICES=n-cpu,neutron,n-novnc,q-agt,q-l3 Q_PLUGIN=ml2 ENABLE_TENANT_TUNNELS=True TENANT_TUNNEL_RANGE=50:100 Q_ML2_TENANT_NETWORK_TYPE=vxlan Q_DVR_MODE=dvr VNCSERVER_LISTEN=$HOST_IP VNCSERVER_PROXYCLIENT_ADDRESS=$HOST_IP MULTI_HOST=1
  • 10. IP Network Namespaces After creating a few networks and routers: openstack-dev:~/devstack$ sudo ip netns qdhcp-2e9facd9-92d3-4d71-9c80-6d3992b6751b qdhcp-ea73f4b4-d753-4d2b-9089-e0dc65cfea2b qrouter-c64a1a02-6425-4252-ba89-3146647c564f snat-375d717f-afd3-4427-878d-4c38303e40f2 qrouter-375d717f-afd3-4427-878d-4c38303e40f2 openstack-dev-compute:~/devstack$ sudo ip netns qrouter-c64a1a02-6425-4252-ba89-3146647c564f
  • 11. DVR in Action LEGEND Tenant 1 has two Networks - RED & GREEN Tenant 2 has one Network - ORANGE 11. Deliver to VM 2: srcMac = green-Mac, destMac = VM2, Network = green IR IR vm1 vm3 vm6 vm7 1. Data frame with srcMac = VM1, destMac = red-Mac, Network = red br-int-cn1 4. Set destMac: srcMac = VM1, destMac = VM2, Network = green 5. Set srcMac: srcMac = green-Mac, destMac = VM2, Network = green br-tun-cn1 vm2 vm4 br-int-cn2 br-tun-cn2 vm5 Data Network 2. br-int forwards to IR 10. Swap in Gateway Mac: srcMac = green-Mac, destMac = VM2, Network = green 9. Usual Virtual switching srcMac = dvr-cn1-Mac, destMac = VM2, Network = green 3. Change network: srcMac = VM1, destMac = red-Mac, Network = green 6. Dec TTL and fwd: srcMac = green-Mac, destMac = VM2, Network = green 7. Swap out Gateway Mac: srcMac = dvr-cn1-Mac, destMac = VM2, Network = green 8. Usual Virtual switching : srcMac = dvr-cn1-Mac, destMac = VM2, Network = green source: HP Neutron Team
  • 12. Thank you! Details: https://etherpad.openstack.org/p/kilo-summit-ops-dvr http://www.slideshare.net/emaganap twitter: emaganap