Merge "Set loading strategy to joined for Routerport/Port"
This commit is contained in:
commit
145e0052d6
@ -71,7 +71,8 @@ class RouterPort(model_base.BASEV2):
|
||||
port_type = sa.Column(sa.String(255))
|
||||
port = orm.relationship(
|
||||
models_v2.Port,
|
||||
backref=orm.backref('routerport', uselist=False, cascade="all,delete"))
|
||||
backref=orm.backref('routerport', uselist=False, cascade="all,delete"),
|
||||
lazy='joined')
|
||||
|
||||
|
||||
class Router(model_base.BASEV2, models_v2.HasId, models_v2.HasTenant):
|
||||
|
Loading…
Reference in New Issue
Block a user