neutron/neutron/tests/unit/agent
Adrian Chiris 0e80d2251e Pass get_networks() callback to interface driver
In order to support out of tree interface drivers it is required
to pass a callback to allow the drivers to query information about
the network.

- Allow passing **kwargs to interface drivers
- Pass get_networks() as `get_networks_cb` kw arg
  `get_networks_cb` has the same API as
  `neutron.neutron_plugin_base_v2.NeutronPluginBaseV2.get_networks()`
   minus the the request context which will be embeded in the callback
   itself.

The out of tree interface drivers in question are:

MultiInterfaceDriver - a per-physnet interface driver that delegates
                       operations on a per-physnet basis.
IPoIBInterfaceDriver - an interface driver for IPoIB (IP over Infiniband)
                       networks.

Those drivers are a part of networking-mlnx[1], Their implementation
is vendor agnostic so they can later be moved to a more common place
if desired.

[1] https://github.com/openstack/networking-mlnx

Change-Id: I74d9f449fb24f64548b0f6db4d5562f7447efb25
Closes-Bug: #1834176
2019-07-30 20:21:16 +03:00
..
common Start enforcing E125 flake8 directive 2019-07-19 23:39:41 -04:00
dhcp Pass get_networks() callback to interface driver 2019-07-30 20:21:16 +03:00
l2 Start enforcing E125 flake8 directive 2019-07-19 23:39:41 -04:00
l3 Pass get_networks() callback to interface driver 2019-07-30 20:21:16 +03:00
linux Pass get_networks() callback to interface driver 2019-07-30 20:21:16 +03:00
metadata Start enforcing E125 flake8 directive 2019-07-19 23:39:41 -04:00
ovsdb Add native OVSDB implementation for bridge monitor 2018-12-03 16:09:06 +00:00
windows remove neutron.common.exceptions 2019-02-01 14:35:00 -07:00
__init__.py Empty files should not contain copyright or license 2014-10-20 00:50:32 +00:00
test_agent_extensions_manager.py Refactoring config options for l2 agent ext opts 2016-11-21 19:45:04 +00:00
test_resource_cache.py Merge "Fix race condition with enabling SG on many ports at once" 2018-01-27 10:36:37 +00:00
test_rpc.py Start enforcing E125 flake8 directive 2019-07-19 23:39:41 -04:00
test_securitygroups_rpc.py Start enforcing E125 flake8 directive 2019-07-19 23:39:41 -04:00