neutron/neutron/tests/functional/agent
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
..
l2 Make sure datapath_type is updated on bridges changed 2016-01-12 16:10:49 +00:00
l3 Merge "Separate the command for replace_port to delete and add" 2016-01-07 04:50:56 +00:00
linux Trival: Remove unused logging import 2015-12-26 12:49:56 +08:00
__init__.py Empty files should not contain copyright or license 2014-10-20 00:50:32 +00:00
test_dhcp_agent.py Remove deprecated use_namespaces option 2015-11-18 19:17:29 +01:00
test_l2_lb_agent.py Trival: Remove unused logging import 2015-12-26 12:49:56 +08:00
test_l2_ovs_agent.py Make sure datapath_type is updated on bridges changed 2016-01-12 16:10:49 +00:00
test_ovs_flows.py Use DEVICE_OWNER_* for 'network:*' constants 2015-11-16 20:45:36 -08:00
test_ovs_lib.py Handle empty bridge case in OVSBridge.get_ports_attributes 2015-09-27 09:41:17 -04:00