Merge "Don't eagerly load ranges from IPAllocationPool"
This commit is contained in:
commit
ebb3c3f732
@ -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):
|
||||||
|
Loading…
Reference in New Issue
Block a user