From 1505e6074453f63208225c820a058d85d291dbae Mon Sep 17 00:00:00 2001 From: Miguel Caballer Date: Tue, 28 May 2024 15:55:36 +0200 Subject: [PATCH] Fix ipv6 management in ost --- IM/connectors/OpenStack.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/IM/connectors/OpenStack.py b/IM/connectors/OpenStack.py index c015acda..67982cfe 100644 --- a/IM/connectors/OpenStack.py +++ b/IM/connectors/OpenStack.py @@ -730,7 +730,7 @@ def setIPsFromInstance(self, vm, node): if IPAddress(ip).version == 4: is_private = any([IPAddress(ip) in IPNetwork(mask) for mask in Config.PRIVATE_NET_MASKS]) else: - is_private = IPAddress(ip).is_private() + is_private = IPAddress(ip).is_ipv6_unique_local() if 'OS-EXT-IPS:type' in ipo and ipo['OS-EXT-IPS:type'] == 'floating': ip_net_map[ip] = (None, not is_private)