neutron/neutron/tests/unit
Brian Haley f0606dbb7f Prioritize port create and update ready messages
The DHCP agent prioritizes RPC messages based on the
priority field send from neutron-server, but then groups
them all in the same dhcp_ready_ports set when sending
them back to the server to clear the provisioning block(s).

Priority should be given to new and changed ports, since
those are most likely to be associated with new instances
which can fail to boot if they are not handled quickly when
the agent is very busy, for example, right after it was
restarted.

Conflicts:
    neutron/tests/unit/agent/dhcp/test_agent.py

Change-Id: Ib5074abadd7189bb4bdd5e46c677f1bfb071221e
Closes-bug: #1864675
(cherry picked from commit 113dfac608)
(cherry picked from commit 18c7e3ead7)
2020-05-07 15:11:42 +00:00
..
agent Prioritize port create and update ready messages 2020-05-07 15:11:42 +00:00
api Optimize the code that fixes the race condition of DHCP agent. 2019-06-11 09:44:32 +08:00
cmd More efficiently clean up OVS ports 2018-01-22 14:07:42 -06:00
common Packets getting lost during SNAT with too many connections 2019-06-04 23:23:43 +00:00
conf/agent Agent common config 2017-03-15 09:52:18 -06:00
core_extensions use qos constants from neutron-lib 2017-10-26 19:57:19 +00:00
db Filter by owner SGs when retrieving the SG rules 2020-04-17 11:05:53 +00:00
debug Change ip_lib network namespace code to use pyroute2 2017-10-04 21:09:28 +00:00
extensions fixed_configured=True when Add/Remove port IPs 2019-10-09 09:37:11 +00:00
hacking Use flake8-import-order plugin 2017-07-05 03:15:27 +00:00
ipam Add bulk IP address assignment to ipam driver 2020-03-26 12:31:05 +00:00
notifiers Refactor the L3 agent batch notifier 2020-04-20 11:45:35 +00:00
objects Filter by owner SGs when retrieving the SG rules 2020-04-17 11:05:53 +00:00
plugins Improve VLAN allocations synchronization 2020-04-23 16:15:17 +00:00
privileged Switch create/delete interfaces to pyroute2 2020-04-27 21:41:02 +02:00
quota CountableResource: try count/get functions for all plugins 2017-09-08 10:50:12 -07:00
scheduler Fix sort issue in test_dhcp_agent_scheduler.test_filter_bindings 2019-08-12 08:17:01 +00:00
services Run revision bump operations en masse 2019-11-22 09:32:27 -05:00
tests Increase timeouts for OVSDB in functional tests 2019-09-13 10:57:41 +00:00
__init__.py Don't set use_stderr to False for tests 2017-04-15 01:41:29 +00:00
_test_extension_portbindings.py use plugin constants from neutron-lib 2017-10-16 09:32:20 -06:00
dummy_plugin.py Add unit test to validate non DB base core plugin can be loaded 2017-11-15 21:21:35 +00:00
extension_stubs.py Consume ServicePluginBase from neutron-lib 2017-03-17 12:06:57 -06:00
test_auth.py Use oslo.context class method to construct context object 2017-03-23 09:02:46 +00:00
test_manager.py use plugin constants from neutron-lib 2017-10-16 09:32:20 -06:00
test_neutron_plugin_base_v2.py Add unit test to validate non DB base core plugin can be loaded 2017-11-15 21:21:35 +00:00
test_opts.py
test_policy.py Fix handling of network:shared field in policy module 2019-05-10 17:21:57 +00:00
test_service.py use callback payloads for _SPAWN events 2017-12-21 11:03:36 -07:00
test_worker.py Move AgentStatusCheckWorker to PeriodicWorker 2016-11-17 15:31:19 -08:00
test_wsgi.py [Unit tests] Skip TestWSGIServer with IPv6 if no IPv6 enabled 2019-10-07 23:05:05 +00:00
testlib_api.py API compare-and-swap updates based on revision_number 2017-06-29 22:50:12 +00:00