2e6f6c9ec30259d03363479e72e36129b08563b1
Use an OVSDB lock to ensure that only one worker tries to create the neutron_pg_drop port group. This also waits pre_fork so that if getting the port group fails, neutron exits instead of continuing on without the port group being created. It was previously possible that a server could create the port group and we wouldn't get the update before trying to create it ourselves and checking for its existence. This also modifies the get_port_group method to use the built-in lookup() which searches by name or uuid and can take advantage of both indexing and newly added ovsdbapp wait for sync functionality. Closes-Bug: #1934930 Change-Id: Id870f746ff8e9741a7c211aebdcf13597d31465b
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%