]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Fix incorrect passing port dict in pluggable IPAM
authorPavel Bondar <pbondar@infoblox.com>
Fri, 30 Oct 2015 11:59:09 +0000 (14:59 +0300)
committerPavel Bondar <pbondar@infoblox.com>
Mon, 2 Nov 2015 14:16:50 +0000 (17:16 +0300)
commit600a0db48a766437a91b427da8eeb3f066963db2
tree911d54ef5b42eb752d2d309d4c9736bfc6b6d8c3
parent755013615c2dcdea400cbbf2bad50ed2f08feedc
Fix incorrect passing port dict in pluggable IPAM

_ipam_allocate_ips expects to receive port dict as a third argument, but
'changes' were passed instead.

This issue affects only third-party vendors who implement own IPAM
driver with custom AddressRequestFactory and uses port dict in it.

Updated arguments passed to _ipam_allocate_ips to include port dict as a
third argument.

Change-Id: I25eb86f46e5412cfacad9a751a94f7720f1a7bd0
Closes-Bug: #1511707
neutron/db/ipam_pluggable_backend.py
neutron/tests/unit/db/test_ipam_pluggable_backend.py