neutron/neutron/tests/unit/db
Slawek Kaplonski eb775458c6 [DVR] Don't populate unbound ports in router's ARP cache
When user is using keepalived on their instances, he often creates
additional port in Neutron to allocate some IP address which will
be then used as VIP in keepalived and will be configured in
allowed_address_pair of other ports plugged to instances with
keepalived.
This is e.g. Octavia's use case.

This together with DVR caused problems with connectivity to such VIP
as it was populated in router's arp cache with MAC address from
Neutron db.

As this port isn't bound, it is only Neutron db entry so there is no
need to set it in arp cache of the router.
This patch is doing exactly that to filter such "unbound" and
"binding_failed" ports from the list.

Change-Id: Ia885ce00dbb5f2968859e8d0850bc511016f0846
Closes-Bug: #1869887
2020-03-31 19:33:44 +02: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 Add agent timestamp to "_log_heartbeat" method 2019-06-18 06:29:08 +00:00
test_agentschedulers_db.py Unnecessary routers should not be created 2019-12-19 09:45:44 +08:00
test_allowedaddresspairs_db.py Switch to new engine facade in test_allowedaddresspairs_db module 2020-03-20 02:18:04 +01: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 Finish migration to new engine facade in test_db_base_plugin_v2 2020-03-20 08:55:57 +01:00
test_dvr_mac_db.py use test tools from neutron-lib 2019-06-05 06:21:04 -06:00
test_extraroute_db.py Implement extension: extraroute-atomic 2019-09-11 13:58:47 +02:00
test_ipam_backend_mixin.py Relax subnet pool network affinity constraints 2019-07-31 10:01:55 -05:00
test_ipam_pluggable_backend.py Filter subnets on fixed_ips segment 2020-03-13 22:51:36 +00:00
test_l3_db.py Handle ports assigned to routers without routerports 2019-09-20 16:17:41 +00:00
test_l3_dvr_db.py [DVR] Don't populate unbound ports in router's ARP cache 2020-03-31 19:33:44 +02:00
test_l3_hamode_db.py Check "security_group_rule" quota during security group creation 2020-01-28 12:02:52 +00:00
test_migration.py Start enforcing E125 flake8 directive 2019-07-19 23:39:41 -04:00
test_ovn_hash_ring_db.py [OVN] Add hash ring methods 2019-12-03 08:53:45 +00:00
test_ovn_revision_numbers_db.py [OVN] Add revision number maintenance methods 2019-12-04 11:17:02 +00:00
test_portsecurity_db.py use api def ALIAS in supported_extension_aliases 2019-04-08 08:30:20 -06:00
test_portsecurity_db_common.py delete common_db_mixin 2019-04-17 11:25:41 -06:00
test_provisioning_blocks.py use callback payloads for PROVISIONING_COMPLETE 2019-07-31 09:18:14 -06:00
test_rbac_db_mixin.py Fix bulk port binding 2019-07-05 13:50:31 -04:00
test_securitygroups_db.py Unblock security group update with same stateful data 2020-03-11 12:39:46 +00:00
test_segments_db.py Change passing session to context in segments db functions 2016-12-23 16:47:41 +04:00