cd53b51732
In conjunction with the prior fix to only get a subset of fields
when needed, this makes the querying of non-rules SG objects
very very fast.
Before the two fixes, if you have about ten security groups with 2000 rules each:
list all: 14s
list all, just 'id' field: 14s
list one: 0.6s
list one, just 'id' field: 0.6s
With just the previous partial fix:
list all: 14s
list all, just 'id' field: 6s
list one: 0.6s
list one, just 'id' field: 0.2s
Now with this change:
list all: 14s
list all, just 'id' field: 0.04s
list one: 0.6s
list one, just 'id' field: 0.03s
Closes-Bug: #1810563
Change-Id: I15df276ba7dbcb3763ab20b63b26cddf2d594954
(cherry picked from commit
|
||
---|---|---|
.. | ||
plugins | ||
README | ||
__init__.py | ||
address_scope.py | ||
agent.py | ||
allowed_address_pair.py | ||
data_plane_status.py | ||
dns.py | ||
dvr.py | ||
external_net.py | ||
flavor.py | ||
l3.py | ||
l3_attrs.py | ||
l3agent.py | ||
l3ha.py | ||
loggingapi.py | ||
metering.py | ||
port_forwarding.py | ||
portbinding.py | ||
provisioning_block.py | ||
securitygroup.py | ||
segment.py | ||
servicetype.py | ||
subnet_service_type.py | ||
tag.py |
README
This directory is designed to contain all SQLAlchemy models shipped with core Neutron. * The expected directory structure is flat, except for the ML2 plugins. All ML2 plugin models should fall under the plugins subdirectory (i.e. plugins/ml2/gre_allocation). * Module names should use singular forms for nouns (port.py, not ports.py).