neutron/neutron/tests/unit/plugins
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
..
common Utils: make delete_port_on_error more informative 2017-05-02 06:23:51 +03:00
ml2 Do not call update_device_list in large sets 2019-04-12 20:07:04 +00:00
__init__.py Reorganize unit test tree 2015-04-06 23:28:31 +00:00