neutron/neutron/tests
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
..
api Allow get_unused_ip method to skip v6 and fix iter 2016-01-06 13:27:54 -08:00
common Use _ from neutron._i18n 2015-12-06 19:39:04 +09:00
contrib Run functional gate jobs in a constrained environment 2015-12-22 19:31:59 -08:00
etc Fix Neutron flavor framework 2015-11-19 11:27:05 -08:00
fullstack Trival: Remove unused logging import 2015-12-26 12:49:56 +08:00
functional Make sure datapath_type is updated on bridges changed 2016-01-12 16:10:49 +00:00
retargetable Fixed a bunch of typos throughout Neutron 2015-10-30 08:54:41 -05:00
tempest Merge "Introduce an API test for specified floating ip address" 2016-01-06 20:45:05 +00:00
unit Make sure datapath_type is updated on bridges changed 2016-01-12 16:10:49 +00:00
var Allow combined certificate/key files for SSL 2014-04-13 09:22:23 +00:00
__init__.py Add eventlet monkey_patch helper 2015-03-24 08:44:00 -07:00
base.py Use _ from neutron._i18n 2015-12-06 19:39:04 +09:00
fake_notifier.py Pass serializer to oslo.messaging Notifier 2014-06-20 14:58:28 +02:00
post_mortem_debug.py Cleanup recent generalization in post mortem debugger 2014-12-04 15:28:11 +01:00
tools.py test_db_base_plugin_v2: Skip a few tests on some platforms 2015-10-13 09:32:01 +09:00