06e38be42e
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 |
||
---|---|---|
.. | ||
neutrondb_ipam | ||
__init__.py |