fd8b88ef542197f85e42cfe721d3d5217905acc8
Get FloatingIP object results in a quite heavy DB request. On port delete it's in fact done 2 times: lines 1628 and 1635 in current patch's l3_db.py (please see diff). A simple and quick check at the beginning significantly improves performance for deleting ports not associated with floating IPs, which seems the most common case. Also add the check to _get_floatingips_by_port_id() to improve performance of create and update ports not associated with floating IPs. For associated ports the overhead should be negligible. Change-Id: Iab3e242b297f8484c120c8999155abd908cf6d6e
OpenStack Neutron
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:
- Documentation: https://docs.openstack.org/neutron/latest/
- Features: https://specs.openstack.org/openstack/neutron-specs
- Defects: https://launchpad.net/neutron
- Release notes: https://docs.openstack.org/releasenotes/neutron/index.html
- Source: https://opendev.org/openstack/neutron
Get in touch via email. Use [Neutron] in your subject.
To learn how to contribute, please read the CONTRIBUTING.rst file.
Description
Languages
Python
99.7%
Shell
0.3%