def get_cluster_matching_cidrs(self, hosts: List[ClusterHost]) -> Set[str]:
    cluster_cidrs = self.get_cluster_cidrs(hosts)
    matching_cidrs = set()
    for cidr in cluster_cidrs:
        for host in hosts:
            interfaces = []
            if self.nodes.is_ipv4:
                interfaces += host.ipv4_addresses()
            if self.nodes.is_ipv6:
                interfaces += host.ipv6_addresses()
            if (not network_utils.any_interface_in_cidr(interfaces, cidr)):
                break
        matching_cidrs.add(cidr)
    return matching_cidrs
def get_cluster_matching_cidrs(self, hosts: List[ClusterHost]) -> Set[str]:
    cluster_cidrs = self.get_cluster_cidrs(hosts)
    matching_cidrs = set()
    for cidr in cluster_cidrs:
        for host in hosts:
            interfaces = []
            if self.nodes.is_ipv4:
                interfaces += host.ipv4_addresses()
            if self.nodes.is_ipv6:
                interfaces += host.ipv6_addresses()
            if (not network_utils.any_interface_in_cidr(interfaces, cidr)):
                break
        matching_cidrs.add(cidr)
    return matching_cidrs