neutron/neutron
Kevin Benton 255e8a839d Turn nova notifier into a proper rate limiter
This adjusts the batching logic in the Nova notifier to immediately
send and then sleep to allow batching of subsequent calls in the batch
interval.

So rather than always wait for 2 seconds to elapse while batching,
batching will only occur in the 2 second period after a call is made.
This turns the batch notifier into a standard queuing rate limiter.

The upside to this is a single port create results in an immediate
notification to Nova without a delay.

The downside is now that a sudden burst of 6 port creations to a
previously idle server will result in 2 notification calls to Nova
(1 for the first call and another for the other 5).

Closes-Bug: #1564648
Change-Id: I82f403441564955345f47877151e0c457712dd2f
2017-02-03 13:13:45 +00:00
..
agent Merge "Update in-tree code to use new neighbour functions" 2017-02-03 11:09:06 +00:00
api Merge "Remove unused params named "context" in filter_attributes" 2017-01-31 18:16:15 +00:00
callbacks Merge "Routed networks IPv4 inventory in Nova GRP" 2017-01-24 22:37:41 +00:00
cmd OVS: merge the required OpenFlow version rather than replace 2017-01-25 08:57:09 +00:00
common Merge "Fix WaitTimeout string representations" 2017-02-03 12:39:56 +00:00
conf Transition qos notification driver into qos driver 2017-01-25 14:13:36 +01:00
core_extensions Adopt neutron-lib plugin directory 2016-11-23 04:45:33 -07:00
db Merge "Fix port update for service subnets" 2017-02-03 09:24:27 +00:00
debug Replace device owners hard coded strings to neutron_lib constants 2016-07-12 04:11:35 -04:00
extensions Allow all migration of routers 2017-01-24 01:04:14 -05:00
hacking Register sqlalchemy events through hook for UT cleanup 2017-01-20 04:15:01 -08:00
ipam OVO for Ipam(Allocation,Subnet,Pool) 2017-01-19 19:25:01 +00:00
locale Imported Translations from Zanata 2016-08-19 07:27:43 +00:00
notifiers Turn nova notifier into a proper rate limiter 2017-02-03 13:13:45 +00:00
objects Merge "Fixes to allow OVO deserializion of ports/networks" 2017-02-01 09:38:30 +00:00
pecan_wsgi Merge "Pecan: Fix subresource policy check" 2017-01-07 00:40:19 +00:00
plugins Merge "Update in-tree code to use new neighbour functions" 2017-02-03 11:09:06 +00:00
privileged Do not raise an error deleting neighbour entry 2017-01-26 16:22:20 -05:00
quota Register sqlalchemy events through hook for UT cleanup 2017-01-20 04:15:01 -08:00
scheduler Remove deprecated min_l3_agents_per_router 2017-01-16 14:25:22 -05:00
server Revert "Revert "Remove threading before process forking"" 2016-06-02 21:26:08 +00:00
services Merge "Use weakrefs for common_db_mixin callbacks" 2017-01-28 00:24:50 +00:00
tests Turn nova notifier into a proper rate limiter 2017-02-03 13:13:45 +00:00
__init__.py Hacking rule to check i18n usage 2016-03-30 21:28:37 -04:00
_i18n.py Move i18n to _i18n, as per oslo_i18n guidelines 2015-12-01 19:29:10 -07:00
auth.py
context.py Correctly set project_name 2017-01-20 16:11:00 -05:00
manager.py Adopt neutron-lib plugin directory 2016-11-23 04:45:33 -07:00
neutron_plugin_base_v2.py Revert "Revert "Remove threading before process forking"" 2016-06-02 21:26:08 +00:00
opts.py XenAPI: Support daemon mode for rootwrap 2017-01-19 07:33:43 +00:00
policy.py Merge "Use to_policy_values for policy enforcement" 2016-12-02 23:00:00 +00:00
service.py Adopt neutron-lib plugin directory 2016-11-23 04:45:33 -07:00
version.py
worker.py Move AgentStatusCheckWorker to PeriodicWorker 2016-11-17 15:31:19 -08:00
wsgi.py Merge "Use dispose_pool() from oslo.db" 2016-08-26 22:03:41 +00:00