neutron/neutron/plugins/ml2/drivers
Terry Wilson 71fa182000 Make sure datapath_type is updated on bridges changed
When changing datapath_type in the config, physical and tunnel bridges
do not have their datapath_type updated. Calling create() on already
created bridges should be safe as it passes '--may-exist' when adding
the bridge, which will do nothing if the bridge already exists, but
the second part of the transaction will still update things like
datapath_type.

It should be noted that ancillary bridges (like br-ex) are not
modified by this patch as datapath_type was never applied to them to
begin with.

Incidentally, the native and vsctl versions behaved slightly
differently when handling datapath_type: vsctl builds the multi-cmd
transaction with add-br ... -- set ..., so that the second cmd would
actually complete. The native just bailed if may_exist and the bridge
existed. This is fixed as part of this patch.

Change-Id: Ib8bc817c7bc724d80193d0ca7af480a7ea103f77
Closes-Bug: 1532273
2016-01-12 16:10:49 +00:00
..
l2pop Remove l2pop _get_port_infos method 2016-01-06 13:17:36 +00:00
linuxbridge Merge "Add extension_manager and support for extensions in linuxbridge agent" 2016-01-06 15:12:58 +00:00
mech_sriov SR-IOV agent: display loaded extensions 2016-01-06 10:45:09 +02:00
openvswitch Make sure datapath_type is updated on bridges changed 2016-01-12 16:10:49 +00:00
__init__.py Empty files should not contain copyright or license 2014-10-20 00:50:32 +00:00
helpers.py Randomize tunnel id query to avoid contention 2015-05-11 02:18:54 +04:00
mech_agent.py Merge "Make port binding message on dead agents clear" 2015-12-03 08:44:55 +00:00
type_flat.py Use _ from neutron._i18n 2015-12-06 19:39:04 +09:00
type_geneve.py Use _ from neutron._i18n 2015-12-06 19:39:04 +09:00
type_gre.py Use _ from neutron._i18n 2015-12-06 19:39:04 +09:00
type_local.py Use _ from neutron._i18n 2015-12-06 19:39:04 +09:00
type_tunnel.py Use _ from neutron._i18n 2015-12-06 19:39:04 +09:00
type_vlan.py Use _ from neutron._i18n 2015-12-06 19:39:04 +09:00
type_vxlan.py Use _ from neutron._i18n 2015-12-06 19:39:04 +09:00