neutron/neutron
venkata anil 334dae0190 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
2016-01-28 08:40:45 +00:00
..
agent item allocator should return same value for same key 2016-01-28 08:40:45 +00:00
api Merge "Decorate methods in ExtensionDescriptor with abstractmethod" 2016-01-27 12:44:20 +00:00
callbacks Add L3 Notifications To Enable BGP Dynamic Routing 2016-01-20 16:37:49 +00:00
cmd Make neutron pecan server an option instead of binary 2016-01-14 18:25:13 -08:00
common Merge "Fix module's import order" 2016-01-23 07:46:22 +00:00
core_extensions Forbid attaching rules if policy isn't accessible 2015-08-12 09:52:33 +00:00
db Merge "DVR: Add action specific functions for arp_entry_update" 2016-01-27 07:34:24 +00:00
debug Make neutron-debug command follow cliff command convention 2016-01-09 03:38:19 +09:00
extensions Merge "Fix module's import order" 2016-01-23 07:46:22 +00:00
hacking Unify using assertIsInstance 2016-01-15 00:06:03 +08:00
ipam Fix module's import order 2016-01-22 06:38:42 -08:00
locale Imported Translations from Zanata 2016-01-19 06:21:49 +00:00
notifiers Add option for nova endpoint type 2015-12-10 08:40:36 +00:00
objects db_api: handle db objects that don't have 'id' as primary key 2016-01-21 19:23:14 +00:00
openstack Fix module's import order 2016-01-22 06:38:42 -08:00
pecan_wsgi Pecan: remove deprecated warning 2016-01-22 18:23:20 -08:00
plugins Merge "sriov-mech: Introduce a new VIF type for PF vnic type" 2016-01-27 18:46:26 +00:00
quota ML2: Add tests to validate quota usage tracking 2015-12-09 15:17:23 -08:00
scheduler Don't call add_ha_port inside a transaction 2015-12-24 09:55:06 -08:00
server Fix module's import order 2016-01-22 06:38:42 -08:00
services External DNS driver reference implementation 2016-01-21 21:55:08 +00:00
tests item allocator should return same value for same key 2016-01-28 08:40:45 +00:00
__init__.py Deprecate _ builtin translation function 2015-12-06 19:39:20 +09:00
_i18n.py Move i18n to _i18n, as per oslo_i18n guidelines 2015-12-01 19:29:10 -07:00
auth.py Consume ConfigurableMiddleware from oslo_middleware 2015-10-08 17:59:43 +00:00
context.py Trival: Remove unused logging import 2015-12-26 12:49:56 +08:00
i18n.py Move i18n to _i18n, as per oslo_i18n guidelines 2015-12-01 19:29:10 -07:00
manager.py Pecan controller loads service plugins 2016-01-12 12:28:54 -08:00
neutron_plugin_base_v2.py Fix module's import order 2016-01-22 06:38:42 -08:00
opts.py Register RA and PD config options in l3-agent 2016-01-12 21:03:54 -05:00
policy.py Use _ from neutron._i18n 2015-12-06 19:39:04 +09:00
service.py Use _ from neutron._i18n 2015-12-06 19:39:04 +09:00
version.py
worker.py Some minor misspellings in comment block. 2015-11-24 00:01:21 -06:00
wsgi.py Use _ from neutron._i18n 2015-12-06 19:39:04 +09:00