Merge "Change to use selectin for RBACs in SubnetPool DB load strategy"

This commit is contained in:
Zuul 2024-07-05 20:27:13 +00:00 committed by Gerrit Code Review
commit 568c78dcf7

View File

@ -302,7 +302,7 @@ class SubnetPool(standard_attr.HasStandardAttributes, model_base.BASEV2,
lazy='selectin')
rbac_entries = sa.orm.relationship(rbac_db_models.SubnetPoolRBAC,
backref='subnetpools',
lazy='joined',
lazy='selectin',
cascade='all, delete, delete-orphan')
api_collections = [subnetpool_def.COLLECTION_NAME]
collection_resource_map = {subnetpool_def.COLLECTION_NAME: