cc3dc7c850
This method, when called from outside an active session, must create a new one, given the context. This patch also changes the L3HARouterAgentPortBinding.port and L3HARouterAgentPortBinding.agent relationships to be "joined". That will retrieve the port and the agent DB registers in the main query and the returned object won't need to make subqueries to retrieve them. The SQL query looks like http://paste.openstack.org/show/806275/. Change-Id: I7870b869a755054ef1989f86ebdd3470ec5cf435 Closes-Bug: #1930397 |
||
---|---|---|
.. | ||
plugins | ||
README | ||
__init__.py | ||
address_group.py | ||
address_scope.py | ||
agent.py | ||
allowed_address_pair.py | ||
conntrack_helper.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 | ||
network_segment_range.py | ||
ovn.py | ||
port_device_profile.py | ||
port_forwarding.py | ||
port_numa_affinity_policy.py | ||
portbinding.py | ||
provisioning_block.py | ||
securitygroup.py | ||
segment.py | ||
servicetype.py | ||
subnet_service_type.py | ||
tag.py | ||
uplink_status_propagation.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).