eac107a0d4
In OVO PortForwarding, the synthetic fields 'floating_ip_address' and 'router_id' are retrieved from the floating IP related to this port forwarding. PortForwarding contains, in the db_obj, the floating IP DB object too. Instead of retrieving the OVO FloatingIP for each field, the db_obj is read instead. In a testing environment with 300 port forwarding registers per floating IP, the retrieving time for a list query goes from 35 seconds to less than one second. $ openstack floating ip port forwarding list $fip Change-Id: Ib2361fe4353ca571363e9a363e08537a3402513f Closes-Bug: #1911462 |
||
---|---|---|
.. | ||
db | ||
extensions | ||
logapi | ||
plugins | ||
port | ||
qos | ||
README.rst | ||
__init__.py | ||
address_group.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).