Merge "Join on explcit relationship paths"

This commit is contained in:
Zuul 2019-04-05 04:13:38 +00:00 committed by Gerrit Code Review
commit 5f08948947

View File

@ -3144,7 +3144,7 @@ class L3NatTestCaseBase(L3NatTestCaseMixin):
l3_models.RouterPort.router_id,
models_v2.IPAllocation.ip_address
).join(
models_v2.Port, models_v2.IPAllocation
l3_models.RouterPort.port, models_v2.Port.fixed_ips
).filter(
models_v2.Port.network_id == internal_port['network_id'],
l3_models.RouterPort.port_type.in_(