4ac33d1a9b
Add validator to update_floatingip_port_forwarding so codepath does not attempt performing invalid database operation. With that, operation fails right away, with a hint on the offending argument(s). This is a backport that combines changes from 2 changes that go together: https://review.opendev.org/#/c/738145/ https://review.opendev.org/#/c/744993/ Note: pep8 failed with following error: ./neutron/tests/unit/services/portforwarding/test_pf_plugin.py:237:9: ./neutron/tests/unit/services/portforwarding/test_pf_plugin.py:261:9: N322 Possible use of no-op mock method. please use assert_called_once_with. mock_pf_get_objects.assert_called_once() ^ So additional changes were needed for backport. Change-Id: I8284b22c5d691bfd9eadeb8590c3d4b27d261b04 Closes-Bug: #1878299 (cherry picked from commit |
||
---|---|---|
api-ref | ||
bin | ||
devstack | ||
doc | ||
etc | ||
neutron | ||
playbooks/legacy | ||
rally-jobs | ||
releasenotes | ||
tools | ||
.coveragerc | ||
.gitignore | ||
.gitreview | ||
.mailmap | ||
.pylintrc | ||
.stestr.conf | ||
.zuul.yaml | ||
CONTRIBUTING.rst | ||
HACKING.rst | ||
LICENSE | ||
README.rst | ||
TESTING.rst | ||
babel.cfg | ||
bindep.txt | ||
lower-constraints.txt | ||
requirements.txt | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
tox.ini |
README.rst
Team and repository tags
Welcome!
To learn more about neutron:
- Documentation: https://docs.openstack.org
- Features: https://specs.openstack.org/openstack/neutron-specs
- Defects: https://launchpad.net/neutron
- Release notes: https://docs.openstack.org/releasenotes/neutron/index.html
Get in touch via email. Use [Neutron] in your subject.
To learn how to contribute:
CONTRIBUTING.rst