neutron/neutron/tests/unit/db
Rodolfo Alonso Hernandez 626eca984f Handle ports assigned to routers without routerports
In the case of having a port attached to a router but the routerport
register is missing (as seen in the bug reported), this patch retrieves
the full list of ports attached to a router, filtering by router ID
and network ID or port ID. In case of having a port attached to this
router with missing routerport register, a warning message is logged.

Closes-Bug: #1842937

Change-Id: I93f35eade6aa081160902d9d47278123815c04d1
(cherry picked from commit c952b59600)
(cherry picked from commit e5650d19bf)
2019-10-15 09:17:59 +00:00
..
metering use metering api def from neutron-lib 2017-11-03 14:03:20 -06:00
quota 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__utils.py remove common db alaises to db utils 2018-05-01 14:13:24 -06:00
test_agents_db.py Use publish for AGENT AFTER_CREATE/AFTER_UPDATE 2018-12-19 10:26:05 +01:00
test_agentschedulers_db.py remove neutron.common.rpc 2019-02-06 11:05:55 -07:00
test_allowedaddresspairs_db.py use addr pairs api def from lib 2017-11-13 11:56:32 -07:00
test_db_base_plugin_common.py Replace to_dict() calls with a function decorator 2015-08-03 11:42:25 +03:00
test_db_base_plugin_v2.py Fix bulk port binding 2019-07-09 03:35:32 +00:00
test_dvr_mac_db.py use payloads for AGENT BEFORE_DELETE callbacks 2018-10-03 09:59:24 +00:00
test_extraroute_db.py l3 flavor: more events/notifications and callback priority 2018-05-18 00:14:33 +00:00
test_ipam_backend_mixin.py Switch to use _get_subnet_object() in ipam_backend_mixin module 2017-12-18 14:59:17 +01:00
test_ipam_pluggable_backend.py fixed_configured=True when Add/Remove port IPs 2019-10-09 09:36:45 +00:00
test_l3_db.py Handle ports assigned to routers without routerports 2019-10-15 09:17:59 +00:00
test_l3_dvr_db.py DVR: Cleanup ml2 dvr portbindings on migration 2019-09-26 20:23:40 +00:00
test_l3_hamode_db.py Fix pep8 E128 warnings in non-test code 2019-03-12 21:22:33 +00:00
test_migration.py Use oslo_log instead of alembic.util in functional tests 2018-12-21 23:03:24 +01:00
test_portsecurity_db.py use service type constants from neutron_lib plugins 2017-06-27 15:16:05 -06:00
test_portsecurity_db_common.py use neutron-lib port security api-def 2017-05-01 11:45:42 -06:00
test_provisioning_blocks.py Adopt Port OVO for tests/unit/db/test_provisioning_blocks.py 2018-07-06 11:43:43 -04:00
test_rbac_db_mixin.py Fix bulk port binding 2019-07-09 03:35:32 +00:00
test_securitygroups_db.py Better handle ports in security groups 2019-03-15 13:54:33 -04:00
test_segments_db.py Change passing session to context in segments db functions 2016-12-23 16:47:41 +04:00
test_sqlalchemytypes.py Use oslo_db.sqlalchemy.test_fixtures 2018-02-19 20:53:14 -05:00
test_standard_attr.py Support Network Segment Range CRUD as extensions 2019-03-07 08:20:30 +00:00