]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Add support for VXLAN to the Open vSwitch plugin.
authorKyle Mestery <kmestery@cisco.com>
Fri, 17 May 2013 20:04:19 +0000 (15:04 -0500)
committerKyle Mestery <kmestery@cisco.com>
Mon, 10 Jun 2013 12:00:20 +0000 (12:00 +0000)
commita98884efd966fdd69ba88585b7a154ba87d1d061
tree475af93f11679ddd42a3e3f781110d98335fabd9
parent1bfd162fc29b6f498cdc176d90a73580f2ee6085
Add support for VXLAN to the Open vSwitch plugin.

This commit adds support for utilizing the VXLAN tunneling protocol in versions
of Open vSwitch >= 1.10. This is configurable and will default to GRE if not
configured. As part of this commit, it is possible to configure the UDP port
VXLAN will utilize as well. VXLAN and GRE cannot be configured at the same
time with this patch. 2 new configuration file options are added to the AGENT
section of the config to support this: 'tunnel_type' and 'vxlan_udp_port'.
In addition, the agent no longer makes use of enable_tunneling, as this can
be determined if tunnel_type is set.

Note: The VXLAN functionality utilized here is what is implemented in Open
vSwitch itself, and is different than the VXLAN functionality in the
upstream Linux kernel. The code validates both the userspace and kernel
pieces of OVS to verify if VXLAN functionality can be supported on the
running system

Implements blueprint ovs-vxlan-lisp-tunnel

Change-Id: I45d49d5d6463e574922c7f50d6499c6bdb6c862c
etc/quantum/plugins/openvswitch/ovs_quantum_plugin.ini
quantum/agent/linux/ovs_lib.py
quantum/plugins/openvswitch/agent/ovs_quantum_agent.py
quantum/plugins/openvswitch/common/config.py
quantum/plugins/openvswitch/common/constants.py
quantum/plugins/openvswitch/ovs_quantum_plugin.py
quantum/tests/unit/openvswitch/test_ovs_quantum_agent.py
quantum/tests/unit/openvswitch/test_ovs_tunnel.py