neutron/neutron/tests/unit/agent/common
Kevin Benton 6ce47f1d62 Stop passing datapath as 'may_exist' argument
While debugging the related bug, this showed up in the logs:
AddBridgeCommand(datapath_type=None, may_exist=system, name=test-brd8f3648c)

This was caused by the add_bridge command not passing in the datapath
type as named argument so it was taking the positional argument of
may_exist. So the datapath type was being lost whenever this command
was being used.

This fixes it by makeing add_bridge use a named argument for
datapath_type and it also switches it to using the
OVSBridge.create() method to unify the code-paths for bridge
creation.

It's not clear that this was a cause of the bug though, so
this fix is only related.

Change-Id: I5711c29c21741dd847f2c27fb621f723b24cb7fd
Related-Bug: #1627106
2017-01-26 18:26:27 -08:00
..
__init__.py Add missing neutron/tests/unit/agent/common/__init__.py 2015-04-01 22:43:13 +02:00
test_config.py Reorganize unit test tree 2015-04-06 23:28:31 +00:00
test_ovs_lib.py Stop passing datapath as 'may_exist' argument 2017-01-26 18:26:27 -08:00
test_polling.py OVS agent support on Hyper-V 2015-03-25 13:48:33 -07:00
test_utils.py Remove MidonetInterfaceDriver 2015-11-10 16:09:52 +09:00