SlideShare a Scribd company logo
OVN - The future of
networking in OpenStack
1
Ha Noi, 01/2020
ĐỖ XUÂN SƠN
BizFly Cloud Engineer
Contents
2
I. OVN Overview
II. Introduce netwoking-ovn in OpenStack
III. OpenStack-OVN deployment model
IV. Compare performance of ML2/OVN with ML2/OVS
V. Advantages and disadvantages of networking-ovn
I. OVN Overview
• OVN (Open Virtual Network) is a subproject
in Open vSwitch. In addition to the existing features
of Open vSwitch, OVN supports additional
features such as virtual L2, L3 overlay and security
groups.
• OVN is written by C language.
3
4
OVN Overview - Features
• Some high-level features of OVN include:
1. Provides virtual networking abstraction for OVS
2. Supports flexible ACLs (security policies) implemented
using flows
3. Native support for distributed L3 routing using OVS
flows
4. Supports L3 gateways from logical to physical
networks
5. ARP and IPv6 Neighbor Discovery suppression for
known IP-MAC bindings
6. Native support for NAT and load balancing
7. Native fully distributed support for DHCP
5
OVN Overview – Architecture
• OVN includes 3 basic components:
1. OVN Central: OVN-Northd + OVN
Northbound DB and OVN Soundbound
DB
2. OVN Controller: connect to south db and
config "Integration Bridge br-int"
3. ovs-vswitchd: Open vSwitch daemon for
bridges
6
OVN Overview - Architecture
7
OVN Overview – Physical Model
8
II. Introduce netwoking-ovn in OpenStack
• The networking-ovn project provides
integration between OpenStack Neutron and
OVN.
• networking-ovn offers features:
1. Layer-2 (switching)
2. Layer-3 (routing)
3. DHCP
4. DPDK
5. Trunk driver
6. VLAN tenant networks (OVN version 2.11 (or
higher).)
9
Workflow networking-ovn
ML2/OVS ML2/OVN
10
QoS in networking-ovn
• Currently, QoS is implemented by TC
command. This solution has many drawbacks
such as:
oOnly supports the bandwidth limitation of egress
directions on the tunnel interface of the Compute
node.
oNot supported VLAN network.
• In the future, Meter is a comfortable solution,
which is implemented in OpenFlow as an
action, so it is flexible and exact.
oBy meter action, we can implement QoS from both
directions, also, we can support DSCP.
Several differences between ML2/OVN
and ML2/OVS
• DHCP service:
• ML2/OVS use DHCP agent.
• ML2/OVN use the DHCP allocation mechanism of
OVN
• L2 population and ARP Responder
• ML2/OVS:
• L2 population is implemented at table 20 of OVS br-tun.
• ARP Responder is implemented at table 21 of OVS br-
tun.
• ML2/OVN:
• L2 population is implemented at table 24 and 32 of br-int.
• ARP Responder is implemented at table 19 of br-int.
11
Several differences between
ML2/OVN and ML2/OVS
• Metadata service:
• ML2/OVS uses metadata services to listen on dhcp
namespace or router namespace.
• ML2/OVN use metadata namespace on each
Compute node.
12
Several differences
between ML2/OVN and ML2/OVS
• ML2/OVS supports VXLAN/GRE/GENEVE
protocol for tenant networks.
• ML2/OVN supports GENEVE protocol for
tenant network.
• The cost for overlay of GENEVE in ML2/OVN is 58
bytes.
• The segmentation_id field of the network
ML2/OVN does not correspond to the actual
GENEVE VNI of the tenant network. Because
GENEVE VNI of the tenant network is managed by
OVN.
13
III. OpenStack-OVN deployment model
• Deployment model includes:
• 1 Controller node
• 3 Database nodes (OVN Central)
• 3 node Network nodes
• 2 Compute nodes
14
Routing - Non distributed FIP
15
Routing - Distributed Floating IP
16
HA for router
• HA for router uses Bidirectional Forwarding
Detection (BFD) protocol.
17
High Availability for OVN Central
• OVN Central has 3 models:
1. standalone
2. active-backup
3. clustered
18
HA for OVN Central : active-backup model
• Support from OVS version 2.6.
• We can use pacemaker tool to manage this.
19
HA for OVN Central : clustered model
• Support from OVS version 2.9.
• Clustered running on 3 servers or 5 servers or
more. Servers in the cluster automatically
synchronize the database modifications in the
cluster.
20
HA for OVN Central : clustered model
21
HA for OVN Central : clustered model
• When all nodes of the cluster are failed, we
can regenerate OVN DB by using the
command Controller node:
neutron-ovn-db-sync-util --config-file
/etc/neutron/neutron.conf --config-file
/etc/neutron/plugins/ml2/ml2_conf.ini --
ovn-neutron_sync_mode repair
22
IV. Compare performance of
ML2/OVN with ML2/OVS
• In this lab, we compare the bandwidth
performance between ML2/OVS and
ML2/OVN in two cases:
1. Virtual machines is attached to a private network
2. Virtual machines is attached to a provider
network
23
Virtual machines is attached to a
private network
• Looking at the chart, we see that the bandwidth
of traffic between virtual machines and the
public network when using ML2/OVN is better.
24
Virtual machines is attached to a
provider network
• The bandwidth performance, in this case, is the
same.
25
V. Advantages and disadvantages of
networking-ovn
• Advantages:
• Native support for NAT
• Native support for distributed L3 routing using OVS
flows, with support for both IPv4 and IPv6
• Native distributed implementation for DHCP.
• Native support L2 population and ARP Responder
• Native support for load balancing
• Support DPDK, SR-IOV
26
V. Advantages and disadvantages of
networking-ovn
• Disadvantages:
• No support FWaaS, VPNaaS.
• QoS feature has many drawbacks.
27
Reference
• https://docs.openstack.org/networking-
ovn/train/
• https://next.redhat.com/2017/08/15/understandi
ng-the-open-virtual-network/
• https://docs.openstack.org/releasenotes/networ
king-ovn/
28
2
9

More Related Content

What's hot (20)

PDF
Neutron packet logging framework
Vietnam Open Infrastructure User Group
 
PDF
[OpenInfra Days Korea 2018] (Track 2) Neutron LBaaS 어디까지 왔니? - Octavia 소개
OpenStack Korea Community
 
PDF
OpenStack Architecture
Mirantis
 
PDF
LinuxCon 2015 Linux Kernel Networking Walkthrough
Thomas Graf
 
PDF
Linux Networking Explained
Thomas Graf
 
PPTX
Building Multi-Site and Multi-OpenStack Cloud with OpenStack Cascading
Joe Huang
 
PDF
[2018] 오픈스택 5년 운영의 경험
NHN FORWARD
 
PDF
Deploying IPv6 on OpenStack
Vietnam Open Infrastructure User Group
 
PDF
Isn't it ironic - managing a bare metal cloud (OSL TES 2015)
Devananda Van Der Veen
 
PDF
Keystone at openstack multi sites
Vietnam Open Infrastructure User Group
 
PDF
Understanding Open vSwitch
YongKi Kim
 
PPTX
OpenStack Quantum Intro (OS Meetup 3-26-12)
Dan Wendlandt
 
PPTX
[234] toast cloud open stack sdn 전략-박성우
NAVER D2
 
PDF
DevConf 2014 Kernel Networking Walkthrough
Thomas Graf
 
PPTX
Issues of OpenStack multi-region mode
Joe Huang
 
PDF
[오픈소스컨설팅] Open Stack Ceph, Neutron, HA, Multi-Region
Ji-Woong Choi
 
PDF
Receive side scaling (RSS) with eBPF in QEMU and virtio-net
Yan Vugenfirer
 
PDF
KubeVirt 101
VirtualTech Japan Inc.
 
PDF
Open vSwitch Introduction
HungWei Chiu
 
PDF
Kubernetes 101 - an Introduction to Containers, Kubernetes, and OpenShift
DevOps.com
 
Neutron packet logging framework
Vietnam Open Infrastructure User Group
 
[OpenInfra Days Korea 2018] (Track 2) Neutron LBaaS 어디까지 왔니? - Octavia 소개
OpenStack Korea Community
 
OpenStack Architecture
Mirantis
 
LinuxCon 2015 Linux Kernel Networking Walkthrough
Thomas Graf
 
Linux Networking Explained
Thomas Graf
 
Building Multi-Site and Multi-OpenStack Cloud with OpenStack Cascading
Joe Huang
 
[2018] 오픈스택 5년 운영의 경험
NHN FORWARD
 
Deploying IPv6 on OpenStack
Vietnam Open Infrastructure User Group
 
Isn't it ironic - managing a bare metal cloud (OSL TES 2015)
Devananda Van Der Veen
 
Keystone at openstack multi sites
Vietnam Open Infrastructure User Group
 
Understanding Open vSwitch
YongKi Kim
 
OpenStack Quantum Intro (OS Meetup 3-26-12)
Dan Wendlandt
 
[234] toast cloud open stack sdn 전략-박성우
NAVER D2
 
DevConf 2014 Kernel Networking Walkthrough
Thomas Graf
 
Issues of OpenStack multi-region mode
Joe Huang
 
[오픈소스컨설팅] Open Stack Ceph, Neutron, HA, Multi-Region
Ji-Woong Choi
 
Receive side scaling (RSS) with eBPF in QEMU and virtio-net
Yan Vugenfirer
 
Open vSwitch Introduction
HungWei Chiu
 
Kubernetes 101 - an Introduction to Containers, Kubernetes, and OpenShift
DevOps.com
 

Similar to Meetup 23 - 02 - OVN - The future of networking in OpenStack (20)

PDF
LF_OVS_17_State of the OVN
LF_OpenvSwitch
 
PDF
Ovn vancouver
Mason Mei
 
PPTX
Week_3.pptxmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm
NavumGupta1
 
PDF
ONUG Tutorial: Bridges and Tunnels Drive Through OpenStack Networking
markmcclain
 
PDF
Open stack networking_101_update_2014
yfauser
 
PPTX
Neutron DVR
Edgar Magana
 
PDF
Open stack networking_101_part-2_tech_deep_dive
yfauser
 
PDF
Network Virtualization & Software-defined Networking
Digicomp Academy AG
 
PDF
SDN & NFV Introduction - Open Source Data Center Networking
Thomas Graf
 
PDF
Bridges and Tunnels: A Drive Through OpenStack Networking
markmcclain
 
PDF
neutron_icehouse_update
Akihiro Motoki
 
PDF
The Open vSwitch and OVN Projects
LinuxCon ContainerCon CloudOpen China
 
PDF
CloudKC: Evolution of Network Virtualization
Cynthia Thomas
 
PPTX
Midokura OpenStack Meetup Taipei
Dan Mihai Dumitriu
 
PDF
OVN: Scaleable Virtual Networking for Open vSwitch
mestery
 
PDF
[OpenStack Day in Korea 2015] Track 3-6 - Archiectural Overview of the Open S...
OpenStack Korea Community
 
PDF
What's the deal with Neutron?
Cynthia Thomas
 
PPTX
Networking in Openstack - Neutron 101
Mochamad Taufik Romdony
 
PDF
Midokura @ OpenStack Seattle
Cynthia Thomas
 
PDF
From Nova-Network to Neutron and Beyond: A Look at OpenStack Networking
Cynthia Thomas
 
LF_OVS_17_State of the OVN
LF_OpenvSwitch
 
Ovn vancouver
Mason Mei
 
Week_3.pptxmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm
NavumGupta1
 
ONUG Tutorial: Bridges and Tunnels Drive Through OpenStack Networking
markmcclain
 
Open stack networking_101_update_2014
yfauser
 
Neutron DVR
Edgar Magana
 
Open stack networking_101_part-2_tech_deep_dive
yfauser
 
Network Virtualization & Software-defined Networking
Digicomp Academy AG
 
SDN & NFV Introduction - Open Source Data Center Networking
Thomas Graf
 
Bridges and Tunnels: A Drive Through OpenStack Networking
markmcclain
 
neutron_icehouse_update
Akihiro Motoki
 
The Open vSwitch and OVN Projects
LinuxCon ContainerCon CloudOpen China
 
CloudKC: Evolution of Network Virtualization
Cynthia Thomas
 
Midokura OpenStack Meetup Taipei
Dan Mihai Dumitriu
 
OVN: Scaleable Virtual Networking for Open vSwitch
mestery
 
[OpenStack Day in Korea 2015] Track 3-6 - Archiectural Overview of the Open S...
OpenStack Korea Community
 
What's the deal with Neutron?
Cynthia Thomas
 
Networking in Openstack - Neutron 101
Mochamad Taufik Romdony
 
Midokura @ OpenStack Seattle
Cynthia Thomas
 
From Nova-Network to Neutron and Beyond: A Look at OpenStack Networking
Cynthia Thomas
 
Ad

More from Vietnam Open Infrastructure User Group (20)

PDF
Room 3 - 5 - Nguyễn Văn Hoàn - 101 Bugs, issues when I work with Ceph
Vietnam Open Infrastructure User Group
 
PDF
Room 2 - 3 - Nguyễn Hoài Nam & Nguyễn Việt Hùng - Terraform & Pulumi Comparin...
Vietnam Open Infrastructure User Group
 
PDF
Room 3 - 6 - Nguyễn Văn Thắng & Dzung Nguyen - Ứng dụng openzfs làm lưu trữ t...
Vietnam Open Infrastructure User Group
 
PDF
Room 3 - 4 - Lê Quang Hiếu - How to be a cool dad: Leverage DIY Home Automati...
Vietnam Open Infrastructure User Group
 
PDF
Room 3 - 2 - Trần Tuấn Anh - Defending Software Supply Chain Security in Bank...
Vietnam Open Infrastructure User Group
 
PPTX
Room 3 - 7 - Nguyễn Như Phúc Huy - Vitastor: a fast and simple Ceph-like bloc...
Vietnam Open Infrastructure User Group
 
PDF
Room 3 - 1 - Nguyễn Xuân Trường Lâm - Zero touch on-premise storage infrastru...
Vietnam Open Infrastructure User Group
 
PPTX
Room 2 - 2 - Giang Thiên Phú - Kinh nghiệm tối ưu mongodb với database hơn 10...
Vietnam Open Infrastructure User Group
 
PDF
Room 2 - 6 - Đinh Tuấn Phong - Migrate opensource database to Kubernetes easi...
Vietnam Open Infrastructure User Group
 
PPTX
Room 2 - 4 - Juncheng Anthony Lin - Redhat - A Practical Approach to Traditio...
Vietnam Open Infrastructure User Group
 
PDF
Room 2 - 7 - Lã Mạnh Hà - Agile + DevOps = A great combination
Vietnam Open Infrastructure User Group
 
PPTX
Room 2 - 1 - Phạm Quang Minh - A real DevOps culture in practice
Vietnam Open Infrastructure User Group
 
PDF
Room 2 - 5 - Seong Soo - NHN Cloud - Upstream contribution mentoring program ...
Vietnam Open Infrastructure User Group
 
PDF
Room 1 - 2 - Nguyễn Văn Thắng & Dzung Nguyen - Proxmox VE và ZFS over iscsi
Vietnam Open Infrastructure User Group
 
PPTX
Room 1 - 6 - Trần Quốc Sang - Autoscaling for multi cloud platform based on S...
Vietnam Open Infrastructure User Group
 
PPTX
Room 1 - 3 - Lê Anh Tuấn - Build a High Performance Identification at GHTK wi...
Vietnam Open Infrastructure User Group
 
PPTX
Room 1 - 7 - Lê Quốc Đạt - Upgrading network of Openstack to SDN with Tungste...
Vietnam Open Infrastructure User Group
 
PDF
Room 1 - 5 - Thủy Đặng - Load balancing k8s services on baremetal with Cilium...
Vietnam Open Infrastructure User Group
 
PDF
Room 1 - 4 - Phạm Tường Chiến & Trần Văn Thắng - Deliver managed Kubernetes C...
Vietnam Open Infrastructure User Group
 
PDF
Room 1 - 1 - Benoit TELLIER - On premise email inbound service with Apache James
Vietnam Open Infrastructure User Group
 
Room 3 - 5 - Nguyễn Văn Hoàn - 101 Bugs, issues when I work with Ceph
Vietnam Open Infrastructure User Group
 
Room 2 - 3 - Nguyễn Hoài Nam & Nguyễn Việt Hùng - Terraform & Pulumi Comparin...
Vietnam Open Infrastructure User Group
 
Room 3 - 6 - Nguyễn Văn Thắng & Dzung Nguyen - Ứng dụng openzfs làm lưu trữ t...
Vietnam Open Infrastructure User Group
 
Room 3 - 4 - Lê Quang Hiếu - How to be a cool dad: Leverage DIY Home Automati...
Vietnam Open Infrastructure User Group
 
Room 3 - 2 - Trần Tuấn Anh - Defending Software Supply Chain Security in Bank...
Vietnam Open Infrastructure User Group
 
Room 3 - 7 - Nguyễn Như Phúc Huy - Vitastor: a fast and simple Ceph-like bloc...
Vietnam Open Infrastructure User Group
 
Room 3 - 1 - Nguyễn Xuân Trường Lâm - Zero touch on-premise storage infrastru...
Vietnam Open Infrastructure User Group
 
Room 2 - 2 - Giang Thiên Phú - Kinh nghiệm tối ưu mongodb với database hơn 10...
Vietnam Open Infrastructure User Group
 
Room 2 - 6 - Đinh Tuấn Phong - Migrate opensource database to Kubernetes easi...
Vietnam Open Infrastructure User Group
 
Room 2 - 4 - Juncheng Anthony Lin - Redhat - A Practical Approach to Traditio...
Vietnam Open Infrastructure User Group
 
Room 2 - 7 - Lã Mạnh Hà - Agile + DevOps = A great combination
Vietnam Open Infrastructure User Group
 
Room 2 - 1 - Phạm Quang Minh - A real DevOps culture in practice
Vietnam Open Infrastructure User Group
 
Room 2 - 5 - Seong Soo - NHN Cloud - Upstream contribution mentoring program ...
Vietnam Open Infrastructure User Group
 
Room 1 - 2 - Nguyễn Văn Thắng & Dzung Nguyen - Proxmox VE và ZFS over iscsi
Vietnam Open Infrastructure User Group
 
Room 1 - 6 - Trần Quốc Sang - Autoscaling for multi cloud platform based on S...
Vietnam Open Infrastructure User Group
 
Room 1 - 3 - Lê Anh Tuấn - Build a High Performance Identification at GHTK wi...
Vietnam Open Infrastructure User Group
 
Room 1 - 7 - Lê Quốc Đạt - Upgrading network of Openstack to SDN with Tungste...
Vietnam Open Infrastructure User Group
 
Room 1 - 5 - Thủy Đặng - Load balancing k8s services on baremetal with Cilium...
Vietnam Open Infrastructure User Group
 
Room 1 - 4 - Phạm Tường Chiến & Trần Văn Thắng - Deliver managed Kubernetes C...
Vietnam Open Infrastructure User Group
 
Room 1 - 1 - Benoit TELLIER - On premise email inbound service with Apache James
Vietnam Open Infrastructure User Group
 
Ad

Recently uploaded (20)

PPTX
Home Care Tools: Benefits, features and more
Third Rock Techkno
 
PDF
The 5 Reasons for IT Maintenance - Arna Softech
Arna Softech
 
PPTX
In From the Cold: Open Source as Part of Mainstream Software Asset Management
Shane Coughlan
 
PPTX
Empowering Asian Contributions: The Rise of Regional User Groups in Open Sour...
Shane Coughlan
 
PDF
SciPy 2025 - Packaging a Scientific Python Project
Henry Schreiner
 
PPTX
AEM User Group: India Chapter Kickoff Meeting
jennaf3
 
PPTX
Customise Your Correlation Table in IBM SPSS Statistics.pptx
Version 1 Analytics
 
PDF
MiniTool Partition Wizard Free Crack + Full Free Download 2025
bashirkhan333g
 
PDF
Automate Cybersecurity Tasks with Python
VICTOR MAESTRE RAMIREZ
 
PPTX
Coefficient of Variance in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
PDF
SAP Firmaya İade ABAB Kodları - ABAB ile yazılmıl hazır kod örneği
Salih Küçük
 
PPTX
Tally software_Introduction_Presentation
AditiBansal54083
 
PPTX
Change Common Properties in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
PDF
Generic or Specific? Making sensible software design decisions
Bert Jan Schrijver
 
PPTX
Agentic Automation: Build & Deploy Your First UiPath Agent
klpathrudu
 
PDF
유니티에서 Burst Compiler+ThreadedJobs+SIMD 적용사례
Seongdae Kim
 
PPTX
Homogeneity of Variance Test Options IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
PDF
TheFutureIsDynamic-BoxLang witch Luis Majano.pdf
Ortus Solutions, Corp
 
PDF
vMix Pro 28.0.0.42 Download vMix Registration key Bundle
kulindacore
 
PDF
Wondershare PDFelement Pro Crack for MacOS New Version Latest 2025
bashirkhan333g
 
Home Care Tools: Benefits, features and more
Third Rock Techkno
 
The 5 Reasons for IT Maintenance - Arna Softech
Arna Softech
 
In From the Cold: Open Source as Part of Mainstream Software Asset Management
Shane Coughlan
 
Empowering Asian Contributions: The Rise of Regional User Groups in Open Sour...
Shane Coughlan
 
SciPy 2025 - Packaging a Scientific Python Project
Henry Schreiner
 
AEM User Group: India Chapter Kickoff Meeting
jennaf3
 
Customise Your Correlation Table in IBM SPSS Statistics.pptx
Version 1 Analytics
 
MiniTool Partition Wizard Free Crack + Full Free Download 2025
bashirkhan333g
 
Automate Cybersecurity Tasks with Python
VICTOR MAESTRE RAMIREZ
 
Coefficient of Variance in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
SAP Firmaya İade ABAB Kodları - ABAB ile yazılmıl hazır kod örneği
Salih Küçük
 
Tally software_Introduction_Presentation
AditiBansal54083
 
Change Common Properties in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
Generic or Specific? Making sensible software design decisions
Bert Jan Schrijver
 
Agentic Automation: Build & Deploy Your First UiPath Agent
klpathrudu
 
유니티에서 Burst Compiler+ThreadedJobs+SIMD 적용사례
Seongdae Kim
 
Homogeneity of Variance Test Options IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
TheFutureIsDynamic-BoxLang witch Luis Majano.pdf
Ortus Solutions, Corp
 
vMix Pro 28.0.0.42 Download vMix Registration key Bundle
kulindacore
 
Wondershare PDFelement Pro Crack for MacOS New Version Latest 2025
bashirkhan333g
 

Meetup 23 - 02 - OVN - The future of networking in OpenStack

  • 1. OVN - The future of networking in OpenStack 1 Ha Noi, 01/2020 ĐỖ XUÂN SƠN BizFly Cloud Engineer
  • 2. Contents 2 I. OVN Overview II. Introduce netwoking-ovn in OpenStack III. OpenStack-OVN deployment model IV. Compare performance of ML2/OVN with ML2/OVS V. Advantages and disadvantages of networking-ovn
  • 3. I. OVN Overview • OVN (Open Virtual Network) is a subproject in Open vSwitch. In addition to the existing features of Open vSwitch, OVN supports additional features such as virtual L2, L3 overlay and security groups. • OVN is written by C language. 3
  • 4. 4 OVN Overview - Features • Some high-level features of OVN include: 1. Provides virtual networking abstraction for OVS 2. Supports flexible ACLs (security policies) implemented using flows 3. Native support for distributed L3 routing using OVS flows 4. Supports L3 gateways from logical to physical networks 5. ARP and IPv6 Neighbor Discovery suppression for known IP-MAC bindings 6. Native support for NAT and load balancing 7. Native fully distributed support for DHCP
  • 5. 5 OVN Overview – Architecture • OVN includes 3 basic components: 1. OVN Central: OVN-Northd + OVN Northbound DB and OVN Soundbound DB 2. OVN Controller: connect to south db and config "Integration Bridge br-int" 3. ovs-vswitchd: Open vSwitch daemon for bridges
  • 6. 6 OVN Overview - Architecture
  • 7. 7 OVN Overview – Physical Model
  • 8. 8 II. Introduce netwoking-ovn in OpenStack • The networking-ovn project provides integration between OpenStack Neutron and OVN. • networking-ovn offers features: 1. Layer-2 (switching) 2. Layer-3 (routing) 3. DHCP 4. DPDK 5. Trunk driver 6. VLAN tenant networks (OVN version 2.11 (or higher).)
  • 10. 10 QoS in networking-ovn • Currently, QoS is implemented by TC command. This solution has many drawbacks such as: oOnly supports the bandwidth limitation of egress directions on the tunnel interface of the Compute node. oNot supported VLAN network. • In the future, Meter is a comfortable solution, which is implemented in OpenFlow as an action, so it is flexible and exact. oBy meter action, we can implement QoS from both directions, also, we can support DSCP.
  • 11. Several differences between ML2/OVN and ML2/OVS • DHCP service: • ML2/OVS use DHCP agent. • ML2/OVN use the DHCP allocation mechanism of OVN • L2 population and ARP Responder • ML2/OVS: • L2 population is implemented at table 20 of OVS br-tun. • ARP Responder is implemented at table 21 of OVS br- tun. • ML2/OVN: • L2 population is implemented at table 24 and 32 of br-int. • ARP Responder is implemented at table 19 of br-int. 11
  • 12. Several differences between ML2/OVN and ML2/OVS • Metadata service: • ML2/OVS uses metadata services to listen on dhcp namespace or router namespace. • ML2/OVN use metadata namespace on each Compute node. 12
  • 13. Several differences between ML2/OVN and ML2/OVS • ML2/OVS supports VXLAN/GRE/GENEVE protocol for tenant networks. • ML2/OVN supports GENEVE protocol for tenant network. • The cost for overlay of GENEVE in ML2/OVN is 58 bytes. • The segmentation_id field of the network ML2/OVN does not correspond to the actual GENEVE VNI of the tenant network. Because GENEVE VNI of the tenant network is managed by OVN. 13
  • 14. III. OpenStack-OVN deployment model • Deployment model includes: • 1 Controller node • 3 Database nodes (OVN Central) • 3 node Network nodes • 2 Compute nodes 14
  • 15. Routing - Non distributed FIP 15
  • 16. Routing - Distributed Floating IP 16
  • 17. HA for router • HA for router uses Bidirectional Forwarding Detection (BFD) protocol. 17
  • 18. High Availability for OVN Central • OVN Central has 3 models: 1. standalone 2. active-backup 3. clustered 18
  • 19. HA for OVN Central : active-backup model • Support from OVS version 2.6. • We can use pacemaker tool to manage this. 19
  • 20. HA for OVN Central : clustered model • Support from OVS version 2.9. • Clustered running on 3 servers or 5 servers or more. Servers in the cluster automatically synchronize the database modifications in the cluster. 20
  • 21. HA for OVN Central : clustered model 21
  • 22. HA for OVN Central : clustered model • When all nodes of the cluster are failed, we can regenerate OVN DB by using the command Controller node: neutron-ovn-db-sync-util --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugins/ml2/ml2_conf.ini -- ovn-neutron_sync_mode repair 22
  • 23. IV. Compare performance of ML2/OVN with ML2/OVS • In this lab, we compare the bandwidth performance between ML2/OVS and ML2/OVN in two cases: 1. Virtual machines is attached to a private network 2. Virtual machines is attached to a provider network 23
  • 24. Virtual machines is attached to a private network • Looking at the chart, we see that the bandwidth of traffic between virtual machines and the public network when using ML2/OVN is better. 24
  • 25. Virtual machines is attached to a provider network • The bandwidth performance, in this case, is the same. 25
  • 26. V. Advantages and disadvantages of networking-ovn • Advantages: • Native support for NAT • Native support for distributed L3 routing using OVS flows, with support for both IPv4 and IPv6 • Native distributed implementation for DHCP. • Native support L2 population and ARP Responder • Native support for load balancing • Support DPDK, SR-IOV 26
  • 27. V. Advantages and disadvantages of networking-ovn • Disadvantages: • No support FWaaS, VPNaaS. • QoS feature has many drawbacks. 27
  • 29. 2 9