def unblock_list(blocked_ips_list, to_block_list):
    """ This function creates list of IPs that are present in the firewall block list, but not in
        the list of new blockings which will be sent to the firewall.

    :param blocked_ips_list: List of blocked IPs.
    :param to_block_list: List of new blockings.
    :return: List of IPs to be unblocked.
    """
    to_be_unblocked_list = []
    for blocked in blocked_ips_list:
        found_ip = False
        blocked_ip = blocked['ip']
        for host in to_block_list:
            if host['host']['ip_address'] == blocked_ip:
                found_ip = True
        # if the blocked_ip was not found in list of blockings, unblock it
        if not found_ip:
            to_be_unblocked_list.append(blocked_ip)
    return to_be_unblocked_list