neutron/neutron/tests/unit
LIU Yulong 9583dc0549 More accurate agent restart state transfer
Ovs-agent can be very time-consuming in handling a large number
of ports. At this point, the ovs-agent status report may have
exceeded the set timeout value. Some flows updating operations
will not be triggerred. This results in flows loss during agent
restart, especially for hosts to hosts of vxlan tunnel flow.

This fix will let the ovs-agent explicitly, in the first rpc loop,
indicate that the status is restarted. Then l2pop will be required
to update fdb entries.

Conflicts:
	neutron/plugins/ml2/rpc.py

Conflicts:
	neutron/plugins/ml2/drivers/l2pop/mech_driver.py

Closes-Bug: #1813703
Closes-Bug: #1813714
Closes-Bug: #1813715
Closes-Bug: #1794991
Closes-Bug: #1799178

Change-Id: I8edc2deb509216add1fb21e1893f1c17dda80961
(cherry picked from commit a5244d6d44)
(cherry picked from commit cc49ab5501)
(cherry picked from commit 5ffca49668)
2019-05-29 18:55:44 +00:00
..
agent Merge "Keep HA ports info for HA router during entire lifecycle" into stable/ocata 2019-05-21 17:13:49 +00:00
api Block port update from unbound DHCP agent 2019-02-05 15:24:55 +00:00
callbacks Reduce the number of debug traces emitted by registry callbacks 2016-09-07 20:10:16 -07:00
cmd More efficiently clean up OVS ports 2018-01-29 08:15:55 -06:00
common Fixes import_modules_recursively for Windows 2017-08-25 18:05:39 +00:00
core_extensions Adopt neutron-lib plugin directory 2016-11-23 04:45:33 -07:00
db Fix notification about arp entries for dvr routers 2019-02-18 10:22:19 +01:00
debug Change external_network_bridge default to '' 2016-08-02 11:35:47 -07:00
extensions Disallow router interface out of subnet IP range 2018-07-20 21:28:28 +00:00
hacking Merge "Replace assertEqual(None, *) with assertIsNone in tests" 2016-11-22 02:15:19 +00:00
ipam OVO for Ipam(Allocation,Subnet,Pool) 2017-01-19 19:25:01 +00:00
notifiers Turn nova notifier into a proper rate limiter 2017-03-20 20:48:58 +00:00
objects Support protocol numbers in security group API 2018-01-10 09:29:23 +01:00
plugins More accurate agent restart state transfer 2019-05-29 18:55:44 +00:00
quota Stop using legacy facade 2017-01-19 13:02:33 +04:00
scheduler Avoid redundant HA port creation during migration 2017-09-11 19:57:01 +00:00
services Fix meter-label-rule creation 2018-04-16 16:34:22 +00:00
tests Remove recursion from import_modules_recursively 2016-09-30 21:48:50 +00:00
__init__.py Avoid eventlet monkey patching for the tempest plugin 2016-04-29 22:47:24 -05:00
_test_extension_portbindings.py Adopt neutron-lib plugin directory 2016-11-23 04:45:33 -07:00
dummy_plugin.py Adopt neutron-lib plugin directory 2016-11-23 04:45:33 -07:00
extension_stubs.py Use ExtensionDescriptor from neutron-lib 2016-12-02 14:16:06 -05:00
test_auth.py Fix params order in assertEqual 2016-01-13 18:24:04 +05:30
test_context.py Stop using legacy facade 2017-01-19 13:02:33 +04:00
test_manager.py neutron-lib: use CORE from neutron lib constants 2016-12-26 00:56:42 -08:00
test_opts.py Fix the sriov agent config group name 2016-05-05 16:16:08 +08:00
test_policy.py Neutron server was not compatible with member actions 2017-06-19 10:32:48 +02:00
test_service.py Fix that api_workers=0 doesn't spawn any api workers 2016-07-29 05:40:05 -04:00
test_worker.py Move AgentStatusCheckWorker to PeriodicWorker 2016-11-17 15:31:19 -08:00
test_wsgi.py Pass parameters when create eventlet.wsgi server 2018-02-02 19:11:17 +00:00
testlib_api.py Merge "Stop using legacy facade" 2017-01-20 08:23:22 +00:00