neutron/neutron
LIU Yulong 8408af4f17 Do not call update_device_list in large sets
Ovs-agent can process the ports in large sets, then all
of these ports will have to update DB status or attributes.
But neutron server is centralized. It may have to do
something else, or the database processing can be also
time-consuming. Because of these, it sometimes returns
the RPC timeout exception to ovs-agent. And a fullsync
will be triggered in next rpc loop. The restart time is
becoming longer and longer.

Adds a default step to update the port to reduce
the probability of RPC timeout.

Related-Bug: #1813703
Related-Bug: #1813704
Related-Bug: #1813706
Related-Bug: #1813707

Change-Id: Ie37f4a4869969e235ce16b73cdfcbdc98626823e
2019-04-02 22:57:11 +08:00
..
agent Do not call update_device_list in large sets 2019-04-02 22:57:11 +08:00
api use EXT_PARENT_RESOURCE_MAPPING from neutron-lib 2019-03-26 10:29:19 -06:00
cmd Add check for external_network_bridge in neutron-status 2019-03-22 13:14:24 +00:00
common Do not call update_device_list in large sets 2019-04-02 22:57:11 +08:00
conf Merge "More accurate agent restart state transfer" 2019-03-23 04:46:44 +00:00
core_extensions remove neutron.common.exceptions 2019-02-01 14:35:00 -07:00
db consume sqlalchemytypes from neutron-lib 2019-03-25 07:51:23 -06:00
debug Remove deprecated 'external_network_bridge' option 2019-03-09 22:07:38 +00:00
extensions Remove local port regenerate mac address apidef 2019-03-26 15:28:14 +00:00
hacking remove neutron.db.api references 2019-03-05 09:14:50 -07:00
ipam Fix pep8 E128 warnings in non-test code 2019-03-12 21:22:33 +00:00
locale Imported Translations from Zanata 2018-03-03 06:08:46 +00:00
notifiers Send global_request_id for tracing calls from neutron to nova 2018-11-30 05:41:24 +00:00
objects Merge "Use dynamic lazy mode for fetching security group rules" 2019-03-15 12:05:58 +00:00
pecan_wsgi Fix pep8 E128 warnings in non-test code 2019-03-12 21:22:33 +00:00
plugins Merge "use callback payloads for AGENT OVS_RESTARTED events" 2019-04-02 12:02:02 +00:00
privileged Check the namespace is ready in test_mtu_update tests 2019-03-27 17:59:15 +00:00
quota Fix pep8 E128 warnings in non-test code 2019-03-12 21:22:33 +00:00
scheduler Fix pep8 E128 warnings in non-test code 2019-03-12 21:22:33 +00:00
server Allow neutron-api load config from WSGI process 2018-07-25 15:22:14 +07:00
services Merge "Avoid iterating over all of the segment data just for counting" 2019-03-26 23:41:30 +00:00
tests Do not call update_device_list in large sets 2019-04-02 22:57:11 +08:00
__init__.py Fix incorrect usage of '# flake8: noqa' 2018-10-29 15:27:50 -04:00
_i18n.py Make code follow log translation guideline 2017-08-14 02:01:48 +00:00
auth.py Use oslo.context class method to construct context object 2017-03-23 09:02:46 +00:00
manager.py Avoid loading same service plugin more than once 2019-02-21 11:17:02 +01:00
neutron_plugin_base_v2.py Do not load default service plugins if core plugin is not DB based 2017-11-09 20:34:52 +00:00
opts.py Add "rpc_response_max_timeout" config variable in OVS agent 2019-02-21 15:11:42 +00:00
policy.py use EXT_PARENT_RESOURCE_MAPPING from neutron-lib 2019-03-26 10:29:19 -06:00
service.py Merge "Change process name of neutron-server to match worker role" 2019-03-02 14:18:49 +00:00
version.py
worker.py Change process name of neutron-server to match worker role 2019-03-01 14:18:09 -05:00
wsgi.py Change process name of neutron-server to match worker role 2019-03-01 14:18:09 -05:00