93d9d6bbba
In patch [1] there was introduced simple lock for creation of DVR agent's floating IP gateway ports for network to avoid races and creation of duplicated ports for one agent and one network. This fix from [1] works in simple examples with only one neutron-server, so it helped e.g. in CI but it wasn't proper fix for production deployments which are much bigger and have more neutron server api workers. So this patch introduces constraint on database level so this works even across cluster with multiple neutron-server api workers. [1] https://review.opendev.org/#/c/673331/ Change-Id: Id55b8a21d6ecf5e029d1ca267b2cbd2ed91cca4c Closes-Bug: #1830763 |
||
---|---|---|
.. | ||
db | ||
extensions | ||
logapi | ||
plugins | ||
port | ||
qos | ||
README.rst | ||
__init__.py | ||
address_scope.py | ||
agent.py | ||
auto_allocate.py | ||
base.py | ||
conntrack_helper.py | ||
flavor.py | ||
floatingip.py | ||
ipam.py | ||
l3_hamode.py | ||
l3agent.py | ||
metering.py | ||
network.py | ||
network_segment_range.py | ||
port_forwarding.py | ||
ports.py | ||
provisioning_blocks.py | ||
quota.py | ||
rbac.py | ||
rbac_db.py | ||
router.py | ||
securitygroup.py | ||
servicetype.py | ||
stdattrs.py | ||
subnet.py | ||
subnetpool.py | ||
tag.py | ||
trunk.py |
README.rst
Neutron Objects
Directory
This directory is designed to contain all modules which have objects definitions shipped with core Neutron. The files and directories located inside of this directory should follow the guidelines below.
Structure
The Neutron objects tree should have the following structure:
- The expected directory structure is flat, except for the ML2 plugins. All ML2 plugin objects should fall under the plugins subdirectory (i.e. plugins/ml2/gre_allocation).
- Module names should use singular forms for nouns (network.py, not networks.py).