neutron/neutron/tests/unit/agent/linux
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
..
openvswitch_firewall Merge "Improve "OVSFirewallDriver.process_trusted_ports"" 2019-07-15 18:32:36 +00:00
__init__.py Empty files should not contain copyright or license 2014-10-20 00:50:32 +00:00
failing_process.py Keep reading stdout/stderr until after kill 2015-11-19 19:14:13 +02:00
test_bridge_lib.py Change to use iproute2 instead of brctl 2018-11-14 12:46:37 -05:00
test_daemon.py use test tools from neutron-lib 2019-06-05 06:21:04 -06:00
test_dhcp.py Pass get_networks() callback to interface driver 2019-07-30 20:21:16 +03:00
test_external_process.py use test tools from neutron-lib 2019-06-05 06:21:04 -06:00
test_interface.py Change agents to use get_devices_with_ip() 2019-02-05 18:30:01 +02:00
test_ip_conntrack.py Move conntrack zones to IPTablesFirewall 2017-03-30 14:54:51 -07:00
test_ip_lib.py Implement "ip route delete" command using Pyroute2 2019-07-01 10:37:19 +00:00
test_ip_link_support.py sriov: implement spoofchecking configuration 2015-07-29 19:38:25 +02:00
test_ip_monitor.py Fix W605 warnings 2018-05-17 16:20:59 +09:00
test_ipset_manager.py Create ipset set_name_exists() method 2015-10-14 10:18:44 -04:00
test_iptables_firewall.py Start enforcing E125 flake8 directive 2019-07-19 23:39:41 -04:00
test_iptables_manager.py Do not initialize the iptables nat table in the dhcp-agent 2019-04-24 20:56:03 -04:00
test_keepalived.py Fix pep8 E128 warnings in non-test code 2019-03-12 21:22:33 +00:00
test_l3_tc_lib.py Use Pyroute2 "add_tc_qdisc" function in l3_tc_lib 2019-07-05 08:13:07 +00:00
test_pd.py Fix pep8 E128 warnings in non-test code 2019-03-12 21:22:33 +00:00
test_tc_lib.py Add TC filtering for VXLAN traffic 2019-05-28 08:27:42 +00:00
test_utils.py use test tools from neutron-lib 2019-06-05 06:21:04 -06:00
test_xenapi_root_helper.py Use os-xenapi for neutron when XenServer as hypervisor 2017-03-30 18:33:37 +00:00