OpenStack Networking (Neutron)
Go to file
Slawek Kaplonski 414bdd4c59 Don't specify exactly IP in portforwarding functional test
In Port Forwarding functional tests, port is created in setUp()
method. This port had specified exactly IP address and subnet to use.
This was proposed in [1] to fix issue when new port created in same
subnet got sometimes IP address outside of subnet range.
Unfortunatelly that fix was not enough and caused other issues
as sometimes this "fixed" IP address used for port might be
used e.g. by router_interface port and that caused sometimes
"409 conflict" response from Neutron sometimes.

This patch adds additional method in
neutron.tests.unit.db.test_db_base_plugin_v2 module to find first
free IP address from given subnet.
This method is now used in port forwarding tests module to choose
IP address for second created port in the subnet so there should be
no conflicts with IP addresses anymore.

[1] https://review.openstack.org/#/c/631815

Change-Id: Iee2f72acf6814a0f8f76d240862429a8b63c3b09
Closes-bug: #1813540
2019-02-04 06:27:21 +01:00
api-ref Fix some typos 2016-06-28 22:46:19 +02:00
bin Use os-xenapi for neutron when XenServer as hypervisor 2017-03-30 18:33:37 +00:00
devstack [L3][QoS] Agent side router gateway IP rate limit 2018-12-01 17:45:47 +08:00
doc Remove extra spaces in admin config files 2019-01-25 17:15:37 -05:00
etc Rename README.policy.json.txt 2019-01-07 12:45:15 -05:00
neutron Don't specify exactly IP in portforwarding functional test 2019-02-04 06:27:21 +01:00
playbooks/legacy Migrate neutron-tempest-linuxbridge job to zuulv3 and python 3 2019-01-17 20:07:33 +00:00
rally-jobs rally-jobs: Set floating network as a parameter 2018-12-17 16:31:10 +02:00
releasenotes Fix port update deferred IP allocation with host_id + new MAC 2019-01-29 22:31:17 +00:00
tools Merge "Remove unnecessary 'set -x' at EOL in genconfig script" 2018-12-15 14:09:19 +00:00
.coveragerc Cleanup coverage configuration 2016-10-17 17:06:19 +05:30
.gitignore doc: Add policy reference 2018-12-20 14:19:40 +09:00
.gitreview Fix .gitreview to not point at a branch 2015-08-17 13:51:51 -06:00
.mailmap Add mailmap entry 2014-05-16 13:40:04 -04:00
.pylintrc Disable some pylint checks 2018-10-03 08:41:56 +00:00
.stestr.conf Fix post gate hook to accommodate for new os-testr 2017-09-12 14:20:12 -06:00
.zuul.yaml Use renamed template 'integrated-gate-py3' 2019-01-25 08:47:34 +00:00
CONTRIBUTING.rst Update link for contribution 2017-08-31 16:44:51 +02:00
HACKING.rst Update the documentation link for doc migration 2017-07-22 18:46:13 +09: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 Update mailinglist from dev to discuss 2018-12-12 12:44:12 +08:00
TESTING.rst doc: Small clearances for fullstack testing 2018-09-05 09:40:07 +02:00
babel.cfg Use babel to generate translation file 2013-01-24 00:20:32 +08:00
bindep.txt Add libffi-dev to bindep.txt 2017-06-13 19:26:49 +00:00
lower-constraints.txt bump neutron-lib to 1.22.0 2019-01-24 14:27:56 +00:00
requirements.txt bump neutron-lib to 1.22.0 2019-01-24 14:27:56 +00:00
setup.cfg Merge "Upgrade check command - add support for 3rd party checks" 2018-12-19 12:50:19 +00:00
setup.py Updated from global requirements 2017-03-04 11:19:58 +00:00
test-requirements.txt Upgrade pylint to a version that works with python3 2018-10-04 18:03:25 +00:00
tox.ini Merge "tox: Hide deprecation warnings from distgit" 2018-12-20 17:03:42 +00:00

README.rst

Team and repository tags

image

Welcome!

To learn more about neutron:

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

To learn how to contribute:

CONTRIBUTING.rst