O'Reilly logo

Mastering OpenStack - Second Edition by Chandan Dutta Chowdhury, Omar Khedher

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Understanding OpenVSwitch-based connectivity

The OVS plugin provides more advanced networking features and implements VLAN and tunneling. Let's parse briefly how a compute and network node deployed with OVS implements virtual networks.

The OVS uses multiple interconnected switches to perform Layer-2 isolation. The OVS uses three bridges to connect the virtual machines to the physical network. We will start our discussion by first looking at VXLAN-based networks.

To configure the ML2 plugin to use VXLAN-based networks, update the ML2 configuration file /etc/neutron/plugins/ml2/ml2_conf.ini as follows:

[ml2] tenant_network_types = vxlan type_drivers = ..,vxlan mechanism_drivers = openvswitch [ml2_type_vxlan] vni_ranges = 1001:2000 [agent] ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required