neutron/neutron/tests/unit/plugins/ml2
Flavio Fernandes f1cc1bb281 [ovn]: Fix l3_plugin.add_router_interface to comply with RouterPluginBase
OVNL3RouterPlugin inherits from L3_NAT_dbonly_mixin, which inherits
from neutron.extensions.l3.RouterPluginBase

As maintenance task expects OVNL3RouterPlugin to behave as
RouterPluginBase, the add_router_interface should have the signature:

  add_router_interface(self, context, router_id, interface_info)

Note: With this change, the default behavior of OVNL3RouterPlugin's
_add_neutron_router_interface becomes idem-potent: multiple calls to add
the same interface will not fail. Because of that, the unit test
test_router_add_interface_dup_port no longer makes sense and is being
removed.

Closes-Bug: #1876148
Change-Id: I8010113b4d8c66ecbccf3126f322a8836d92e7ba
Signed-off-by: Flavio Fernandes <flaviof@redhat.com>
2020-05-05 06:56:20 -04:00
..
drivers [ovn]: Fix l3_plugin.add_router_interface to comply with RouterPluginBase 2020-05-05 06:56:20 -04:00
extensions Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
__init__.py Reorganize unit test tree 2015-04-06 23:28:31 +00:00
_test_mech_agent.py Check mech driver connectivity during port binding 2019-09-11 07:05:54 +00:00
base.py use service type constants from neutron_lib plugins 2017-06-27 15:16:05 -06:00
test_agent_scheduler.py Start enforcing E125 flake8 directive 2019-07-19 23:39:41 -04:00
test_db.py Merge "Switch to new engine facade in ML2 unit tests modules" 2020-04-30 22:20:07 +00:00
test_driver_context.py Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
test_ext_portsecurity.py PSExtDriverTestCase: initialize variable in case of exception 2019-10-30 17:44:45 -04:00
test_extension_driver_api.py Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
test_managers.py Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
test_ovo_rpc.py Merge "Switch to new engine facade in ML2 unit tests modules" 2020-04-30 22:20:07 +00:00
test_plugin.py Merge "Switch to new engine facade in ML2 unit tests modules" 2020-04-30 22:20:07 +00:00
test_port_binding.py Merge "Switch to new engine facade in ML2 unit tests modules" 2020-04-30 22:20:07 +00:00
test_rpc.py Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
test_security_group.py Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
test_tracked_resources.py Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00