Merge "Don't eagerly load ranges from IPAllocationPool"

This commit is contained in:
Jenkins 2015-03-27 17:24:25 +00:00 committed by Gerrit Code Review
commit ebb3c3f732

View File

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