neutron/neutron/ipam
Nate Johnston bce7b2f538 Add bulk IP address assignment to ipam driver
Create a method for bulk assignment of IP addresses within the ipam
driver, to support bulk creation of ports.

This also changes the logic for how the window of available IP addresses
to assign from is calculated within the neutrondb IPAM driver.  The
Python random module is used to produce a statistically sampled set of
IP addresses out of the set of available IPs; this will facilitate
collission avoidance.  When requesting multiple IP addresses the
selection window sized is increased significantly to ensure a larger
number of available IPs, but caps are placed on the amount to make sure
we do not transgress system limits when building pools of IPv6
addresses.

Change-Id: Iad8088eaa261b07153fa358ae34b9a2442bc2a3e
Implements: blueprint speed-up-neutron-bulk-creation
(cherry picked from commit 06e38be42e)
2020-03-26 12:30:50 +00:00
..
drivers Add bulk IP address assignment to ipam driver 2020-03-26 12:30:50 +00:00
__init__.py Make IPAM more pythonic 2015-07-09 17:33:17 +00:00
driver.py Remove unused variables ‘LOG' 2017-11-23 04:33:33 +08:00
exceptions.py Always pass device_owner to _ipam_get_subnets() 2018-02-12 15:38:24 -05:00
requests.py Add bulk IP address assignment to ipam driver 2020-03-26 12:30:50 +00:00
subnet_alloc.py Fetch specific columns rather than full ORM entities 2018-09-27 16:28:37 +00:00
utils.py Allow first address in an IPv6 subnet as valid unicast 2019-05-24 17:32:08 -04:00