ST2110NicStageEvent type
NIC bring-up lifecycle stage. The sequence is:
"initialising" — supervisor’s gen_server is up; pre-flight checks passed; heavy work queued via self-message "loadingHost" — spawning the isox plugin host OS process "waitingMtl" — MTL_Init / DPDK / NIC ramp running inside the host; awaiting completion "ready" — MTL up and accepting per-session create calls; the legacy mtl_ready event also fires on this edge "failed" — any phase rejected; reason carries the message "dhcpTimedOut" — MTL is up but at least one DHCP-configured port didn’t acquire a lease within the server-side timeout. Non-terminal — polling continues, and a later lease transitions back to "ready". The reason field carries the port number and a human-readable remediation hint.
Signature:
export type ST2110NicStageEvent = {
state: "initialising";
} | {
state: "loadingHost";
} | {
state: "waitingMtl";
} | {
state: "ready";
} | {
state: "failed";
reason: string;
} | {
state: "dhcpTimedOut";
reason: string;
};