8a6521e445
In order to reduce the number of elements retrieved from the DB, this patch, before processing the VLAN allocations per physical network, deleted those registers belonging to any unconfigured physical network. The VLAN registers per physical network are deleted using a bulk delete operation, to speed up the process. Those missing VLAN registers per network are now created using a bulk insert operation, available in the ORM. This bulk operation speeds up the sync process. Conflicts: neutron/plugins/ml2/drivers/type_vlan.py Change-Id: I8568e2277e157754aaff87a059a40e34e6a43e2b Partial-Bug: #1862178 (cherry picked from commit |
||
---|---|---|
.. | ||
db | ||
extensions | ||
logapi | ||
plugins | ||
port | ||
qos | ||
README.rst | ||
__init__.py | ||
address_scope.py | ||
agent.py | ||
auto_allocate.py | ||
base.py | ||
common_types.py | ||
flavor.py | ||
floatingip.py | ||
ipam.py | ||
l3_hamode.py | ||
l3agent.py | ||
metering.py | ||
network.py | ||
port_forwarding.py | ||
ports.py | ||
provisioning_blocks.py | ||
quota.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).