70 likes | 280 Views
Neutron Modular Layer 2 (ML2) Overview. Kyle Mestery Principal Engineer, Office of the Cloud CTO, Cisco. What is Ml2?. Original Goal:
E N D
Neutron Modular Layer 2 (ML2)Overview Kyle Mestery Principal Engineer, Office of the Cloud CTO, Cisco
What is Ml2? • Original Goal: • The Modular Layer 2 (ML2) Plugin is a framework allowing OpenStack Networking to simultaneously utilize the variety of layer 2 networking technologies found in complex real-world datacenters. • ML2 was designed to ease the burden of adding new L2 networking technologies into OpenStack Networking. • ML2 will deprecate the Open vSwitch, LinuxBridge, and Hyper-V monolithic Neutron Plugins • It works with each of their existing L2 agents simultaneously
ML2 “Drivers” • ML2 exposes two different types of drivers: “Type” and “Mechanism” • ML2 TypeDrivers: • Maintain type-specific state • Provide tenant network allocation • Validate provider networks • Current TypeDrivers: • local, flat, VLAN, GRE, and VXLAN • ML2 MechanismDrivers: • Responsible for taking information supplied by TypeDrivers and ensuring it is properly applied given the specific networking mechanisms which have been enabled • Current MechanismDrivers: • Arista, Cisco Nexus, Hyper-V, L2 Population, LinuxBridge, Open vSwitch, Tail-F NCS
ML2 TypeDrivers • Maintain type-specific state • Provide tenant network allocation • Validate provider networks • Current TypeDrivers: • local, flat, VLAN, GRE, and VXLAN
ML2 MechanismDrivers • Responsible for taking information supplied by TypeDrivers and ensuring it is properly applied given the specific networking mechanisms which have been enabled • Current MechanismDrivers: • Arista, Cisco Nexus, Hyper-V, L2 Population, LinuxBridge, Open vSwitch, Tail-F NCS • MechanismDrivers can work with many different technologies: • Agent based MechanismDrivers(Hyper-V, LinuxBridge, and OVS) • Controller based MechanismDrivers (Tail-F NCS and OpenDaylight) • ToR switch MechanismDrivers (Arista and Cisco Nexus)
Modular Layer 2 Diagram Neutron Server ML2 Plugin API Extensions Type Manager Mechanism Manager Arista Cisco Nexus L2 Population OVS/LinuxBridge VLAN TypeDriver GRE TypeDriver VXLAN TypeDriver Tail-F NCS Hyper-V