neutron/neutron/tests/unit/agent
Kailun Qin 1d98f0a7d4 Event driven periodic resync task for DHCP agents
The DHCP agent will resync its state with Neutron to recover from any
transient notification or RPC errors. Currently, the periodic resync
task waits on a timer to determine whether a re-sync is necessary. The
interval between attempts by default is 5 seconds and can be longer
thru config. This may cause a potentially long delay before an agent
gets new work via an agent_updated RPC call.

The idea of this RFE is to change the timer based periodic resync task
into an event driven one. It also proposes a new DHCP agent config
option "resync_throttle" to ensure the minimum interval taken between
resync state events to avoid too frequent resyncing. In this way, we
could force the agent to act on the resync request immediately therefore
decreasing how much time is needed before DHCP services are available.

Co-authored-by: Allain Legacy <Allain.legacy@windriver.com>

Closes-Bug: #1780370
Change-Id: Ie9d758ba5f750a38dc19ea5ce8b2c6b414f9ef80
2018-10-26 01:24:24 +08:00
..
common Remove deprecated vsctl ovsdb_interface api 2018-10-11 14:59:34 -04:00
dhcp Event driven periodic resync task for DHCP agents 2018-10-26 01:24:24 +08:00
l2 Reduce qos rpc times on the ovs-agent side 2018-08-16 15:59:32 +03:00
l3 Merge "Introduce L3 agent extension for SNAT logging" 2018-10-22 23:16:14 +00:00
linux Merge "Remove deprecated vsctl ovsdb_interface api" 2018-10-13 00:23:38 +00:00
metadata Merge "metadata: use requests for comms with nova api" 2018-08-25 01:46:29 +00:00
ovsdb Merge "Kill _connection_to_manager_uri dummy" 2018-02-22 00:30:24 +00:00
windows Fix neutron-openvswitch-agent Windows support 2018-07-18 14:41:21 +03:00
__init__.py Empty files should not contain copyright or license 2014-10-20 00:50:32 +00:00
test_agent_extensions_manager.py Refactoring config options for l2 agent ext opts 2016-11-21 19:45:04 +00:00
test_resource_cache.py Merge "Fix race condition with enabling SG on many ports at once" 2018-01-27 10:36:37 +00:00
test_rpc.py Integration of Port Binding Level OVO 2018-09-17 07:00:45 +00:00
test_securitygroups_rpc.py Use constant IP_VERSION_4/6 in unit tests 2018-08-27 21:45:39 +00:00