OVN: Open Virtual Network For Open VSwitch

3y ago
74 Views
8 Downloads
1.70 MB
33 Pages
Last View : 12d ago
Last Download : 3m ago
Upload by : Kian Swinton
Transcription

OVN:Open Virtual Networkfor Open vSwitchRussell Bryant (@russellbryant)Kyle Mestery (@mestery)Justin Pettit (@Justin D Pettit)

Virtual Networking OverviewProvides a logical network abstraction on top of a VM3L-SwitchVM4VM5Logical2

What is OVN? Open source virtual networking for Open vSwitch (OVS) Provides L2/L3 virtual networking–––––Logical switches and routersSecurity groupsL2/L3/L4 ACLsMultiple tunnel overlays (Geneve, STT, and VXLAN)TOR-based and software-based logical-physical gateways Work on same platforms as OVS––––Linux (KVM and Xen)ContainersDPDKHyper-V Integration with OpenStack and other CMSs

The Particulars Developed by the same community as Open vSwitch Vendor-neutral Architecture and implementation have all occurred on publicmailing lists Developed under the Apache license4

Goals Production-quality Straight-forward design Scale to thousands of hypervisors (each with many VMs andcontainers) Improved performance and stability over existing plugin5

Why OVN is different Will not require any additional agents for functionality forsimplified deployment and debugging Security groups using new in-kernel conntrack integration– More secure and faster than other methods– “Taking Security Groups to Ludicrous Speed with Open vSwitch” at 9:50 onThursday DPDK-based and hardware-accelerated gateways– Leverages new OVS DPDK port– Works with switches from Arista, Brocade, Cumulus, Dell, HP, Juniper, andLenovo6

Why OVN is Importantto OpenStack

Why OVN is Important to OpenStack Neutron’s default backend is a custom virtualnetworking control plane Long term, we feel Neutron is best servedletting a separate project implement thevirtual network control plane

Why OVN is Important to OpenStack Migration from OVS backend to OVN is verynatural for Neutron Just taking advantage of increasingfunctionality in OVS, which is already in use

OpenStack Neutron Platform Neutron evolving to be a platform First step: Plugin decomposition Second step: Bringing the plugin and driverbackends under the Neutron tent Third step: Open Source backends mature OVN fits into this Neutron Platform model

Neutron Integration with OVN ML2 driver for OVN replaces OVS ML2 driver and Neutron’s OVS agent Uses Neutron L3 and DHCP agents, but justuntil OVN support is ready

Designed to Scale Configuration coordinated through databases Local controller converts logical flow state into physical flowstate Desired state clearly separated from run-time state Grouping techniques reduce Cartesian Product issues12

OVN Architectureovn-controllerovsdbserverOpenStack/CMS PluginNorthboundDBovsvswitchdHV-1ovn-northd Southbound DBovn-controllerovsdbserverovsvswitchdHV-n13

The OVN Databases ovn-northbound– OpenStack/CMS integration point– High-level, desired state Logical ports - logical switches - logical routers ovn-southbound– Run-time state Location of logical ports Location of physical endpoints Logical pipeline generated based on configured and run-time state14

The Daemons ovn-northd– Converts from the high-level northbound DB to the run-timesouthbound DB– Generates logical flows based on high-level configuration ovn-controller– Registers chassis and VIFs to southbound DB– Converts logical flows into physical flows (ie, VIF UUIDs to OpenFlowports)– Pushes physical configuration to local OVS instance through OVSDB andOpenFlow15

An ExampleChassis (ovn-controller)Logical 0.10HV2Geneve10.0.0.11Bindings (ovn-controller)Logical PortNameMACLP1AALP2BBNameChassisLP1HV1Pipeline (ovn-northd)DatapathMatchActionLS1eth.dst AALP1LS1eth.dst BBLP2LS1eth.dst broadcast LP1,LP216

LP2 Arrives on HV2Chassis (ovn-controller)Logical 0.10HV2Geneve10.0.0.11Bindings (ovn-controller)Logical ne (ovn-northd)DatapathMatchActionLS1eth.dst AALP1LS1eth.dst BBLP2LS1eth.dst broadcast LP1,LP217

Resources Architecture described in detail in ovn-architecture (5) Configuration is through a number of databases– OVN Northbound – Interface between CMS and OVN (ovn-nb (5))– OVN Southbound – Holds the configuration and state of the logicaland physical components (ovn-sb (5)) Available in the “ovn” branch of the main OVS repo:– https://github.com/openvswitch/ovs/tree/ovn18

Status – The EZ Bake Milestone From start of coding to first ping: 6 weeksNeeds more testing, obviouslyHaven’t tried any scale testingFeatures listed on first page should be ready by end of the yearExpect rapid progress!19

Neutron with built-in solutionL3L3agentagentOVS agentneutron-serverL3L3agentagentL3 agentDBrabbitmqL3L3agentagentDHCP agentAdv. Services

Neutron with OVN (so rollerneutron-serverovsdb-serverL3L3agentagentL3 agentDBrabbitmqL3L3agentagentDHCP agentAdv. Services

Neutron with OVN (later this trollerneutron-serverDBovsdb-serverrabbitmqAdv. Services

Trying out OVN

Test #1 - ovs-sandbox git clone http://github.com/openvswitch/ovs.gitcd ovsgit checkout -b ovn origin/ovn./boot.sh && ./configure && makemake sandbox SANDBOXFLAGS ”--ovn”

Test #1 - ovs-sandbox ovn-nbctl lswitch-add sw0ovn-nbctl lport-add sw0 sw0-port1ovn-nbctl lport-add sw0 sw0-port2ovn-nbctl lport-set-macs sw0-port1 00:00:00:00:00:01ovn-nbctl lport-set-macs sw0-port2 00:00:00:00:00:02ovs-vsctl add-port br-int lport1 -- \set Interface lport1 external ids:iface-id sw0-port1 ovs-vsctl add-port br-int lport2 -- \set Interface lport2 external ids:iface-id sw0-port2

Test #1 - ovs-sandbox# Trace OpenFlow flows for a packet from port 1 to 2 ovs-appctl ofproto/trace br-int \in port 1,dl src 00:00:00:00:00:01,\dl dst 00:00:00:00:00:02 -generate

Test #2 - Multi-node DevStack git clone http://git.openstack.org/openstackdev/devstack.git git clone .git cd devstack Get local.conf from networking-ovn/devstack/ local.conf.sample or computenode-local.conf.sample ./stack.sh

More cool stuff that works Can be used to create overlay networks forcontainers across many hosts If OVN backs Neutron, containers in VMscan be hooked up to virtual networksmanaged by Neutron

What’s Next for Core OVN Security groups using in-kernel conntrack ovn-controller that translates to “vtep” schema to enablephysical gateways OVS-DPDK gateway that uses “vtep” schema L3 routing and native IP management New test framework that allows local build-time testing withtunnels and arbitrary topologies Merge “ovn” into OVS master branch29

OVN Neutron Integration Future L3 service pluginsecurity groupsget tempest CI job passingcreate multi-node CI job

Longer Term DPDK datapath– Move beyond the capabilities of the “vtep” schema to support failover, scale-out, and more stateful services– Will become a reference for building OVS DPDK applications Architecture will allow innovation in the logical network space– New approaches to networking and security31

How you can help Try it! Test it! Write Code! Report bugs and try it at scale Core OVN is being developed on ovs-dev mailing list:– http://openvswitch.org/pipermail/dev/– #openvswitch on Freenode Neutron plugin for OVN is being developed here:– .git– openstack-dev mailing list– #openstack-neutron-ovn on Freenode32

Thank you!Russell Bryant (@russellbryant)Kyle Mestery (@mestery)Justin Pettit (@Justin D Pettit)

An Example 16 Name Ports LS1 LP1,LP2 Name MAC LP1 AA LP2 BB Name Encap IP HV1 Geneve 10.0.0.10 HV2 Geneve 10.0.0.11 Name Chassis LP1 HV1 Datapath Match Action

Related Documents:

Bruksanvisning för bilstereo . Bruksanvisning for bilstereo . Instrukcja obsługi samochodowego odtwarzacza stereo . Operating Instructions for Car Stereo . 610-104 . SV . Bruksanvisning i original

10 tips och tricks för att lyckas med ert sap-projekt 20 SAPSANYTT 2/2015 De flesta projektledare känner säkert till Cobb’s paradox. Martin Cobb verkade som CIO för sekretariatet för Treasury Board of Canada 1995 då han ställde frågan

service i Norge och Finland drivs inom ramen för ett enskilt företag (NRK. 1 och Yleisradio), fin ns det i Sverige tre: Ett för tv (Sveriges Television , SVT ), ett för radio (Sveriges Radio , SR ) och ett för utbildnings program (Sveriges Utbildningsradio, UR, vilket till följd av sin begränsade storlek inte återfinns bland de 25 största

Hotell För hotell anges de tre klasserna A/B, C och D. Det betyder att den "normala" standarden C är acceptabel men att motiven för en högre standard är starka. Ljudklass C motsvarar de tidigare normkraven för hotell, ljudklass A/B motsvarar kraven för moderna hotell med hög standard och ljudklass D kan användas vid

LÄS NOGGRANT FÖLJANDE VILLKOR FÖR APPLE DEVELOPER PROGRAM LICENCE . Apple Developer Program License Agreement Syfte Du vill använda Apple-mjukvara (enligt definitionen nedan) för att utveckla en eller flera Applikationer (enligt definitionen nedan) för Apple-märkta produkter. . Applikationer som utvecklas för iOS-produkter, Apple .

COUNTY Archery Season Firearms Season Muzzleloader Season Lands Open Sept. 13 Sept.20 Sept. 27 Oct. 4 Oct. 11 Oct. 18 Oct. 25 Nov. 1 Nov. 8 Nov. 15 Nov. 22 Jan. 3 Jan. 10 Jan. 17 Jan. 24 Nov. 15 (jJr. Hunt) Nov. 29 Dec. 6 Jan. 10 Dec. 20 Dec. 27 ALLEGANY Open Open Open Open Open Open Open Open Open Open Open Open Open Open Open Open Open Open .

och krav. Maskinerna skriver ut upp till fyra tum breda etiketter med direkt termoteknik och termotransferteknik och är lämpliga för en lång rad användningsområden på vertikala marknader. TD-seriens professionella etikettskrivare för . skrivbordet. Brothers nya avancerade 4-tums etikettskrivare för skrivbordet är effektiva och enkla att

STORAGE TANK DESIGN CALCULATION - API 650 1of14 1 .0 DESIGN CODE & SPECIFICATION DESIGN CODE : APIAPI 650 11th Edition 1 .1 TANK Item numberte u beb : 7061706T-3901390 Roof ( Open/Close ) : Close T f f(C f/D f/Fl t f/NA)Type of roof ( Cone-roof / Dome-roof / Flat-roof / NA )yp ( ) : Fl ti R fFloating Roofg 1 .2 GEOMETRIC DATA Inside diameter , Di ( corroded ) (@ 39,000 mm ) 39,006 mm Nominal .