Skip to main content

Module host_agent

Module host_agent 

Source
Expand description

The mesh agent actor that manages a host.

Structs§

DrainHost
Drain user procs on this host but keep the host, service proc, and networking alive. Used during mesh stop/shutdown so that forwarder flushes can still reach remote hosts.
GetHostProcStates
Query the state of a proc mesh’s procs, cast to the host agents backing that mesh. The caller casts ONE of these carrying the queried region (the mesh may be sliced, so the region need not be a dense 0..n). The cast reaches every routing host, but each rank’s proc lives on exactly one host, so each HostAgent that owns at least one selected proc reports those procs in a single batch. Hosts that own no selected procs do not reply.
GetLocalProc
Boot the ProcAgent on the host’s local proc (LP-1).
HostAgent
ProcState
SetClientConfig
Push client configuration overrides to this host agent’s process.
ShutdownHost
SpawnProcs
Cast to every HostAgent to spawn a mesh’s per-host proc slots in one message. Identity is positional: each recipient derives its procs’ ids/ranks from its stamped rank plus proc_mesh_id/num_per_host, since a shared cast payload can’t carry a per-host id (unlike CreateOrUpdate).

Enums§

HostAgentMode
Represents the different ways a Host can be managed by an agent.

Constants§

HOST_MESH_AGENT_ACTOR_NAME
Actor name used when spawning the host mesh agent on the system proc.

Traits§

DrainHostClient
The custom client trait for this message type.
DrainHostHandler
The custom handler trait for this message type.
GetLocalProcClient
The custom client trait for this message type.
GetLocalProcHandler
The custom handler trait for this message type.
SetClientConfigClient
The custom client trait for this message type.
SetClientConfigHandler
The custom handler trait for this message type.
ShutdownHostClient
The custom client trait for this message type.
ShutdownHostHandler
The custom handler trait for this message type.
SpawnProcsClient
The custom client trait for this message type.
SpawnProcsHandler
The custom handler trait for this message type.