OpenStack Networking (Neutron)
Go to file
Fernando Royo 74618128bc Dont raise RouterInterfaceNotFound on overlap check router ports
A corner case of the fix done in [1] could happend if, as a race
scenario, parallel requests evaluate other ports that could be deleted
during the process if they had already determined a overlapping, in that
case a RouterInterfaceNotFound exception was raised and the request
finished with that exception and a 404 status code.

This patch removes the exception due to a port not found, because if the
port is not found, the related subnet should not participate in the
overlap evaluation, so it makes no sense to break the process for a port
that no longer exists. It also improves the previous validation to
perform the overlapping check, being performed only when we have
at least more than one subnet, as the overlapping check with only one
subnet did not make sense.

Closes-Bug: #1998226

[1] https://review.opendev.org/c/openstack/neutron/+/859143

Change-Id: If4afe6f525c46f9cf7f02d8aae27dfc56144fd62
(cherry picked from commit 92efd8e45b)
2022-12-07 10:19:14 +01:00
api-ref Fix some typos 2016-06-28 22:46:19 +02:00
devstack Add devstack plugin to enable ovs distributed dhcp service 2021-08-04 16:51:08 +02:00
doc Merge "Update the Ethernet card information" into stable/xena 2022-12-02 13:13:14 +00:00
etc Include oslo.cache options in neutron.conf 2021-08-23 11:54:12 +09:00
neutron Dont raise RouterInterfaceNotFound on overlap check router ports 2022-12-07 10:19:14 +01:00
playbooks Run configure_for_func_testing script after enable fips 2022-03-16 10:01:36 +00:00
rally-jobs [ci] Fix several rally task arguments 2020-05-06 14:56:27 +03:00
releasenotes [OVN] Set the default OVN metadata worker number to 0 2022-10-26 14:35:53 +00:00
roles Add functional and fullstack jobs with FIPS enabled 2022-02-24 13:39:44 +00:00
tools Migration revert plan 2022-09-28 09:50:21 +02:00
vagrant/ovn Fix local neutron folder path in ovn/sparse/Vagrantfile 2020-11-03 17:02:34 +01:00
zuul.d Increase the timeout for arm64 jobs 2022-12-06 17:35:41 +05:30
.coveragerc Cleanup coverage configuration 2016-10-17 17:06:19 +05:30
.gitignore Add etc/neutron/*.sample files to be ignored by git 2019-12-12 12:38:24 +01:00
.gitreview Update .gitreview for stable/xena 2021-09-15 17:39:08 +00:00
.mailmap Add mailmap entry 2014-05-16 13:40:04 -04:00
.pylintrc Remove "six" library 2020-07-28 16:55:52 +00:00
.stestr.conf Fix post gate hook to accommodate for new os-testr 2017-09-12 14:20:12 -06:00
CONTRIBUTING.rst [Community goal] Add contributor and PTL guide 2020-03-03 04:43:26 +01:00
HACKING.rst Follow up for replacing assertItemsEqual 2021-06-03 16:04:07 +00: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
README.rst Start README.rst with a better title 2019-11-19 17:42:57 +01:00
TESTING.rst Lower-constraints removal follow up 2021-09-24 15:19:31 +02:00
bindep.txt Use python3-devel in bindep for rpm distros 2022-03-28 09:51:07 +00:00
plugin.spec Add OVN migration OSP 16.2 option 2021-01-24 17:18:55 +02:00
requirements.txt [OVN] Sync QoS policies 2022-06-29 14:50:45 +00:00
setup.cfg Script to remove duplicated port bindings 2022-09-30 00:24:55 +02:00
setup.py Updated from global requirements 2017-03-04 11:19:58 +00:00
test-requirements.txt Follow-up: Move linters dependencies to tox.ini 2021-01-07 04:26:07 +09:00
tox.ini Test: mock out _check_netfilter_for_bridges in unit tests 2022-07-27 07:02:51 +00:00

README.rst

OpenStack Neutron

image

Neutron is an OpenStack project to provide "network connectivity as a service" between interface devices (e.g., vNICs) managed by other OpenStack services (e.g., Nova).

To learn more about neutron:

Get in touch via email. Use [Neutron] in your subject.

To learn how to contribute, please read the CONTRIBUTING.rst file.