neutron/neutron/db
LIU Yulong 50fdc6505f DVR: Ignore DHCP port during DVR host query
For large scale deployment, the dvr router will be installed to
the scheduled DHCP host. This will definitely increase the l3
agent service pressure, especially in large number of concurrent
updates, creation, or agent restart.

This patch adds a config ``host_dvr_for_dhcp`` for the DHCP port
device_owner filter during DVR host query. Then if we set
``host_dvr_for_dhcp = False``, L3-agent will not host the DVR router
namespace in its connected networks' DHCP agent hosts.

Closes-Bug: #1609217
Change-Id: I53e20be9b306bf9d3b34ec6a31e3afabd5a0fd6f
(cherry picked from commit 8f057fb49a)
2020-01-21 00:36:48 +00: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 Merge "Use dynamic lazy mode for fetching security group rules" 2019-03-15 12:05:58 +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 Fix bulk port binding 2019-07-09 03:35:32 +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 DVR: Ignore DHCP port during DVR host query 2020-01-21 00:36:48 +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: Cleanup ml2 dvr portbindings on migration 2019-09-26 20:23:40 +00: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 DVR: Ignore DHCP port during DVR host query 2020-01-21 00:36:48 +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 Fix bulk port binding 2019-07-09 03:35:32 +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