def METHOD_NAME(ceph_cluster: Ceph, endpoints):
    """Generates the list of endpoints.
    Returns:
         list holding the ip address and port
    """
    LOG.debug("Get endpoints")
    rgw_endpoints = []
    for endpt in endpoints:
        host = []
        if ":" in endpt:
            host.append(endpt.split(":")[0])
            hostname = get_nodes_by_ids(ceph_cluster, host)
            rgw_node_ip = hostname[0].ip_address
            port = endpt.split(":")[1]
        else:
            host.append(endpt)
            hostname = get_nodes_by_ids(ceph_cluster, host)
            rgw_node_ip = hostname[0].ip_address
            port = 80
        endpoint = str(rgw_node_ip) + ":" + str(port)
        rgw_endpoints.append(endpoint)
    return rgw_endpoints