neutron/neutron/tests/unit
Slawek Kaplonski 3c0624b8f7 Allow usage of legacy 3rd-party interface drivers
In the patch [1] we changed definition of the abstract method
"plug" in the LinuxInterfaceDriver class.
That broke e.g. 3rd-party drivers which still don't accept this
new parameter called "link_up" in the plug_new method.

So this patch fixes this to make such legacy drivers to be still working
with the new base interface driver class.

This commit also marks such definition of the plug_new method as
deprecated. Possibility of using it without accepting link_up parameter
will be removed in the "W" release of the OpenStack.

[1] https://review.opendev.org/#/c/707406/

Conflicts:
      neutron/tests/unit/agent/linux/test_interface.py

Change-Id: Icd555987a1a57ca0b31fa7e4e830583d6c69c861
Closes-Bug: #1879307
(cherry picked from commit 30d573d5ab)
(cherry picked from commit 9c242a0329)
(cherry picked from commit bc8c38bda8)
(cherry picked from commit bd8240dc9d)
2020-05-21 08:43:44 +00:00
..
agent Allow usage of legacy 3rd-party interface drivers 2020-05-21 08:43:44 +00:00
api Optimize the code that fixes the race condition of DHCP agent. 2019-06-11 09:44:32 +08:00
cmd More efficiently clean up OVS ports 2018-01-22 14:07:42 -06:00
common Packets getting lost during SNAT with too many connections 2019-06-04 23:23:43 +00:00
conf/agent Agent common config 2017-03-15 09:52:18 -06:00
core_extensions use qos constants from neutron-lib 2017-10-26 19:57:19 +00:00
db Filter by owner SGs when retrieving the SG rules 2020-04-17 11:05:53 +00:00
debug Change ip_lib network namespace code to use pyroute2 2017-10-04 21:09:28 +00:00
extensions fixed_configured=True when Add/Remove port IPs 2019-10-09 09:37:11 +00:00
hacking Use flake8-import-order plugin 2017-07-05 03:15:27 +00:00
ipam Add bulk IP address assignment to ipam driver 2020-03-26 12:31:05 +00:00
notifiers Refactor the L3 agent batch notifier 2020-04-20 11:45:35 +00:00
objects Filter by owner SGs when retrieving the SG rules 2020-04-17 11:05:53 +00:00
plugins Only notify nova of port status changes if configured 2020-05-15 19:14:06 +00:00
privileged Switch create/delete interfaces to pyroute2 2020-04-27 21:41:02 +02:00
quota CountableResource: try count/get functions for all plugins 2017-09-08 10:50:12 -07:00
scheduler Fix sort issue in test_dhcp_agent_scheduler.test_filter_bindings 2019-08-12 08:17:01 +00:00
services Run revision bump operations en masse 2019-11-22 09:32:27 -05:00
tests Increase timeouts for OVSDB in functional tests 2019-09-13 10:57:41 +00:00
__init__.py Don't set use_stderr to False for tests 2017-04-15 01:41:29 +00:00
_test_extension_portbindings.py use plugin constants from neutron-lib 2017-10-16 09:32:20 -06:00
dummy_plugin.py Add unit test to validate non DB base core plugin can be loaded 2017-11-15 21:21:35 +00:00
extension_stubs.py Consume ServicePluginBase from neutron-lib 2017-03-17 12:06:57 -06:00
test_auth.py Use oslo.context class method to construct context object 2017-03-23 09:02:46 +00:00
test_manager.py use plugin constants from neutron-lib 2017-10-16 09:32:20 -06:00
test_neutron_plugin_base_v2.py Add unit test to validate non DB base core plugin can be loaded 2017-11-15 21:21:35 +00:00
test_opts.py
test_policy.py Fix handling of network:shared field in policy module 2019-05-10 17:21:57 +00:00
test_service.py use callback payloads for _SPAWN events 2017-12-21 11:03:36 -07:00
test_worker.py Move AgentStatusCheckWorker to PeriodicWorker 2016-11-17 15:31:19 -08:00
test_wsgi.py [Unit tests] Skip TestWSGIServer with IPv6 if no IPv6 enabled 2019-10-07 23:05:05 +00:00
testlib_api.py API compare-and-swap updates based on revision_number 2017-06-29 22:50:12 +00:00