ORE Studio 0.0.4
Loading...
Searching...
No Matches
Public Attributes | List of all members
host Struct Referencefinal

A registered compute node in the distributed grid. More...

#include <host.hpp>

Collaboration diagram for host:
Collaboration graph

Public Attributes

int version = 0
 Version number for optimistic locking and change tracking.
 
utility::uuid::tenant_id tenant_id = utility::uuid::tenant_id::system()
 Tenant identifier for multi-tenancy isolation.
 
boost::uuids::uuid id
 UUID primary key for the host.
 
std::string external_id
 User-defined name or hostname for the node.
 
std::string display_name
 Whimsical adjective+animal display name assigned on first registration. Display-only; never used as a key.
 
std::string location
 Physical site or region identifier.
 
int cpu_count
 Total logical CPU cores available.
 
std::int64_t ram_mb
 Total system memory in megabytes.
 
std::string gpu_type
 GPU model identifier, e.g. 'A100' or NULL if no GPU.
 
std::chrono::system_clock::time_point last_rpc_time
 Timestamp of the last heartbeat received from this node.
 
double credit_total
 Accumulated work units successfully processed by this host.
 
std::string modified_by
 Username of the person who last modified this compute host.
 
std::string performed_by
 Username of the account that performed this action.
 
std::string change_reason_code
 Code identifying the reason for the change.
 
std::string change_commentary
 Free-text commentary explaining the change.
 
std::chrono::system_clock::time_point recorded_at
 Timestamp when this version of the record was recorded.
 

Detailed Description

A registered compute node in the distributed grid.

Represents a physical or virtual machine that participates in the BOINC-inspired compute grid. Tracks hardware capabilities, heartbeat, and accumulated credit.

Member Data Documentation

◆ change_reason_code

std::string change_reason_code

Code identifying the reason for the change.

References change_reasons table (soft FK).