Merge "Don't eagerly load ranges from IPAllocationPool" into stable/juno

This commit is contained in:
Jenkins 2015-03-29 06:10:24 +00:00 committed by Gerrit Code Review
commit 28ac255935
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@ class IPAllocationPool(model_base.BASEV2, HasId):
last_ip = sa.Column(sa.String(64), nullable=False)
available_ranges = orm.relationship(IPAvailabilityRange,
backref='ipallocationpool',
lazy="joined",
lazy="select",
cascade='all, delete-orphan')
def __repr__(self):