neutron/neutron/agent
yangjianfeng 99f4495c94 Improve port dhcp Provisioning
Currently, the dhcp Provisioning of ports is the crucial bottleneck
of that concurrently boot multiple VM.

The root cause is that these ports will be processed one by one by dhcp
agent when they belong to the same network, And the 'Provisioning complete'
port is still blocked other port's processing in other dhcp agents. The
patch aim to optimize the dispatch strategy of the port cast to agent to
improve the Provisioning process.

In server side, I classify messages to multi levels. Especially, I classify
the port_update_end or port_create_end message to two levels, the high-level
message only cast to one agent, the low-level message cast to all agent. In
agent side I put these messages to `resource_processing_queue`, with the queue,
We can delete `_net_lock` and process these messages in order of priority.

Additonally, I modified the `resource_processing_queue` for my demand. I update
`_queue` from LIST to PriorityQueue in `ExclusiveResourceProcessor`, by this
way, we can sort all message which cached in `ExclusiveResourceProcessor` by
priority.

Related-Bug: #1760047
Change-Id: I255caa0571c42fb012fe882259ef181070beccef
2019-01-28 07:26:45 +00:00
..
common Improve port dhcp Provisioning 2019-01-28 07:26:45 +00:00
dhcp Improve port dhcp Provisioning 2019-01-28 07:26:45 +00:00
l2 Clear residual qos rules after l2-agent restarts. 2019-01-18 02:24:56 +00:00
l3 Change DVR to use ip_lib.add_ip_address() directly 2019-01-24 23:58:33 +08:00
linux Add IPWrapper.get_devices_info using PyRoute2 2019-01-25 17:50:24 +00:00
metadata Use status_code instead of status in requests 2019-01-18 07:02:51 +00:00
ovsdb Add debug information in BridgeCreateEvent 2018-12-06 10:08:51 +00:00
windows Windows OVS: minimize polling 2018-08-14 09:54:07 +03:00
__init__.py Empty files should not contain copyright or license 2014-10-20 00:50:32 +00:00
_topics.py Add binding_deactivate method to Linux bridge agent 2018-07-14 16:46:01 -05:00
agent_extensions_manager.py Make code follow log translation guideline 2017-08-14 02:01:48 +00:00
dhcp_agent.py Enable mutable config in Neutron 2018-03-21 20:35:19 +00:00
firewall.py use EGRESS_DIRECTION and INGRESS_DIRECTION from neutron-lib 2018-02-23 10:36:36 -07:00
l3_agent.py Enable mutable config in Neutron 2018-03-21 20:35:19 +00:00
metadata_agent.py Remove deprecated cache_url 2017-11-10 00:47:19 -05:00
resource_cache.py Fix flake8 N534 untranslated exception message 2018-10-19 15:46:04 -04:00
rpc.py Check if agent can reach neutron server 2018-12-04 12:21:00 +08:00
securitygroups_rpc.py Fix all pep8 E129 errors 2018-05-03 13:44:04 +09:00