Merge "[OVN] Allow IP allocation with different segments for OVN service ports" into stable/victoria

This commit is contained in:
Zuul 2021-10-13 10:45:49 +00:00 committed by Gerrit Code Review
commit 5c3c81426e
1 changed files with 2 additions and 1 deletions

View File

@ -546,7 +546,8 @@ class IpamPluggableBackend(ipam_backend_mixin.IpamBackendMixin):
p.get(portbindings.HOST_ID), p.get(portbindings.HOST_ID),
p.get('device_owner'), p.get('device_owner'),
fixed_configured, fixed_configured,
p.get('fixed_ips')) p.get('fixed_ips'),
distributed_service=self._is_distributed_service(p))
if subnet['id'] not in [s['id'] for s in subnet_candidates]: if subnet['id'] not in [s['id'] for s in subnet_candidates]:
continue continue