Function to return every subnet a ip can belong to with a longer prefix
    Args:
        ip_net: Unicast or Multicast IP address or subnet in the following format 192.168.1.1, 239.1.1.1
        cidr: CIDR value of 0 to 32

    Returns: returns a list of subnets

def all_subnets_longer_prefix(ip_net, cidr):
    """
    Function to return every subnet a ip can belong to with a longer prefix
    Args:
        ip_net: Unicast or Multicast IP address or subnet in the following format 192.168.1.1, 239.1.1.1
        cidr: CIDR value of 0 to 32

    Returns: returns a list of subnets

    """
    subnets_list = list()
    while int(cidr) <= 32:
        try:
            subnets_list.append('%s/%s' % (whole_subnet_maker(ip_net, cidr), cidr))
        except Exception as e:
            LOGGER.critical('Function all_subnets_longer_prefix {item}'.format(item=e))
            pass
        cidr = str(int(cidr) + 1)
    return subnets_list