Module node

Module node 

Source
Expand description

HSM node queries, registration, and deletion, with rollback on partial failure.

add_node performs three independent backend writes (post_nodes, optional post_inventory_hardware, post_member). Every failure after the initial post_nodes triggers a best-effort rollback that deletes the stub component, so a partial create does not leave the operator with an unrecoverable mid-state.

Structs§

GetNodesParams
Typed parameters for fetching node details.

Functions§

add_node
Register a new HSM component, attach an optional hardware inventory file, and add it to the named group.
delete_node
Remove the HSM component with id id (typically an xname).
get_nodes
Fetch HSM node details for the targets named by params.host_expression.