neutron/neutron/common
LIU Yulong 39afe0a129 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

Conflicts:
	neutron/tests/unit/plugins/ml2/test_rpc.py

Change-Id: Ie37f4a4869969e235ce16b73cdfcbdc98626823e
(cherry picked from commit 8408af4f17)
(cherry picked from commit d7d30ea950)
(cherry picked from commit 5d705468de)
2019-04-12 20:07:04 +00:00
..
__init__.py Update License Headers to replace Nicira with VMware 2014-02-27 08:11:15 +00:00
_deprecate.py debtcollector for globals 2016-08-30 10:18:19 -04:00
cache_utils.py Remove deprecated cache_url 2017-11-10 00:47:19 -05:00
config.py Make code follow log translation guideline 2017-08-14 02:01:48 +00:00
constants.py Do not call update_device_list in large sets 2019-04-12 20:07:04 +00:00
eventlet_utils.py Windows: fix exec calls 2018-06-19 07:12:27 +00:00
exceptions.py Fix neutron-openvswitch-agent Windows support 2018-11-23 17:13:42 +02:00
ipv6_utils.py Allow Ipv6 addresses for nova_metadata_host 2018-10-13 07:16:55 +00:00
profiler.py Make code follow log translation guideline 2017-08-14 02:01:48 +00:00
rpc.py Merge "Hook bandit security linter to pep8 target" 2017-08-24 06:10:40 +00:00
test_lib.py Revert "Removed test_lib module" 2015-06-29 08:27:41 +00:00
topics.py RPC Callback rolling upgrades reporting, and integration 2016-03-01 11:20:48 +01:00
utils.py Fix ingress bw limit for OVS DPDK ports 2018-01-15 13:19:14 +00:00