neutron-vpnaas/etc/quantum/plugins
Bob Kukura 56cac98626 Fix linuxbridge RPC message format
The linuxbridge, openvswitch, and hyperv plugins all use the same
basic RPC interface between their plugins and L2 agents. But the
attributes describing a virtual network passed from the plugin to the
agent over this interface differed for historical reasons. The
openvswitch and hyperv plugins each pass network_type,
physical_network, and segmentation_id attributes, whereas the
linuxbridge plugin previously passed vlan_id and physical_network
attributes, using special vlan_id values to indicate flat or local
network types.

This patch changes the linuxbridge plugin to pass network_type and
segmentation_id attributes instead of the vlan_id attribute, bringing
its message formats into sync with the other plugins. RPC
compatibility is required for blueprint modular-l2 so that the ml2
plugin can work with all three existing types of L2 agent. This RPC
message format change is also required for blueprint
vxlan-linuxbridge.

Unlike the vxlan-linuxbridge patch on which it is based (see
https://review.openstack.org/#/c/26516/), this patch does not bump the
linuxbridge RPC version number, as the ml2 plugin will require all
three L2 agents to use the same RPC version. Instead, the updated
linuxbridge agent maintains compatibility with old linuxbridge plugins
by accepting either the old or new attributes. There is also a
configuration option, currently turned on by default, to enable the
updated linuxbridge plugin to pass the vlan_id attribute expected by
old linuxbridge agents along with the new attributes. These message
format compatibility mechanisms are intended to aid during upgrades,
and can eventually be removed.

Change-Id: I7cc1c9f96b09db6bab2c7d9f2b30b79fa4dab919
2013-05-15 22:06:00 -04:00
..
bigswitch L3 API support for BigSwitch-FloodLight Plugin 2013-02-15 13:05:15 -08:00
brocade Adds Brocade Plugin implementation 2013-02-14 09:22:38 -08:00
cisco blueprint cisco-single-config 2013-04-02 12:06:38 -04:00
hyperv Adds a Hyper-V Quantum plugin 2013-01-14 12:58:41 +02:00
linuxbridge Fix linuxbridge RPC message format 2013-05-15 22:06:00 -04:00
metaplugin Add eventlet db_pool use for mysql 2012-12-23 10:35:44 +00:00
midonet Implement MidoNet Quantum Plugin 2013-02-20 10:20:20 +09:00
mlnx blueprint mellanox-quantum-plugin 2013-05-13 15:36:14 +03:00
nec Support iptables-based security group in NEC plugin 2013-02-14 07:37:52 +09:00
nicira make default transport type configurable nvp 2013-05-13 19:52:20 -07:00
openvswitch Implements quantum security groups support on OVS plugin 2013-02-10 07:42:28 +09:00
plumgrid PLUMgrid quantum plugin 2013-02-10 07:49:48 -08:00
ryu Add support Quantum Security Groups for Ryu plugin 2013-02-20 00:38:00 -08:00