From 5156364b68d1dbf3eec49ad4ee0dfd8a0a4703f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Harald=20Jens=C3=A5s?= Date: Wed, 29 Sep 2021 13:26:36 +0200 Subject: [PATCH] [OVN] Allow IP allocation with different segments for OVN service ports Allow IP allocation with different segments also for IPv6 auto allocation for OVN service ports. See change: Ib51cde89ed873f48db4daebc27a0980da9cc0f19 Change-Id: Ic6db2f66be596756b1fed9ffeffc7b049f6e957f Closes-Bug: #1944948 (cherry picked from commit 84b6db3b0528a39450f48297d289cd9c618e3beb) --- neutron/db/ipam_pluggable_backend.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/neutron/db/ipam_pluggable_backend.py b/neutron/db/ipam_pluggable_backend.py index 0dc800c122b..ab188465008 100644 --- a/neutron/db/ipam_pluggable_backend.py +++ b/neutron/db/ipam_pluggable_backend.py @@ -545,7 +545,8 @@ class IpamPluggableBackend(ipam_backend_mixin.IpamBackendMixin): p.get(portbindings.HOST_ID), p.get('device_owner'), 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]: continue