37d50923b9
I found that multiple calls to delete_port can pile up on the _recycle_ip operation. This patch simplifies this operation. It reduces the _recycle_ip operation to a single row delete in the ip allocations table and doesn't touch the availability table. To acheive the recycling of ips in a pool, this code runs a more complex operation of rebuilding the availability table when it is exhausted. Only one API process will perform this more expensive operation and others waiting for allocation will immediately benefit. The amortized cost of this operation is much less than the cumulative cost of running the more expensive _recycle_ip operation for every port delete. IP allocation behaves a bit differently with this patch. Instead of giving out the first IP available in a pool, the entire pool will be allocated before wrapping around and recycling ip addresses that have been released. This is a desirable feature as it puts ip addresses in a sort of quarantine after they are released. It is easier to distinguish newly allocated ips from old ones. Change-Id: Ia55b66128de9986e075b0f87acc401d211cd91d3 Closes-Bug: #1252506 Closes-Bug: #1257815 |
||
---|---|---|
bin | ||
doc | ||
etc | ||
neutron | ||
quantum | ||
tools | ||
.coveragerc | ||
.gitignore | ||
.gitreview | ||
.mailmap | ||
.pylintrc | ||
.testr.conf | ||
babel.cfg | ||
HACKING.rst | ||
LICENSE | ||
MANIFEST.in | ||
openstack-common.conf | ||
README.rst | ||
requirements.txt | ||
run_tests.sh | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
TESTING | ||
tox.ini |
# -- Welcome!
You have come across a cloud computing network fabric controller. It has identified itself as "Neutron." It aims to tame your (cloud) networking!
# -- External Resources:
The homepage for Neutron is: http://launchpad.net/neutron . Use this site for asking for help, and filing bugs. Code is available on github at <http://github.com/openstack/neutron>.
The latest and most in-depth documentation on how to use Neutron is available at: <http://docs.openstack.org>. This includes:
Neutron Administrator Guide http://docs.openstack.org/trunk/openstack-network/admin/content/
Neutron API Reference: http://docs.openstack.org/api/openstack-network/2.0/content/
The start of some developer documentation is available at: http://wiki.openstack.org/NeutronDevelopment
For help using or hacking on Neutron, you can send mail to <mailto:openstack-dev@lists.openstack.org>.