def block_list(to_block_list, blocked_ips_list):
    """ This function creates list of IPs that are not present in the firewall block-list, but are present
        in the to-block list.

    :param to_block_list: List of IPs to be blocked.
    :param blocked_ips_list: List of blocked IPs.
    :return: List of IPs to be blocked.
    """
    to_be_blocked_list = []
    for host in to_block_list:
        found_ip = False
        host_ip = host['host']['ip_address']
        for blocked in blocked_ips_list:
            if blocked['ip'] == host_ip:
                found_ip = True
        # if we want to block already blocked IP, nothing happens,
        # but if the host IP was not found in blocked IPs, block it
        if not found_ip:
            to_be_blocked_list.append(host_ip)
    return to_be_blocked_list