neutron/neutron/common
LIU Yulong 5d705468de 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
(cherry picked from commit 8408af4f17)
(cherry picked from commit d7d30ea950)
2019-04-12 15:42:45 +00:00
..
__init__.py Update License Headers to replace Nicira with VMware 2014-02-27 08:11:15 +00:00
_deprecate.py Replace assert to raise AssertionError 2018-04-10 16:01:48 +04:00
cache_utils.py Remove deprecated cache_url 2017-11-10 00:47:19 -05:00
config.py Allow neutron-api load config from WSGI process 2018-07-25 15:22:14 +07:00
constants.py Do not call update_device_list in large sets 2019-04-12 15:42:45 +00:00
eventlet_utils.py Windows: fix exec calls 2018-02-01 17:05:28 +02:00
exceptions.py Fix neutron-openvswitch-agent Windows support 2018-08-28 06:53:11 +00:00
ipv6_utils.py Allow Ipv6 addresses for nova_metadata_host 2018-10-13 07:14:05 +00:00
profiler.py Make code follow log translation guideline 2017-08-14 02:01:48 +00:00
rpc.py remove rpc create_connection 2018-04-27 09:51:11 -06:00
test_lib.py Revert "Removed test_lib module" 2015-06-29 08:27:41 +00:00
utils.py use get_port_binding_by_status_and_host from lib 2018-07-30 07:10:23 -06:00