neutron/neutron
venkata anil 87d12c9a0f item allocator should return same value for same key
When ItemAllocator.allocate called with same key again,
it is returning different value.
To fix this, we check if a value for key already exists in
self.allocations, and return that value if already exists.

Closes-bug: #1533216
Change-Id: I1f6191b07d33a1f542de18a942cefaf7ecb6c143
(cherry picked from commit 334dae0190)
2016-06-06 21:23:16 +00:00
..
agent item allocator should return same value for same key 2016-06-06 21:23:16 +00:00
api Make deepcopy of update body in API layer 2016-05-30 04:13:33 +00:00
callbacks Clear DVR MAC on last agent deletion from host 2016-04-30 02:58:44 -07:00
cmd Fix sanity check --no* BoolOpts 2016-02-25 15:30:30 +00:00
common Add exponential back-off RPC client 2016-05-06 19:02:08 -07:00
core_extensions Forbid attaching rules if policy isn't accessible 2015-08-12 09:52:33 +00:00
db Merge "Enforce UUID of port/subnet ID for router interfaces" into stable/liberty 2016-05-24 03:07:30 +00:00
debug Deprecate external_network_bridge option in L3 agent 2015-09-01 20:41:54 -07:00
extensions Merge "port security: gracefully handle resources with no bindings" into stable/liberty 2016-05-18 00:36:07 +00:00
hacking Restructure agent code in preparation for decomp 2015-06-26 15:06:49 +00:00
ipam Use correct session in update_allocation_pools 2016-05-12 01:03:21 -07:00
locale Imported Translations from Zanata 2016-01-16 06:27:41 +00:00
notifiers Add option for nova endpoint type 2016-03-23 09:35:13 +00:00
objects No network devices on network attached qos policies 2015-09-16 15:11:04 +02:00
openstack Switch to the oslo_utils.fileutils 2015-07-15 08:09:26 +03:00
pecan_wsgi Fix the bug of "Spelling error of a word" 2015-10-16 11:40:21 +00:00
plugins Merge "Add network_update RPC into SR-IOV agent" into stable/liberty 2016-05-20 01:12:12 +00:00
quota Merge "ML2: Add tests to validate quota usage tracking" into stable/liberty 2016-01-05 02:51:10 +00:00
scheduler Don't call add_ha_port inside a transaction 2016-01-13 21:08:22 +00:00
server Merge "Introduce a separate RPC server" into feature/pecan 2015-09-18 16:58:54 +00:00
services Consume service plugins queues in RPC workers. 2016-04-18 16:54:53 +02:00
tests item allocator should return same value for same key 2016-06-06 21:23:16 +00:00
__init__.py Allow users to run 'tox -epy34' 2015-05-11 16:09:51 +02:00
auth.py Migrate to oslo.log 2015-03-12 11:22:56 +01:00
context.py Add DB support for resource usage tracking 2015-07-26 15:26:10 -07:00
i18n.py
manager.py Mock oslo policy HTTPCheck instead of urllib 2015-10-13 17:26:23 +02:00
neutron_plugin_base_v2.py Add support for PluginWorker and Process creation notification 2015-09-03 06:40:50 +00:00
policy.py RBAC: Fix port query and deletion for network owner 2016-05-13 21:09:19 +00:00
service.py Consume service plugins queues in RPC workers. 2016-04-18 16:54:53 +02:00
version.py
worker.py Add support for PluginWorker and Process creation notification 2015-09-03 06:40:50 +00:00
wsgi.py Add support for PluginWorker and Process creation notification 2015-09-03 06:40:50 +00:00