neutron/neutron/tests/functional
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
..
agent Make sure datapath_type is updated on bridges changed 2016-01-12 16:10:49 +00:00
api Use assertFalse(observed) instead of assertEqual(False, observed) 2015-11-12 22:50:57 +09:00
cmd get_device_by_ip: don't fail if device was deleted 2015-10-22 19:27:10 +03:00
common Switch to using neutron.common.utils:replace_file() 2015-11-16 08:44:04 +01:00
db Fix comparison of Variant and other type in test_model_sync 2015-12-16 18:52:12 -05:00
pecan_wsgi Pull project out of request in addition to tenant 2015-12-07 22:16:47 -05:00
sanity Check missed IPSet utility using neutron-sanity-check 2015-11-13 07:46:01 +00:00
scheduler Add functional test for availability_zone support 2015-12-14 10:07:47 +09:00
services Use the constant HOST_ID instead of 'binding:host_id' 2015-12-20 14:00:29 +00:00
__init__.py Prepare for full stack CI job 2015-06-22 11:47:54 -04:00
base.py Retain logs for functional test cases 2015-09-03 10:50:38 -04:00
requirements.txt More instructions for neutron-db-manage revision --autogenerate 2015-11-08 19:42:56 -05:00
test_server.py Refactor test_server functional tests 2015-11-13 14:44:33 +03:00
test_service.py Use SIGUSR1 to notify l3 agent of changing prefix file 2015-11-13 17:53:47 +03:00