OpenStack Networking (Neutron)
Go to file
Salvatore Orlando 9808cac073 Fix IP recycling on exhausted pool
When recycling an IP, allocation pools are loaded with an inner
join with ip avaiblity ranges. However, if the pool is exhausted,
there will be no availability ranges and the query will return
no results because of the inner join. It will therefore be
impossible to reuse IP addresses once the pool has been exhausted.

This patch tries to reload allocation pools without joining on
IP avaiability ranges if the first query did not return any result.
Replacing an inner join with an outer join will not be possible
as postgresql backend does not support 'SELECT ... FOR UPDATE' with
outer joins (for more info see bug 1215350).

The patch also contains unit tests for verifying IP are recycled
correctly even when the pool is exhausted.

Bug 1240353

Change-Id: I87f274bd759cb47be77717f0760d3704f9f34ade
(cherry picked from commit 72af3cef2a)
2013-10-16 10:40:03 -04:00
bin Use built-in print() instead of print statement 2013-09-21 07:30:33 -07:00
contrib Update tox.ini to support RHEL 6.x. 2013-03-08 08:52:25 -05:00
doc Update references with new Mailing List location 2013-07-28 11:35:32 -07:00
etc Change rpc_support_old_agents default to False 2013-10-09 23:52:30 -04:00
neutron Fix IP recycling on exhausted pool 2013-10-16 10:40:03 -04:00
quantum Re-assign quantum.api module as last operation 2013-07-15 22:51:28 +02:00
tools Use built-in print() instead of print statement 2013-09-21 07:30:33 -07:00
.coveragerc fix some missing change from quantum to neutron 2013-07-08 12:11:04 +08:00
.gitignore Ignore pbr*.egg directory 2013-08-09 06:06:07 +08:00
.gitreview Rename quantum to neutron in .gitreview. 2013-07-06 12:25:09 -04:00
.mailmap fix conversion type missing 2013-09-06 02:16:13 +08:00
.pylintrc Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
.testr.conf Default to not capturing log output in tests 2013-09-03 17:32:32 +00:00
HACKING.rst Fix wrong example in HACKING.rst 2013-08-18 14:26:36 +08:00
LICENSE Adding Apache Version 2.0 license file. This is the official license agreement under which Quantum code is available to 2011-08-08 12:31:04 -07:00
MANIFEST.in Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
README.rst Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
TESTING Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
babel.cfg Use babel to generate translation file 2013-01-24 00:20:32 +08:00
openstack-common.conf Remove openstack.common.exception usage 2013-08-06 10:42:02 +02:00
requirements.txt Updated from global requirements 2013-10-01 16:13:29 +00:00
run_tests.sh Don't need to init testr in run_tests.sh 2013-09-12 01:04:09 +08:00
setup.cfg Add l2 population base classes 2013-09-12 01:06:51 +02:00
setup.py Updated from global requirements 2013-10-01 16:13:29 +00:00
test-requirements.txt Updated from global requirements 2013-10-01 16:13:29 +00:00
tox.ini Fix H102, H103 Apache 2.0 license hacking check error 2013-08-08 12:46:18 +09:00

README.rst

# -- 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>.