neutron/neutron/db
Slawek Kaplonski 914cd7e15a [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
(cherry picked from commit eb775458c6)
2020-04-03 16:54:29 +02:00
..
allowed_address_pairs Clean up deprecated sqla model import paths 2017-02-25 03:42:34 +00:00
availability_zone remove the neutron.db._resource_extend module 2019-01-02 13:02:06 -07:00
extra_dhcp_opt Cleanup _find_related_obj 2017-02-25 06:29:33 +00:00
metering use context manager from neutron-lib 2018-10-24 07:18:46 -06:00
migration Fix pep8 E128 warnings in non-test code 2019-03-12 21:22:33 +00:00
models Define orm relationships after db classes 2020-01-31 11:34:22 +00:00
network_dhcp_agent_binding OVO for NetworkDhcpAgentBinding 2017-09-08 15:48:00 +00:00
port_security Cleanup _find_related_obj 2017-02-25 06:29:33 +00:00
qos Refactor qos_plugin._extend_port_resource_request 2019-07-05 16:39:11 +00:00
quota remove neutron.common.exceptions 2019-02-01 14:35:00 -07:00
__init__.py Update License Headers to replace Nicira with VMware 2014-02-27 08:11:15 +00:00
_utils.py use db utils from lib 2018-07-02 08:24:36 -06:00
address_scope_db.py remove the neutron.db._resource_extend module 2019-01-02 13:02:06 -07:00
agents_db.py New agent attribute: resources_synced 2019-02-21 13:45:15 +01:00
agentschedulers_db.py Fix pep8 E128 warnings in non-test code 2019-03-12 21:22:33 +00:00
allowedaddresspairs_db.py Fix pep8 E128 warnings in non-test code 2019-03-12 21:22:33 +00:00
common_db_mixin.py remove unused methods in common_db_mixin 2019-01-30 11:22:43 -07:00
data_plane_status_db.py Fix pep8 E128 warnings in non-test code 2019-03-12 21:22:33 +00:00
db_base_plugin_common.py Optimize DVR related port DB query 2020-03-31 14:02:19 +00:00
db_base_plugin_v2.py Merge "Move subnet postcommit out of transaction for bulk create" into stable/stein 2019-05-04 02:40:24 +00:00
dns_db.py Fix pep8 E128 warnings in non-test code 2019-03-12 21:22:33 +00:00
dvr_mac_db.py Optimize DVR related port DB query 2020-03-31 14:02:19 +00:00
external_net_db.py remove the neutron.db._model_query module 2019-01-25 08:55:25 -07:00
extradhcpopt_db.py Utilize bulk port creation ops in ml2 plugin 2019-03-21 11:31:36 +00:00
extraroute_db.py Fix pep8 E128 warnings in non-test code 2019-03-12 21:22:33 +00:00
flavors_db.py Fix pep8 E128 warnings in non-test code 2019-03-12 21:22:33 +00:00
ipam_backend_mixin.py Allow first address in an IPv6 subnet as valid unicast 2019-05-22 14:13:31 +00:00
ipam_pluggable_backend.py fixed_configured=True when Add/Remove port IPs 2019-10-09 09:36:45 +00:00
l3_agentschedulers_db.py List ha router count should not include dvr local router 2019-05-18 11:04:21 +08:00
l3_attrs_db.py remove the neutron.db._resource_extend module 2019-01-02 13:02:06 -07:00
l3_db.py Remove Floating IP DNS record upon associated port deletion 2019-11-13 06:48:39 +00:00
l3_dvr_db.py [DVR] Don't populate unbound ports in router's ARP cache 2020-04-03 16:54:29 +02:00
l3_dvr_ha_scheduler_db.py Fix connection between 2 dvr routers 2018-11-01 18:01:25 +01:00
l3_dvrscheduler_db.py Unnecessary routers should not be created 2020-03-11 09:22:50 +00:00
l3_fip_pools_db.py Introduce floating IP pool resource 2018-10-04 15:53:53 +00:00
l3_fip_port_details.py remove the neutron.db._resource_extend module 2019-01-02 13:02:06 -07:00
l3_fip_qos.py remove the neutron.db._resource_extend module 2019-01-02 13:02:06 -07:00
l3_gateway_ip_qos.py remove the neutron.db._resource_extend module 2019-01-02 13:02:06 -07:00
l3_gwmode_db.py Fix pep8 E128 warnings in non-test code 2019-03-12 21:22:33 +00:00
l3_hamode_db.py Ensure dvr ha router gateway port binding host 2019-05-20 09:52:45 +00:00
l3_hascheduler_db.py Fix all pep8 E129 errors 2018-05-03 13:44:04 +09:00
models_v2.py Revert "Update network revision only when it needs" 2018-08-14 21:06:21 +00:00
network_ip_availability_db.py use context manager from neutron-lib 2018-10-24 07:18:46 -06:00
portbindings_base.py remove the neutron.db._resource_extend module 2019-01-02 13:02:06 -07:00
portbindings_db.py remove the neutron.db._model_query module 2019-01-25 08:55:25 -07:00
portsecurity_db.py remove the neutron.db._resource_extend module 2019-01-02 13:02:06 -07:00
portsecurity_db_common.py use db utils from lib 2018-07-02 08:24:36 -06:00
provisioning_blocks.py Fix flake8 N534 untranslated exception message 2018-10-19 15:46:04 -04:00
rbac_db_mixin.py rbac: Catch correct exception for duplicated entry 2019-06-11 07:48:09 +00:00
rbac_db_models.py Allow sharing of security groups via RBAC mechanism 2019-03-09 17:30:14 -06:00
securitygroups_db.py Ensure that default SG exists during list of SG rules API call 2020-03-03 09:09:20 +00:00
securitygroups_rpc_base.py use retry_if_session_inactive from neutron-lib 2018-10-12 14:47:35 -06:00
segments_db.py Support Network Segment Range CRUD as extensions 2019-03-07 08:20:30 +00:00
servicetype_db.py Fix pep8 E128 warnings in non-test code 2019-03-12 21:22:33 +00:00
sqlalchemytypes.py For typo in sqlalchemytypes 2017-02-13 16:18:46 +00:00
standard_attr.py Run revision bump operations en masse 2019-02-18 15:12:17 -05:00
standardattrdescription_db.py remove the neutron.db._resource_extend module 2019-01-02 13:02:06 -07:00
subnet_service_type_mixin.py remove the neutron.db._resource_extend module 2019-01-02 13:02:06 -07:00
uplink_status_propagation_db.py Fix pep8 E128 warnings in non-test code 2019-03-12 21:22:33 +00:00
vlantransparent_db.py remove the neutron.db._resource_extend module 2019-01-02 13:02:06 -07:00