neutron/neutron/tests
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
contrib Replace git.openstack.org URLs with opendev.org URLs 2019-04-23 10:00:45 +08:00
etc Convert policy.json into policy-in-code 2018-12-13 20:37:53 +00:00
fullstack Merge "Add fullstack tests for update network's segmentation_id" 2019-07-22 15:35:14 +00:00
functional Merge "Start enforcing E125 flake8 directive" 2019-07-22 15:35:27 +00:00
unit Pass get_networks() callback to interface driver 2019-07-30 20:21:16 +03:00
var
__init__.py Avoid eventlet monkey patching for the tempest plugin 2016-04-29 22:47:24 -05:00
base.py Merge "Propagate profiler info into BatchNotifier threads" 2019-07-12 16:19:05 +00:00
post_mortem_debug.py
tools.py consume WarningsFixture from neutron-lib 2019-07-09 08:32:33 -06:00